@dropins/storefront-company-management 1.0.0-beta2 → 1.0.0-beta21

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 (298) hide show
  1. package/api/allowCompanyRegistration/allowCompanyRegistration.d.ts +18 -0
  2. package/api/allowCompanyRegistration/graphql/allowCompanyRegistration.graphql.d.ts +18 -0
  3. package/api/allowCompanyRegistration/index.d.ts +18 -0
  4. package/api/checkCompanyCreditEnabled/checkCompanyCreditEnabled.d.ts +4 -0
  5. package/api/checkCompanyCreditEnabled/graphql/checkCompanyCreditEnabled.graphql.d.ts +18 -0
  6. package/api/checkCompanyCreditEnabled/index.d.ts +18 -0
  7. package/api/companyEnabled/companyEnabled.d.ts +18 -0
  8. package/api/companyEnabled/graphql/companyEnabled.graphql.d.ts +18 -0
  9. package/api/{checkIsCompanyEnabled → companyEnabled}/index.d.ts +1 -1
  10. package/api/companyRoles/createCompanyRole.d.ts +7 -0
  11. package/api/companyRoles/deleteCompanyRole.d.ts +7 -0
  12. package/api/companyRoles/getCompanyAclResources.d.ts +7 -0
  13. package/api/companyRoles/getCompanyRole.d.ts +8 -0
  14. package/api/companyRoles/getCompanyRoles.d.ts +8 -0
  15. package/api/companyRoles/graphql/fragments.d.ts +18 -0
  16. package/api/companyRoles/graphql/index.d.ts +20 -0
  17. package/api/companyRoles/graphql/mutations.d.ts +20 -0
  18. package/api/companyRoles/graphql/queries.d.ts +21 -0
  19. package/api/companyRoles/index.d.ts +27 -0
  20. package/api/companyRoles/isCompanyRoleNameAvailable.d.ts +7 -0
  21. package/api/companyRoles/updateCompanyRole.d.ts +7 -0
  22. package/api/companyRoles/utils.d.ts +11 -0
  23. package/api/createCompany/createCompany.d.ts +39 -0
  24. package/api/createCompany/graphql/createCompany.graphql.d.ts +18 -0
  25. package/api/createCompany/index.d.ts +18 -0
  26. package/api/createCompanyTeam/createCompanyTeam.d.ts +11 -0
  27. package/api/createCompanyTeam/graphql/createCompanyTeam.graphql.d.ts +18 -0
  28. package/api/createCompanyTeam/index.d.ts +18 -0
  29. package/api/createCompanyUser/createCompanyUser.d.ts +9 -0
  30. package/api/createCompanyUser/graphql/createCompanyUser.graphql.d.ts +18 -0
  31. package/api/createCompanyUser/index.d.ts +18 -0
  32. package/api/deleteCompanyTeam/deleteCompanyTeam.d.ts +9 -0
  33. package/api/deleteCompanyTeam/graphql/deleteCompanyTeam.graphql.d.ts +18 -0
  34. package/api/deleteCompanyTeam/index.d.ts +18 -0
  35. package/api/deleteCompanyUser/deleteCompanyUser.d.ts +10 -0
  36. package/api/deleteCompanyUser/graphql/deleteCompanyUser.graphql.d.ts +18 -0
  37. package/api/deleteCompanyUser/index.d.ts +18 -0
  38. package/api/fetchUserPermissions/fetchUserPermissions.d.ts +11 -0
  39. package/api/{getCompany → fetchUserPermissions}/graphql/getCustomerRole.graphql.d.ts +1 -1
  40. package/api/fetchUserPermissions/index.d.ts +18 -0
  41. package/api/getCompany/getCompany.d.ts +9 -3
  42. package/api/getCompanyCredit/getCompanyCredit.d.ts +4 -0
  43. package/api/getCompanyCredit/graphql/getCompanyCredit.graphql.d.ts +18 -0
  44. package/api/getCompanyCredit/index.d.ts +18 -0
  45. package/api/getCompanyCreditHistory/getCompanyCreditHistory.d.ts +5 -0
  46. package/api/getCompanyCreditHistory/graphql/getCompanyCreditHistory.graphql.d.ts +18 -0
  47. package/api/getCompanyCreditHistory/index.d.ts +19 -0
  48. package/api/getCompanyStructure/getCompanyStructure.d.ts +10 -0
  49. package/api/getCompanyStructure/graphql/getCompanyStructure.graphql.d.ts +18 -0
  50. package/api/getCompanyStructure/index.d.ts +18 -0
  51. package/api/getCompanyTeam/getCompanyTeam.d.ts +11 -0
  52. package/api/getCompanyTeam/graphql/getCompanyTeam.graphql.d.ts +18 -0
  53. package/api/getCompanyTeam/index.d.ts +18 -0
  54. package/api/getCompanyUser/getCompanyUser.d.ts +9 -0
  55. package/api/getCompanyUser/graphql/getCompanyUser.graphql.d.ts +18 -0
  56. package/api/getCompanyUser/index.d.ts +18 -0
  57. package/api/getCompanyUsers/getCompanyUsers.d.ts +12 -0
  58. package/api/getCompanyUsers/graphql/companyUsers.graphql.d.ts +18 -0
  59. package/api/getCompanyUsers/index.d.ts +18 -0
  60. package/api/getCustomerCompany/getCustomerCompany.d.ts +12 -0
  61. package/api/getCustomerCompany/graphql/getCustomerCompanyInfo.graphql.d.ts +18 -0
  62. package/api/getCustomerCompany/index.d.ts +18 -0
  63. package/api/getStoreConfig/getStoreConfig.d.ts +6 -0
  64. package/api/getStoreConfig/graphql/getStoreConfig.graphql.d.ts +18 -0
  65. package/api/getStoreConfig/index.d.ts +18 -0
  66. package/api/graphql/buildCompanyQueries.d.ts +9 -0
  67. package/api/index.d.ts +26 -2
  68. package/api/initialize/initialize.d.ts +2 -20
  69. package/api/isCompanyAdmin/graphql/isCompanyAdmin.graphql.d.ts +18 -0
  70. package/api/isCompanyAdmin/index.d.ts +18 -0
  71. package/api/isCompanyAdmin/isCompanyAdmin.d.ts +22 -0
  72. package/api/isCompanyUser/graphql/isCompanyUser.graphql.d.ts +18 -0
  73. package/api/isCompanyUser/index.d.ts +18 -0
  74. package/api/isCompanyUser/isCompanyUser.d.ts +22 -0
  75. package/api/isCompanyUserEmailAvailable/graphql/isCompanyUserEmailAvailable.graphql.d.ts +18 -0
  76. package/api/isCompanyUserEmailAvailable/index.d.ts +18 -0
  77. package/api/isCompanyUserEmailAvailable/isCompanyUserEmailAvailable.d.ts +7 -0
  78. package/api/updateCompanyStructure/graphql/updateCompanyStructure.graphql.d.ts +18 -0
  79. package/api/updateCompanyStructure/index.d.ts +18 -0
  80. package/api/updateCompanyStructure/updateCompanyStructure.d.ts +11 -0
  81. package/api/updateCompanyTeam/graphql/updateCompanyTeam.graphql.d.ts +18 -0
  82. package/api/updateCompanyTeam/index.d.ts +18 -0
  83. package/api/updateCompanyTeam/updateCompanyTeam.d.ts +11 -0
  84. package/api/updateCompanyUser/graphql/updateCompanyUser.graphql.d.ts +18 -0
  85. package/api/updateCompanyUser/index.d.ts +18 -0
  86. package/api/updateCompanyUser/updateCompanyUser.d.ts +9 -0
  87. package/api/updateCompanyUserStatus/graphql/updateCompanyUserStatus.graphql.d.ts +18 -0
  88. package/api/updateCompanyUserStatus/index.d.ts +18 -0
  89. package/api/updateCompanyUserStatus/updateCompanyUserStatus.d.ts +11 -0
  90. package/api.js +22 -1
  91. package/api.js.map +1 -1
  92. package/chunks/CompanyLoaders.js +4 -0
  93. package/chunks/CompanyLoaders.js.map +1 -0
  94. package/chunks/CompanyUserForm.js +4 -0
  95. package/chunks/CompanyUserForm.js.map +1 -0
  96. package/chunks/Tree.js +4 -0
  97. package/chunks/Tree.js.map +1 -0
  98. package/chunks/acdl.js +4 -0
  99. package/chunks/acdl.js.map +1 -0
  100. package/chunks/company-permissions.js +4 -0
  101. package/chunks/company-permissions.js.map +1 -0
  102. package/chunks/fetch-error.js +4 -0
  103. package/chunks/fetch-error.js.map +1 -0
  104. package/chunks/fetchUserPermissions.js +34 -0
  105. package/chunks/fetchUserPermissions.js.map +1 -0
  106. package/chunks/getCompanyCreditHistory.js +68 -0
  107. package/chunks/getCompanyCreditHistory.js.map +1 -0
  108. package/chunks/getCustomerCompany.js +26 -0
  109. package/chunks/getCustomerCompany.js.map +1 -0
  110. package/chunks/isCompanyRoleNameAvailable.js +121 -0
  111. package/chunks/isCompanyRoleNameAvailable.js.map +1 -0
  112. package/chunks/isCompanyUser.js +21 -0
  113. package/chunks/isCompanyUser.js.map +1 -0
  114. package/chunks/network-error.js +4 -0
  115. package/chunks/network-error.js.map +1 -0
  116. package/chunks/transform-store-config.js +44 -0
  117. package/chunks/transform-store-config.js.map +1 -0
  118. package/chunks/updateCompany.js +70 -0
  119. package/chunks/updateCompany.js.map +1 -0
  120. package/chunks/updateCompanyTeam.js +42 -0
  121. package/chunks/updateCompanyTeam.js.map +1 -0
  122. package/chunks/updateCompanyUser.js +37 -0
  123. package/chunks/updateCompanyUser.js.map +1 -0
  124. package/chunks/updateCompanyUserStatus.js +39 -0
  125. package/chunks/updateCompanyUserStatus.js.map +1 -0
  126. package/chunks/useCompanyContextListener.js +4 -0
  127. package/chunks/useCompanyContextListener.js.map +1 -0
  128. package/chunks/useCompanyRoles.js +4 -0
  129. package/chunks/useCompanyRoles.js.map +1 -0
  130. package/chunks/useCustomerCompanyInfo.js +4 -0
  131. package/chunks/useCustomerCompanyInfo.js.map +1 -0
  132. package/chunks/useInLineAlert.js +4 -0
  133. package/chunks/useInLineAlert.js.map +1 -0
  134. package/chunks/useUserPermissions.js +4 -0
  135. package/chunks/useUserPermissions.js.map +1 -0
  136. package/chunks/validateCompanyEmail.js +29 -0
  137. package/chunks/validateCompanyEmail.js.map +1 -0
  138. package/components/CompanyCreditDisplay/CompanyCreditDisplay.d.ts +7 -0
  139. package/components/CompanyCreditDisplay/index.d.ts +19 -0
  140. package/components/CompanyCreditHistoryDisplay/CompanyCreditHistoryDisplay.d.ts +15 -0
  141. package/components/CompanyCreditHistoryDisplay/index.d.ts +19 -0
  142. package/components/CompanyLoaders/CompanyLoaders.d.ts +14 -0
  143. package/components/CompanyRegistrationForm/CompanyRegistrationForm.d.ts +13 -0
  144. package/components/CompanyRegistrationForm/Form/Form.d.ts +5 -0
  145. package/components/CompanyRegistrationForm/Form/FormInputs/FormInputs.d.ts +5 -0
  146. package/components/CompanyRegistrationForm/Form/FormInputs/index.d.ts +18 -0
  147. package/components/CompanyRegistrationForm/Form/fieldHandlers.d.ts +26 -0
  148. package/components/CompanyRegistrationForm/Form/fieldValidationRules.d.ts +63 -0
  149. package/components/CompanyRegistrationForm/Form/formValidation.d.ts +17 -0
  150. package/components/CompanyRegistrationForm/Form/getCompanyFieldsConfig.d.ts +13 -0
  151. package/components/CompanyRegistrationForm/Form/index.d.ts +18 -0
  152. package/components/CompanyRegistrationForm/index.d.ts +20 -0
  153. package/components/CompanyRegistrationSuccess/CompanyRegistrationSuccess.d.ts +8 -0
  154. package/components/CompanyRegistrationSuccess/index.d.ts +18 -0
  155. package/components/CompanyStructureCard/CompanyStructureCard.d.ts +12 -0
  156. package/components/CompanyStructureCard/index.d.ts +18 -0
  157. package/components/CompanyStructureEmpty/CompanyStructureEmpty.d.ts +9 -0
  158. package/components/CompanyStructureEmpty/index.d.ts +19 -0
  159. package/components/CompanyTeamForm/CompanyTeamForm.d.ts +17 -0
  160. package/components/CompanyTeamForm/index.d.ts +18 -0
  161. package/components/CompanyUserForm/CompanyUserForm.d.ts +10 -0
  162. package/components/CompanyUserForm/index.d.ts +18 -0
  163. package/components/CompanyUsersFilters/CompanyUsersFilters.d.ts +29 -0
  164. package/components/CompanyUsersFilters/index.d.ts +18 -0
  165. package/components/CompanyUsersManagementModal/CompanyUsersManagementModal.d.ts +18 -0
  166. package/components/CompanyUsersManagementModal/index.d.ts +19 -0
  167. package/components/CustomerCompanyInfoCard/CustomerCompanyInfoCard.d.ts +9 -0
  168. package/components/CustomerCompanyInfoCard/index.d.ts +18 -0
  169. package/components/DeleteRoleModal/DeleteRoleModal.d.ts +9 -0
  170. package/components/DeleteRoleModal/index.d.ts +19 -0
  171. package/components/EditCompanyProfile/CompanyAccountFields.d.ts +1 -2
  172. package/components/EditCompanyProfile/LegalAddressFields.d.ts +1 -1
  173. package/components/EditRoleAndPermission/EditRoleAndPermission.d.ts +24 -0
  174. package/components/EditRoleAndPermission/index.d.ts +19 -0
  175. package/components/RoleAndPermissionTable/RoleAndPermissionTable.d.ts +23 -0
  176. package/components/RoleAndPermissionTable/index.d.ts +19 -0
  177. package/components/Tree/Tree.d.ts +62 -0
  178. package/components/Tree/index.d.ts +18 -0
  179. package/components/index.d.ts +15 -0
  180. package/containers/CompanyCredit/CompanyCredit.d.ts +16 -0
  181. package/containers/CompanyCredit/index.d.ts +19 -0
  182. package/containers/CompanyCredit.d.ts +3 -0
  183. package/containers/CompanyCredit.js +4 -0
  184. package/containers/CompanyCredit.js.map +1 -0
  185. package/containers/CompanyProfile.js +1 -1
  186. package/containers/CompanyProfile.js.map +1 -1
  187. package/containers/CompanyRegistration/CompanyRegistration.d.ts +15 -0
  188. package/containers/CompanyRegistration/index.d.ts +19 -0
  189. package/containers/CompanyRegistration.d.ts +3 -0
  190. package/containers/CompanyRegistration.js +4 -0
  191. package/containers/CompanyRegistration.js.map +1 -0
  192. package/containers/CompanyStructure/CompanyStructure.d.ts +5 -0
  193. package/containers/CompanyStructure/index.d.ts +19 -0
  194. package/containers/CompanyStructure.d.ts +3 -0
  195. package/containers/CompanyStructure.js +4 -0
  196. package/containers/CompanyStructure.js.map +1 -0
  197. package/containers/CompanyUsers/CompanyUsers.d.ts +7 -0
  198. package/containers/CompanyUsers/index.d.ts +19 -0
  199. package/containers/CompanyUsers.d.ts +3 -0
  200. package/containers/CompanyUsers.js +4 -0
  201. package/containers/CompanyUsers.js.map +1 -0
  202. package/containers/CustomerCompanyInfo/CustomerCompanyInfo.d.ts +9 -0
  203. package/containers/CustomerCompanyInfo/index.d.ts +19 -0
  204. package/containers/CustomerCompanyInfo.d.ts +1 -0
  205. package/containers/CustomerCompanyInfo.js +4 -0
  206. package/containers/CustomerCompanyInfo.js.map +1 -0
  207. package/containers/RolesAndPermissions/RolesAndPermissions.d.ts +8 -0
  208. package/containers/RolesAndPermissions/index.d.ts +19 -0
  209. package/containers/RolesAndPermissions.d.ts +3 -0
  210. package/containers/RolesAndPermissions.js +4 -0
  211. package/containers/RolesAndPermissions.js.map +1 -0
  212. package/containers/index.d.ts +7 -0
  213. package/data/models/company-credit-history.d.ts +54 -0
  214. package/data/models/company-credit-info.d.ts +33 -0
  215. package/data/models/company-role.d.ts +48 -0
  216. package/data/models/company-structure.d.ts +26 -0
  217. package/data/models/company-team.d.ts +24 -0
  218. package/data/models/company-user.d.ts +33 -0
  219. package/data/models/company.d.ts +58 -17
  220. package/data/models/customer-company-info.d.ts +23 -0
  221. package/data/models/index.d.ts +7 -0
  222. package/data/transforms/company.d.ts +5 -0
  223. package/data/transforms/index.d.ts +8 -0
  224. package/data/transforms/transform-company-credit-history.d.ts +5 -0
  225. package/data/transforms/transform-company-credit.d.ts +5 -0
  226. package/data/transforms/transform-company-roles.d.ts +15 -0
  227. package/data/transforms/transform-company-structure.d.ts +22 -0
  228. package/data/transforms/transform-company-team.d.ts +10 -0
  229. package/data/transforms/transform-company-user.d.ts +18 -0
  230. package/data/transforms/transform-company.d.ts +5 -1
  231. package/data/transforms/transform-customer-company-info.d.ts +10 -0
  232. package/data/transforms/transform-store-config.d.ts +4 -0
  233. package/hooks/containers/index.d.ts +3 -0
  234. package/hooks/containers/useCompanyCreditHistory.d.ts +32 -0
  235. package/hooks/containers/useCompanyProfile.d.ts +2 -8
  236. package/hooks/containers/useCompanyUsers.d.ts +34 -0
  237. package/hooks/containers/useCustomerCompanyInfo.d.ts +12 -0
  238. package/hooks/index.d.ts +9 -0
  239. package/hooks/useCompanyContextListener.d.ts +62 -0
  240. package/hooks/useCompanyRegistrationForm.d.ts +37 -0
  241. package/hooks/useCompanyRoles.d.ts +28 -0
  242. package/hooks/useCompanyStructureCard.d.ts +36 -0
  243. package/hooks/useCompanyTeamForm.d.ts +30 -0
  244. package/hooks/useCompanyUserForm.d.ts +37 -0
  245. package/hooks/useCountryAndRegionFields.d.ts +20 -0
  246. package/hooks/useModal.d.ts +24 -0
  247. package/hooks/usePermissions.d.ts +31 -0
  248. package/hooks/useUserPermissions.d.ts +26 -0
  249. package/i18n/en_US.json.d.ts +345 -4
  250. package/lib/acdl.d.ts +2 -1
  251. package/lib/company-permissions.d.ts +25 -0
  252. package/lib/encoding.d.ts +43 -0
  253. package/lib/fetch-error.d.ts +6 -1
  254. package/lib/index.d.ts +3 -0
  255. package/lib/network-error.d.ts +4 -0
  256. package/lib/userHelpers.d.ts +47 -0
  257. package/lib/validationFields.d.ts +16 -0
  258. package/package.json +1 -1
  259. package/render.js +12 -2
  260. package/render.js.map +1 -1
  261. package/types/api/{checkIsCompanyEnabled.types.d.ts → checkCompanyCreditEnabled.types.d.ts} +3 -3
  262. package/types/api/companyRoles.types.d.ts +137 -0
  263. package/types/api/companyUsers.types.d.ts +70 -0
  264. package/types/api/createCompanyTeam.types.d.ts +27 -0
  265. package/types/api/createCompanyUser.types.d.ts +31 -0
  266. package/types/api/deleteCompanyTeam.types.d.ts +20 -0
  267. package/types/api/deleteCompanyUser.types.d.ts +28 -0
  268. package/types/api/fetchUserPermissions.types.d.ts +43 -0
  269. package/types/api/getCompany.types.d.ts +1 -1
  270. package/types/api/getCompanyCredit.types.d.ts +40 -0
  271. package/types/api/getCompanyCreditHistory.types.d.ts +61 -0
  272. package/types/api/getCompanyCreditHistoryParams.types.d.ts +53 -0
  273. package/types/api/getCompanyStructure.types.d.ts +33 -0
  274. package/types/api/getCompanyTeam.types.d.ts +20 -0
  275. package/types/api/getCompanyUser.types.d.ts +20 -0
  276. package/types/api/getCustomerCompanyInfo.types.d.ts +40 -0
  277. package/types/api/getStoreConfig.types.d.ts +33 -0
  278. package/types/api/index.d.ts +29 -0
  279. package/types/api/initialize.types.d.ts +21 -0
  280. package/types/api/isCompanyUserEmailAvailable.types.d.ts +20 -0
  281. package/types/api/updateCompany.types.d.ts +1 -1
  282. package/types/api/updateCompanyStructure.types.d.ts +21 -0
  283. package/types/api/updateCompanyTeam.types.d.ts +22 -0
  284. package/types/api/updateCompanyUser.types.d.ts +27 -0
  285. package/types/api/updateCompanyUserStatus.types.d.ts +22 -0
  286. package/types/companyForm.types.d.ts +33 -0
  287. package/types/companyPermission.types.d.ts +33 -0
  288. package/types/companyProfile.types.d.ts +43 -0
  289. package/types/companyStructure.types.d.ts +28 -0
  290. package/types/customerCompanyInfo.types.d.ts +11 -0
  291. package/types/events.d.ts +21 -0
  292. package/types/form.types.d.ts +93 -0
  293. package/types/hook.types.d.ts +18 -0
  294. package/types/index.d.ts +25 -2
  295. package/api/checkIsCompanyEnabled/checkIsCompanyEnabled.d.ts +0 -4
  296. package/api/updateCompany/graphql/updateCompany.graphql.d.ts +0 -2
  297. package/chunks/getCountries.js +0 -135
  298. package/chunks/getCountries.js.map +0 -1
@@ -14,5 +14,5 @@
14
14
  * is strictly forbidden unless prior written permission is obtained
15
15
  * from Adobe.
16
16
  *******************************************************************/
17
- export declare const GET_CUSTOMER_ROLE_PERMISSIONS = "\n query GET_CUSTOMER_ROLE_PERMISSIONS {\n customer {\n role {\n id\n name\n permissions {\n id\n children {\n id\n children {\n id\n children {\n id\n children { id }\n }\n }\n }\n }\n }\n status\n }\n }\n";
17
+ export declare const GET_CUSTOMER_ROLE_PERMISSIONS = "\n query GET_CUSTOMER_ROLE_PERMISSIONS {\n customer {\n role {\n id\n name\n permissions {\n id\n text\n children {\n id\n text\n children {\n id\n text\n children {\n id\n text\n children { \n id \n text \n }\n }\n }\n }\n }\n }\n status\n }\n }\n";
18
18
  //# sourceMappingURL=getCustomerRole.graphql.d.ts.map
@@ -0,0 +1,18 @@
1
+ /********************************************************************
2
+ * ADOBE CONFIDENTIAL
3
+ * __________________
4
+ *
5
+ * Copyright 2025 Adobe
6
+ * All Rights Reserved.
7
+ *
8
+ * NOTICE: All information contained herein is, and remains
9
+ * the property of Adobe and its suppliers, if any. The intellectual
10
+ * and technical concepts contained herein are proprietary to Adobe
11
+ * and its suppliers and are protected by all applicable intellectual
12
+ * property laws, including trade secret and copyright laws.
13
+ * Dissemination of this information or reproduction of this material
14
+ * is strictly forbidden unless prior written permission is obtained
15
+ * from Adobe.
16
+ *******************************************************************/
17
+ export { fetchUserPermissions } from './fetchUserPermissions';
18
+ //# sourceMappingURL=index.d.ts.map
@@ -1,5 +1,11 @@
1
- import { CompanyModel } from '../../data/models/company';
1
+ import { CompanyModel } from '../../data/models';
2
2
 
3
- export declare const resetCompanyCache: () => void;
4
- export declare const getCompany: (useCache?: boolean) => Promise<CompanyModel | null>;
3
+ /**
4
+ * Retrieves company information with permissions-aware field selection
5
+ * Only returns fields that the current user has permission to view
6
+ *
7
+ * @returns Promise resolving to CompanyModel or null if no company data available
8
+ * @throws {Error} When network errors or GraphQL errors occur
9
+ */
10
+ export declare function getCompany(): Promise<CompanyModel | null>;
5
11
  //# sourceMappingURL=getCompany.d.ts.map
@@ -0,0 +1,4 @@
1
+ import { CompanyCreditInfo } from '../../data/models';
2
+
3
+ export declare const getCompanyCredit: () => Promise<CompanyCreditInfo | null>;
4
+ //# sourceMappingURL=getCompanyCredit.d.ts.map
@@ -0,0 +1,18 @@
1
+ /********************************************************************
2
+ * ADOBE CONFIDENTIAL
3
+ * __________________
4
+ *
5
+ * Copyright 2025 Adobe
6
+ * All Rights Reserved.
7
+ *
8
+ * NOTICE: All information contained herein is, and remains
9
+ * the property of Adobe and its suppliers, if any. The intellectual
10
+ * and technical concepts contained herein are proprietary to Adobe
11
+ * and its suppliers and are protected by all applicable intellectual
12
+ * property laws, including trade secret and copyright laws.
13
+ * Dissemination of this information or reproduction of this material
14
+ * is strictly forbidden unless prior written permission is obtained
15
+ * from Adobe.
16
+ *******************************************************************/
17
+ export declare const GET_COMPANY_CREDIT = "\n query GET_COMPANY_CREDIT \n {\n company {\n credit {\n available_credit {\n currency\n value\n }\n credit_limit {\n currency\n value\n }\n outstanding_balance {\n currency\n value\n }\n }\n }\n }\n";
18
+ //# sourceMappingURL=getCompanyCredit.graphql.d.ts.map
@@ -0,0 +1,18 @@
1
+ /********************************************************************
2
+ * ADOBE CONFIDENTIAL
3
+ * __________________
4
+ *
5
+ * Copyright 2025 Adobe
6
+ * All Rights Reserved.
7
+ *
8
+ * NOTICE: All information contained herein is, and remains
9
+ * the property of Adobe and its suppliers, if any. The intellectual
10
+ * and technical concepts contained herein are proprietary to Adobe
11
+ * and its suppliers and are protected by all applicable intellectual
12
+ * property laws, including trade secret and copyright laws.
13
+ * Dissemination of this information or reproduction of this material
14
+ * is strictly forbidden unless prior written permission is obtained
15
+ * from Adobe.
16
+ *******************************************************************/
17
+ export * from './getCompanyCredit';
18
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1,5 @@
1
+ import { GetCompanyCreditHistoryParams } from '../../types/api/getCompanyCreditHistoryParams.types';
2
+ import { CompanyCreditHistory } from '../../data/models';
3
+
4
+ export declare const getCompanyCreditHistory: (params?: GetCompanyCreditHistoryParams) => Promise<CompanyCreditHistory | null>;
5
+ //# sourceMappingURL=getCompanyCreditHistory.d.ts.map
@@ -0,0 +1,18 @@
1
+ /********************************************************************
2
+ * ADOBE CONFIDENTIAL
3
+ * __________________
4
+ *
5
+ * Copyright 2025 Adobe
6
+ * All Rights Reserved.
7
+ *
8
+ * NOTICE: All information contained herein is, and remains
9
+ * the property of Adobe and its suppliers, if any. The intellectual
10
+ * and technical concepts contained herein are proprietary to Adobe
11
+ * and its suppliers and are protected by all applicable intellectual
12
+ * property laws, including trade secret and copyright laws.
13
+ * Dissemination of this information or reproduction of this material
14
+ * is strictly forbidden unless prior written permission is obtained
15
+ * from Adobe.
16
+ *******************************************************************/
17
+ export declare const GET_COMPANY_CREDIT_HISTORY = "\n query GET_COMPANY_CREDIT_HISTORY($filter: CompanyCreditHistoryFilterInput, $pageSize: Int, $currentPage: Int) {\n company {\n credit_history(\n filter: $filter\n pageSize: $pageSize\n currentPage: $currentPage\n ) {\n items {\n amount {\n currency\n value\n }\n balance {\n available_credit {\n currency\n value\n }\n credit_limit {\n currency\n value\n }\n outstanding_balance {\n currency\n value\n }\n }\n custom_reference_number\n date\n type\n updated_by {\n name\n type\n }\n }\n page_info {\n current_page\n page_size\n total_pages\n }\n total_count\n }\n }\n }\n";
18
+ //# sourceMappingURL=getCompanyCreditHistory.graphql.d.ts.map
@@ -0,0 +1,19 @@
1
+ /********************************************************************
2
+ * ADOBE CONFIDENTIAL
3
+ * __________________
4
+ *
5
+ * Copyright 2025 Adobe
6
+ * All Rights Reserved.
7
+ *
8
+ * NOTICE: All information contained herein is, and remains
9
+ * the property of Adobe and its suppliers, if any. The intellectual
10
+ * and technical concepts contained herein are proprietary to Adobe
11
+ * and its suppliers and are protected by all applicable intellectual
12
+ * property laws, including trade secret and copyright laws.
13
+ * Dissemination of this information or reproduction of this material
14
+ * is strictly forbidden unless prior written permission is obtained
15
+ * from Adobe.
16
+ *******************************************************************/
17
+ export * from './getCompanyCreditHistory';
18
+ export * from '../../types/api/getCompanyCreditHistoryParams.types';
19
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1,10 @@
1
+ import { CompanyStructureNode } from '../../data/models';
2
+
3
+ /**
4
+ * Retrieves the company organizational structure as a tree of nodes
5
+ *
6
+ * @returns Promise resolving to array of CompanyStructureNode representing the company hierarchy
7
+ * @throws {Error} When network errors or GraphQL errors occur
8
+ */
9
+ export declare function getCompanyStructure(): Promise<CompanyStructureNode[]>;
10
+ //# sourceMappingURL=getCompanyStructure.d.ts.map
@@ -0,0 +1,18 @@
1
+ /********************************************************************
2
+ * ADOBE CONFIDENTIAL
3
+ * __________________
4
+ *
5
+ * Copyright 2025 Adobe
6
+ * All Rights Reserved.
7
+ *
8
+ * NOTICE: All information contained herein is, and remains
9
+ * the property of Adobe and its suppliers, if any. The intellectual
10
+ * and technical concepts contained herein are proprietary to Adobe
11
+ * and its suppliers and are protected by all applicable intellectual
12
+ * property laws, including trade secret and copyright laws.
13
+ * Dissemination of this information or reproduction of this material
14
+ * is strictly forbidden unless prior written permission is obtained
15
+ * from Adobe.
16
+ *******************************************************************/
17
+ export declare const GET_COMPANY_STRUCTURE = "\n query getCompanyStructure {\n company {\n structure {\n items {\n id\n parent_id\n entity {\n __typename\n ... on CompanyTeam { companyTeamId: id structure_id name description }\n ... on Customer { customerId: id structure_id firstname lastname }\n }\n }\n }\n }\n }\n";
18
+ //# sourceMappingURL=getCompanyStructure.graphql.d.ts.map
@@ -0,0 +1,18 @@
1
+ /********************************************************************
2
+ * ADOBE CONFIDENTIAL
3
+ * __________________
4
+ *
5
+ * Copyright 2025 Adobe
6
+ * All Rights Reserved.
7
+ *
8
+ * NOTICE: All information contained herein is, and remains
9
+ * the property of Adobe and its suppliers, if any. The intellectual
10
+ * and technical concepts contained herein are proprietary to Adobe
11
+ * and its suppliers and are protected by all applicable intellectual
12
+ * property laws, including trade secret and copyright laws.
13
+ * Dissemination of this information or reproduction of this material
14
+ * is strictly forbidden unless prior written permission is obtained
15
+ * from Adobe.
16
+ *******************************************************************/
17
+ export * from './getCompanyStructure';
18
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1,11 @@
1
+ import { CompanyTeamModel } from '../../data/models';
2
+
3
+ /**
4
+ * Retrieves a specific company team by their ID
5
+ *
6
+ * @param id - The ID of the company team to retrieve (base64 encoded UID from GraphQL)
7
+ * @returns Promise resolving to CompanyTeamModel or null if team not found
8
+ * @throws {Error} When network errors or GraphQL errors occur
9
+ */
10
+ export declare function getCompanyTeam(id: string): Promise<CompanyTeamModel | null>;
11
+ //# sourceMappingURL=getCompanyTeam.d.ts.map
@@ -0,0 +1,18 @@
1
+ /********************************************************************
2
+ * ADOBE CONFIDENTIAL
3
+ * __________________
4
+ *
5
+ * Copyright 2025 Adobe
6
+ * All Rights Reserved.
7
+ *
8
+ * NOTICE: All information contained herein is, and remains
9
+ * the property of Adobe and its suppliers, if any. The intellectual
10
+ * and technical concepts contained herein are proprietary to Adobe
11
+ * and its suppliers and are protected by all applicable intellectual
12
+ * property laws, including trade secret and copyright laws.
13
+ * Dissemination of this information or reproduction of this material
14
+ * is strictly forbidden unless prior written permission is obtained
15
+ * from Adobe.
16
+ *******************************************************************/
17
+ export declare const GET_COMPANY_TEAM = "\n query getCompanyTeam($id: ID!) {\n company { team(id: $id) { id name description } }\n }\n";
18
+ //# sourceMappingURL=getCompanyTeam.graphql.d.ts.map
@@ -0,0 +1,18 @@
1
+ /********************************************************************
2
+ * ADOBE CONFIDENTIAL
3
+ * __________________
4
+ *
5
+ * Copyright 2025 Adobe
6
+ * All Rights Reserved.
7
+ *
8
+ * NOTICE: All information contained herein is, and remains
9
+ * the property of Adobe and its suppliers, if any. The intellectual
10
+ * and technical concepts contained herein are proprietary to Adobe
11
+ * and its suppliers and are protected by all applicable intellectual
12
+ * property laws, including trade secret and copyright laws.
13
+ * Dissemination of this information or reproduction of this material
14
+ * is strictly forbidden unless prior written permission is obtained
15
+ * from Adobe.
16
+ *******************************************************************/
17
+ export * from './getCompanyTeam';
18
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1,9 @@
1
+ import { CompanyUserModel } from '../../data/models';
2
+
3
+ /**
4
+ * Retrieves a specific company user by their ID
5
+ * @param id - The ID of the company user to retrieve (base64 encoded UID from GraphQL)
6
+ * @returns Promise resolving to CompanyUserModel or null if user not found
7
+ */
8
+ export declare function getCompanyUser(id: string): Promise<CompanyUserModel | null>;
9
+ //# sourceMappingURL=getCompanyUser.d.ts.map
@@ -0,0 +1,18 @@
1
+ /********************************************************************
2
+ * ADOBE CONFIDENTIAL
3
+ * __________________
4
+ *
5
+ * Copyright 2025 Adobe
6
+ * All Rights Reserved.
7
+ *
8
+ * NOTICE: All information contained herein is, and remains
9
+ * the property of Adobe and its suppliers, if any. The intellectual
10
+ * and technical concepts contained herein are proprietary to Adobe
11
+ * and its suppliers and are protected by all applicable intellectual
12
+ * property laws, including trade secret and copyright laws.
13
+ * Dissemination of this information or reproduction of this material
14
+ * is strictly forbidden unless prior written permission is obtained
15
+ * from Adobe.
16
+ *******************************************************************/
17
+ export declare const GET_COMPANY_USER = "\n query getCompanyUser($id: ID!) {\n company {\n user(id: $id) {\n id\n email\n firstname\n lastname\n job_title\n telephone\n status\n role { id name }\n }\n }\n }\n";
18
+ //# sourceMappingURL=getCompanyUser.graphql.d.ts.map
@@ -0,0 +1,18 @@
1
+ /********************************************************************
2
+ * ADOBE CONFIDENTIAL
3
+ * __________________
4
+ *
5
+ * Copyright 2025 Adobe
6
+ * All Rights Reserved.
7
+ *
8
+ * NOTICE: All information contained herein is, and remains
9
+ * the property of Adobe and its suppliers, if any. The intellectual
10
+ * and technical concepts contained herein are proprietary to Adobe
11
+ * and its suppliers and are protected by all applicable intellectual
12
+ * property laws, including trade secret and copyright laws.
13
+ * Dissemination of this information or reproduction of this material
14
+ * is strictly forbidden unless prior written permission is obtained
15
+ * from Adobe.
16
+ *******************************************************************/
17
+ export * from './getCompanyUser';
18
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1,12 @@
1
+ import { CompanyUsersParams, CompanyUsersResponse } from '../../types';
2
+
3
+ /**
4
+ * Fetches the list of company users with pagination and optional filtering
5
+ * @param params - Query parameters
6
+ * @param params.pageSize - Number of items per page (default: 20)
7
+ * @param params.currentPage - Current page number (default: 1)
8
+ * @param params.filter - Optional filter to apply (e.g., { status: 'ACTIVE' })
9
+ * @returns Promise<CompanyUsersResponse> - Object containing array of company users with base64-encoded IDs and pagination info
10
+ */
11
+ export declare const getCompanyUsers: (params?: CompanyUsersParams) => Promise<CompanyUsersResponse>;
12
+ //# sourceMappingURL=getCompanyUsers.d.ts.map
@@ -0,0 +1,18 @@
1
+ /********************************************************************
2
+ * ADOBE CONFIDENTIAL
3
+ * __________________
4
+ *
5
+ * Copyright 2025 Adobe
6
+ * All Rights Reserved.
7
+ *
8
+ * NOTICE: All information contained herein is, and remains
9
+ * the property of Adobe and its suppliers, if any. The intellectual
10
+ * and technical concepts contained herein are proprietary to Adobe
11
+ * and its suppliers and are protected by all applicable intellectual
12
+ * property laws, including trade secret and copyright laws.
13
+ * Dissemination of this information or reproduction of this material
14
+ * is strictly forbidden unless prior written permission is obtained
15
+ * from Adobe.
16
+ *******************************************************************/
17
+ export declare const COMPANY_USERS_QUERY = "\n query COMPANY_USERS($pageSize: Int!, $currentPage: Int!, $filter: CompanyUsersFilterInput) {\n company {\n users(pageSize: $pageSize, currentPage: $currentPage, filter: $filter) {\n items {\n id\n firstname\n lastname\n email\n role {\n name\n }\n status\n team {\n name\n }\n }\n page_info {\n page_size\n current_page\n total_pages\n }\n total_count\n }\n }\n }\n";
18
+ //# sourceMappingURL=companyUsers.graphql.d.ts.map
@@ -0,0 +1,18 @@
1
+ /********************************************************************
2
+ * ADOBE CONFIDENTIAL
3
+ * __________________
4
+ *
5
+ * Copyright 2025 Adobe
6
+ * All Rights Reserved.
7
+ *
8
+ * NOTICE: All information contained herein is, and remains
9
+ * the property of Adobe and its suppliers, if any. The intellectual
10
+ * and technical concepts contained herein are proprietary to Adobe
11
+ * and its suppliers and are protected by all applicable intellectual
12
+ * property laws, including trade secret and copyright laws.
13
+ * Dissemination of this information or reproduction of this material
14
+ * is strictly forbidden unless prior written permission is obtained
15
+ * from Adobe.
16
+ *******************************************************************/
17
+ export * from './getCompanyUsers';
18
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1,12 @@
1
+ import { CustomerCompanyInfo } from '../../data/models';
2
+
3
+ /**
4
+ * Gets customer company information for display on account information page
5
+ * This is a simplified API that only returns the essential company info needed
6
+ * for the customer account page, without requiring full company permissions
7
+ *
8
+ * @returns Promise resolving to CustomerCompanyInfo or null if company functionality is disabled
9
+ * @throws {Error} When network errors or GraphQL errors occur
10
+ */
11
+ export declare function getCustomerCompany(): Promise<CustomerCompanyInfo | null>;
12
+ //# sourceMappingURL=getCustomerCompany.d.ts.map
@@ -0,0 +1,18 @@
1
+ /********************************************************************
2
+ * ADOBE CONFIDENTIAL
3
+ * __________________
4
+ *
5
+ * Copyright 2025 Adobe
6
+ * All Rights Reserved.
7
+ *
8
+ * NOTICE: All information contained herein is, and remains
9
+ * the property of Adobe and its suppliers, if any. The intellectual
10
+ * and technical concepts contained herein are proprietary to Adobe
11
+ * and its suppliers and are protected by all applicable intellectual
12
+ * property laws, including trade secret and copyright laws.
13
+ * Dissemination of this information or reproduction of this material
14
+ * is strictly forbidden unless prior written permission is obtained
15
+ * from Adobe.
16
+ *******************************************************************/
17
+ export declare const GET_CUSTOMER_COMPANY_INFO = "\n query GET_CUSTOMER_COMPANY_INFO {\n customer {\n id\n job_title\n telephone\n role {\n id\n name\n }\n }\n company {\n id\n name\n }\n }\n";
18
+ //# sourceMappingURL=getCustomerCompanyInfo.graphql.d.ts.map
@@ -0,0 +1,18 @@
1
+ /********************************************************************
2
+ * ADOBE CONFIDENTIAL
3
+ * __________________
4
+ *
5
+ * Copyright 2025 Adobe
6
+ * All Rights Reserved.
7
+ *
8
+ * NOTICE: All information contained herein is, and remains
9
+ * the property of Adobe and its suppliers, if any. The intellectual
10
+ * and technical concepts contained herein are proprietary to Adobe
11
+ * and its suppliers and are protected by all applicable intellectual
12
+ * property laws, including trade secret and copyright laws.
13
+ * Dissemination of this information or reproduction of this material
14
+ * is strictly forbidden unless prior written permission is obtained
15
+ * from Adobe.
16
+ *******************************************************************/
17
+ export { getCustomerCompany } from './getCustomerCompany';
18
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1,6 @@
1
+ import { StoreConfigModel } from '../../types';
2
+
3
+ export declare const DEFAULT_COUNTRY = "US";
4
+ export declare const STORE_CONFIG_DEFAULTS: StoreConfigModel;
5
+ export declare const getStoreConfig: () => Promise<StoreConfigModel>;
6
+ //# sourceMappingURL=getStoreConfig.d.ts.map
@@ -0,0 +1,18 @@
1
+ /********************************************************************
2
+ * ADOBE CONFIDENTIAL
3
+ * __________________
4
+ *
5
+ * Copyright 2025 Adobe
6
+ * All Rights Reserved.
7
+ *
8
+ * NOTICE: All information contained herein is, and remains
9
+ * the property of Adobe and its suppliers, if any. The intellectual
10
+ * and technical concepts contained herein are proprietary to Adobe
11
+ * and its suppliers and are protected by all applicable intellectual
12
+ * property laws, including trade secret and copyright laws.
13
+ * Dissemination of this information or reproduction of this material
14
+ * is strictly forbidden unless prior written permission is obtained
15
+ * from Adobe.
16
+ *******************************************************************/
17
+ export declare const GET_STORE_CONFIG_QUERY = "\n query getStoreConfig {\n storeConfig {\n default_country\n store_code\n }\n }\n";
18
+ //# sourceMappingURL=getStoreConfig.graphql.d.ts.map
@@ -0,0 +1,18 @@
1
+ /********************************************************************
2
+ * ADOBE CONFIDENTIAL
3
+ * __________________
4
+ *
5
+ * Copyright 2025 Adobe
6
+ * All Rights Reserved.
7
+ *
8
+ * NOTICE: All information contained herein is, and remains
9
+ * the property of Adobe and its suppliers, if any. The intellectual
10
+ * and technical concepts contained herein are proprietary to Adobe
11
+ * and its suppliers and are protected by all applicable intellectual
12
+ * property laws, including trade secret and copyright laws.
13
+ * Dissemination of this information or reproduction of this material
14
+ * is strictly forbidden unless prior written permission is obtained
15
+ * from Adobe.
16
+ *******************************************************************/
17
+ export { getStoreConfig, STORE_CONFIG_DEFAULTS, DEFAULT_COUNTRY } from './getStoreConfig';
18
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1,9 @@
1
+ /**
2
+ * Builds a dynamic company query based on user permissions
3
+ */
4
+ export declare const buildCompanyQuery: (allowed: Set<string>) => string;
5
+ /**
6
+ * Builds a dynamic company update mutation based on user permissions
7
+ */
8
+ export declare const buildUpdateCompanyMutation: (allowed: Set<string>) => string;
9
+ //# sourceMappingURL=buildCompanyQueries.d.ts.map
package/api/index.d.ts CHANGED
@@ -16,9 +16,33 @@
16
16
  *******************************************************************/
17
17
  export * from './initialize';
18
18
  export * from './fetch-graphql';
19
- export * from './checkIsCompanyEnabled';
19
+ export * from './fetchUserPermissions';
20
+ export * from './allowCompanyRegistration';
21
+ export * from './companyEnabled';
22
+ export * from './createCompany';
23
+ export * from './createCompanyTeam';
24
+ export * from './createCompanyUser';
25
+ export * from './deleteCompanyTeam';
26
+ export * from './deleteCompanyUser';
20
27
  export * from './getCompany';
21
- export * from './updateCompany';
28
+ export * from './getCompanyStructure';
29
+ export * from './getCompanyTeam';
30
+ export * from './getCompanyUser';
31
+ export * from './getCompanyUsers';
22
32
  export * from './getCountries';
33
+ export * from './getCustomerCompany';
34
+ export * from './getStoreConfig';
35
+ export * from './isCompanyAdmin';
36
+ export * from './isCompanyUser';
37
+ export * from './isCompanyUserEmailAvailable';
38
+ export * from './updateCompany';
39
+ export * from './updateCompanyStructure';
40
+ export * from './updateCompanyTeam';
41
+ export * from './updateCompanyUser';
42
+ export * from './updateCompanyUserStatus';
23
43
  export * from './validateCompanyEmail';
44
+ export * from './getCompanyCredit';
45
+ export * from './getCompanyCreditHistory';
46
+ export * from './checkCompanyCreditEnabled';
47
+ export * from './companyRoles';
24
48
  //# sourceMappingURL=index.d.ts.map
@@ -1,23 +1,5 @@
1
- /********************************************************************
2
- * ADOBE CONFIDENTIAL
3
- * __________________
4
- *
5
- * Copyright 2025 Adobe
6
- * All Rights Reserved.
7
- *
8
- * NOTICE: All information contained herein is, and remains
9
- * the property of Adobe and its suppliers, if any. The intellectual
10
- * and technical concepts contained herein are proprietary to Adobe
11
- * and its suppliers and are protected by all applicable intellectual
12
- * property laws, including trade secret and copyright laws.
13
- * Dissemination of this information or reproduction of this material
14
- * is strictly forbidden unless prior written permission is obtained
15
- * from Adobe.
16
- *******************************************************************/
17
- export interface CompanyDropinConfig {
18
- langDefinitions?: Record<string, Record<string, string>>;
19
- models?: Record<string, any>;
20
- }
1
+ import { CompanyDropinConfig } from '../../types/api/initialize.types';
2
+
21
3
  export declare const initialize: (config?: CompanyDropinConfig) => Promise<{
22
4
  success: boolean;
23
5
  config: CompanyDropinConfig;
@@ -0,0 +1,18 @@
1
+ /********************************************************************
2
+ * ADOBE CONFIDENTIAL
3
+ * __________________
4
+ *
5
+ * Copyright 2025 Adobe
6
+ * All Rights Reserved.
7
+ *
8
+ * NOTICE: All information contained herein is, and remains
9
+ * the property of Adobe and its suppliers, if any. The intellectual
10
+ * and technical concepts contained herein are proprietary to Adobe
11
+ * and its suppliers and are protected by all applicable intellectual
12
+ * property laws, including trade secret and copyright laws.
13
+ * Dissemination of this information or reproduction of this material
14
+ * is strictly forbidden unless prior written permission is obtained
15
+ * from Adobe.
16
+ *******************************************************************/
17
+ export declare const GET_CUSTOMER_COMPANIES_WITH_ROLES = "\n query GET_CUSTOMER_COMPANIES_WITH_ROLES {\n customer {\n companies(input: {}) {\n items {\n id\n name\n }\n }\n role {\n id\n name\n }\n }\n }\n";
18
+ //# sourceMappingURL=isCompanyAdmin.graphql.d.ts.map
@@ -0,0 +1,18 @@
1
+ /********************************************************************
2
+ * ADOBE CONFIDENTIAL
3
+ * __________________
4
+ *
5
+ * Copyright 2025 Adobe
6
+ * All Rights Reserved.
7
+ *
8
+ * NOTICE: All information contained herein is, and remains
9
+ * the property of Adobe and its suppliers, if any. The intellectual
10
+ * and technical concepts contained herein are proprietary to Adobe
11
+ * and its suppliers and are protected by all applicable intellectual
12
+ * property laws, including trade secret and copyright laws.
13
+ * Dissemination of this information or reproduction of this material
14
+ * is strictly forbidden unless prior written permission is obtained
15
+ * from Adobe.
16
+ *******************************************************************/
17
+ export * from './isCompanyAdmin';
18
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1,22 @@
1
+ /********************************************************************
2
+ * ADOBE CONFIDENTIAL
3
+ * __________________
4
+ *
5
+ * Copyright 2025 Adobe
6
+ * All Rights Reserved.
7
+ *
8
+ * NOTICE: All information contained herein is, and remains
9
+ * the property of Adobe and its suppliers, if any. The intellectual
10
+ * and technical concepts contained herein are proprietary to Adobe
11
+ * and its suppliers and are protected by all applicable intellectual
12
+ * property laws, including trade secret and copyright laws.
13
+ * Dissemination of this information or reproduction of this material
14
+ * is strictly forbidden unless prior written permission is obtained
15
+ * from Adobe.
16
+ *******************************************************************/
17
+ /**
18
+ * Check if the current authenticated customer is a company administrator in any company
19
+ * @returns Promise<boolean> - true if customer is a company admin in at least one company, false otherwise
20
+ */
21
+ export declare const isCompanyAdmin: () => Promise<boolean>;
22
+ //# sourceMappingURL=isCompanyAdmin.d.ts.map
@@ -0,0 +1,18 @@
1
+ /********************************************************************
2
+ * ADOBE CONFIDENTIAL
3
+ * __________________
4
+ *
5
+ * Copyright 2025 Adobe
6
+ * All Rights Reserved.
7
+ *
8
+ * NOTICE: All information contained herein is, and remains
9
+ * the property of Adobe and its suppliers, if any. The intellectual
10
+ * and technical concepts contained herein are proprietary to Adobe
11
+ * and its suppliers and are protected by all applicable intellectual
12
+ * property laws, including trade secret and copyright laws.
13
+ * Dissemination of this information or reproduction of this material
14
+ * is strictly forbidden unless prior written permission is obtained
15
+ * from Adobe.
16
+ *******************************************************************/
17
+ export declare const GET_CUSTOMER_COMPANIES = "\n query GET_CUSTOMER_COMPANIES {\n customer {\n companies(input: {}) {\n items {\n id\n name\n }\n }\n }\n }\n";
18
+ //# sourceMappingURL=isCompanyUser.graphql.d.ts.map
@@ -0,0 +1,18 @@
1
+ /********************************************************************
2
+ * ADOBE CONFIDENTIAL
3
+ * __________________
4
+ *
5
+ * Copyright 2025 Adobe
6
+ * All Rights Reserved.
7
+ *
8
+ * NOTICE: All information contained herein is, and remains
9
+ * the property of Adobe and its suppliers, if any. The intellectual
10
+ * and technical concepts contained herein are proprietary to Adobe
11
+ * and its suppliers and are protected by all applicable intellectual
12
+ * property laws, including trade secret and copyright laws.
13
+ * Dissemination of this information or reproduction of this material
14
+ * is strictly forbidden unless prior written permission is obtained
15
+ * from Adobe.
16
+ *******************************************************************/
17
+ export * from './isCompanyUser';
18
+ //# sourceMappingURL=index.d.ts.map