m2m-components 3.3.0 → 3.3.1-alpha-aef9a40.0

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 (306) hide show
  1. package/MenuBaseElement.d.mts +24 -0
  2. package/MenuBaseElement.d.ts +12 -8
  3. package/MenuBaseElement.js +177 -102
  4. package/MenuBaseElement.js.map +1 -1
  5. package/MenuBaseElement.mjs +9 -0
  6. package/MenuBaseElement.mjs.map +1 -0
  7. package/{cjs/storage/lib/hub.js → chunk-2X6HV5XJ.mjs} +21 -40
  8. package/chunk-2X6HV5XJ.mjs.map +1 -0
  9. package/chunk-3YQYBFME.mjs +102 -0
  10. package/chunk-3YQYBFME.mjs.map +1 -0
  11. package/chunk-5FHEMJGG.mjs +97 -0
  12. package/chunk-5FHEMJGG.mjs.map +1 -0
  13. package/{cjs/domains.js → chunk-B7STDXYN.mjs} +8 -8
  14. package/chunk-B7STDXYN.mjs.map +1 -0
  15. package/chunk-BFPL6AIR.mjs +74 -0
  16. package/chunk-BFPL6AIR.mjs.map +1 -0
  17. package/chunk-CB56CZRA.mjs +8491 -0
  18. package/chunk-CB56CZRA.mjs.map +1 -0
  19. package/chunk-CEBJL6ZD.mjs +22 -0
  20. package/chunk-CEBJL6ZD.mjs.map +1 -0
  21. package/{cjs/endpoints/matsuri-forms.v1.js → chunk-DYNNGZMQ.mjs} +94 -185
  22. package/chunk-DYNNGZMQ.mjs.map +1 -0
  23. package/chunk-FDRD4YS4.mjs +34 -0
  24. package/chunk-FDRD4YS4.mjs.map +1 -0
  25. package/{cjs/endpoints/m2m-users.v1.js → chunk-GMPQV5TL.mjs} +136 -267
  26. package/chunk-GMPQV5TL.mjs.map +1 -0
  27. package/chunk-H66U7VZB.mjs +9 -0
  28. package/chunk-H66U7VZB.mjs.map +1 -0
  29. package/chunk-IH72EYIB.mjs +9 -0
  30. package/chunk-IH72EYIB.mjs.map +1 -0
  31. package/chunk-IOZIVEOV.mjs +2 -0
  32. package/chunk-IOZIVEOV.mjs.map +1 -0
  33. package/{cjs/endpoints/m2m-notifications.v1.js → chunk-ISOF65DB.mjs} +42 -63
  34. package/chunk-ISOF65DB.mjs.map +1 -0
  35. package/chunk-JUBOAWNR.mjs +61 -0
  36. package/chunk-JUBOAWNR.mjs.map +1 -0
  37. package/chunk-LDSJ6KYP.mjs +28 -0
  38. package/chunk-LDSJ6KYP.mjs.map +1 -0
  39. package/chunk-LYVJL4T5.mjs +78 -0
  40. package/chunk-LYVJL4T5.mjs.map +1 -0
  41. package/chunk-M4ZBTA6A.mjs +19 -0
  42. package/chunk-M4ZBTA6A.mjs.map +1 -0
  43. package/chunk-NO6ZGO5P.mjs +17 -0
  44. package/chunk-NO6ZGO5P.mjs.map +1 -0
  45. package/chunk-UCJSCAN5.mjs +45 -0
  46. package/chunk-UCJSCAN5.mjs.map +1 -0
  47. package/chunk-UM6FAKR4.mjs +152 -0
  48. package/chunk-UM6FAKR4.mjs.map +1 -0
  49. package/{cjs/storage/lib/client.js → chunk-UOPEIK22.mjs} +45 -50
  50. package/chunk-UOPEIK22.mjs.map +1 -0
  51. package/chunk-V4ROE7DI.mjs +54 -0
  52. package/chunk-V4ROE7DI.mjs.map +1 -0
  53. package/chunk-VNCVFELM.mjs +83 -0
  54. package/chunk-VNCVFELM.mjs.map +1 -0
  55. package/chunk-YUHXVW6K.mjs +2 -0
  56. package/chunk-YUHXVW6K.mjs.map +1 -0
  57. package/domains.d.mts +11 -0
  58. package/domains.d.ts +3 -2
  59. package/domains.js +31 -1
  60. package/domains.js.map +1 -1
  61. package/domains.mjs +9 -0
  62. package/domains.mjs.map +1 -0
  63. package/endpoints/m2m-notifications.d.mts +7 -0
  64. package/endpoints/m2m-notifications.d.ts +5 -3
  65. package/endpoints/m2m-notifications.js +129 -4
  66. package/endpoints/m2m-notifications.js.map +1 -1
  67. package/endpoints/m2m-notifications.mjs +12 -0
  68. package/endpoints/m2m-notifications.mjs.map +1 -0
  69. package/endpoints/m2m-notifications.v1.d.mts +1 -0
  70. package/endpoints/m2m-notifications.v1.d.ts +1 -51
  71. package/endpoints/m2m-notifications.v1.js +95 -102
  72. package/endpoints/m2m-notifications.v1.js.map +1 -1
  73. package/endpoints/m2m-notifications.v1.mjs +23 -0
  74. package/endpoints/m2m-notifications.v1.mjs.map +1 -0
  75. package/endpoints/m2m-users.d.mts +7 -0
  76. package/endpoints/m2m-users.d.ts +5 -3
  77. package/endpoints/m2m-users.js +407 -4
  78. package/endpoints/m2m-users.js.map +1 -1
  79. package/endpoints/m2m-users.mjs +12 -0
  80. package/endpoints/m2m-users.mjs.map +1 -0
  81. package/endpoints/m2m-users.v1.d.mts +1 -0
  82. package/endpoints/m2m-users.v1.d.ts +1 -221
  83. package/endpoints/m2m-users.v1.js +327 -475
  84. package/endpoints/m2m-users.v1.js.map +1 -1
  85. package/endpoints/m2m-users.v1.mjs +69 -0
  86. package/endpoints/m2m-users.v1.mjs.map +1 -0
  87. package/endpoints/matsuri-forms.d.mts +7 -0
  88. package/endpoints/matsuri-forms.d.ts +5 -3
  89. package/endpoints/matsuri-forms.js +291 -4
  90. package/endpoints/matsuri-forms.js.map +1 -1
  91. package/endpoints/matsuri-forms.mjs +12 -0
  92. package/endpoints/matsuri-forms.mjs.map +1 -0
  93. package/endpoints/matsuri-forms.v1.d.mts +1 -0
  94. package/endpoints/matsuri-forms.v1.d.ts +1 -177
  95. package/endpoints/matsuri-forms.v1.js +231 -332
  96. package/endpoints/matsuri-forms.v1.js.map +1 -1
  97. package/endpoints/matsuri-forms.v1.mjs +49 -0
  98. package/endpoints/matsuri-forms.v1.mjs.map +1 -0
  99. package/feedback/MultipleTextQuestion.d.mts +6 -0
  100. package/feedback/MultipleTextQuestion.d.ts +6 -3
  101. package/feedback/MultipleTextQuestion.js +43 -10
  102. package/feedback/MultipleTextQuestion.js.map +1 -1
  103. package/feedback/MultipleTextQuestion.mjs +9 -0
  104. package/feedback/MultipleTextQuestion.mjs.map +1 -0
  105. package/feedback/SelectQuestion.d.mts +6 -0
  106. package/feedback/SelectQuestion.d.ts +6 -3
  107. package/feedback/SelectQuestion.js +55 -18
  108. package/feedback/SelectQuestion.js.map +1 -1
  109. package/feedback/SelectQuestion.mjs +9 -0
  110. package/feedback/SelectQuestion.mjs.map +1 -0
  111. package/feedback/getRandomId.d.mts +6 -0
  112. package/feedback/getRandomId.d.ts +3 -2
  113. package/feedback/getRandomId.js +31 -4
  114. package/feedback/getRandomId.js.map +1 -1
  115. package/feedback/getRandomId.mjs +9 -0
  116. package/feedback/getRandomId.mjs.map +1 -0
  117. package/feedback/index.d.mts +15 -0
  118. package/feedback/index.d.ts +7 -5
  119. package/feedback/index.js +8558 -166
  120. package/feedback/index.js.map +1 -1
  121. package/feedback/index.mjs +13 -0
  122. package/feedback/index.mjs.map +1 -0
  123. package/global.d.d.mts +4 -0
  124. package/global.d.d.ts +4 -0
  125. package/global.d.js +20 -0
  126. package/global.d.js.map +1 -0
  127. package/global.d.mjs +2 -0
  128. package/global.d.mjs.map +1 -0
  129. package/index.d.mts +6 -0
  130. package/index.d.ts +6 -9
  131. package/index.js +421 -8
  132. package/index.js.map +1 -1
  133. package/index.mjs +23 -0
  134. package/index.mjs.map +1 -0
  135. package/initM2mComponents.d.mts +7 -0
  136. package/initM2mComponents.d.ts +3 -6
  137. package/initM2mComponents.js +242 -3
  138. package/initM2mComponents.js.map +1 -1
  139. package/initM2mComponents.mjs +11 -0
  140. package/initM2mComponents.mjs.map +1 -0
  141. package/m2m-apps-menu.d.mts +16 -0
  142. package/m2m-apps-menu.d.ts +10 -5
  143. package/m2m-apps-menu.js +265 -43
  144. package/m2m-apps-menu.js.map +1 -1
  145. package/m2m-apps-menu.mjs +11 -0
  146. package/m2m-apps-menu.mjs.map +1 -0
  147. package/m2m-notifications.v1-0186835d.d.ts +73 -0
  148. package/m2m-user-menu.d.mts +17 -0
  149. package/m2m-user-menu.d.ts +10 -5
  150. package/m2m-user-menu.js +327 -53
  151. package/m2m-user-menu.js.map +1 -1
  152. package/m2m-user-menu.mjs +13 -0
  153. package/m2m-user-menu.mjs.map +1 -0
  154. package/m2m-users.v1-c78c72cf.d.ts +289 -0
  155. package/matsuri-forms.v1-0ffee104.d.ts +225 -0
  156. package/notification/NotificationProvider.d.mts +18 -0
  157. package/notification/NotificationProvider.d.ts +10 -7
  158. package/notification/NotificationProvider.js +185 -51
  159. package/notification/NotificationProvider.js.map +1 -1
  160. package/notification/NotificationProvider.mjs +15 -0
  161. package/notification/NotificationProvider.mjs.map +1 -0
  162. package/notification/ServiceIdProvider.d.mts +10 -0
  163. package/notification/ServiceIdProvider.d.ts +8 -5
  164. package/notification/ServiceIdProvider.js +56 -18
  165. package/notification/ServiceIdProvider.js.map +1 -1
  166. package/notification/ServiceIdProvider.mjs +11 -0
  167. package/notification/ServiceIdProvider.mjs.map +1 -0
  168. package/notification/api.d.mts +7 -0
  169. package/notification/api.d.ts +7 -5
  170. package/notification/api.js +157 -59
  171. package/notification/api.js.map +1 -1
  172. package/notification/api.mjs +14 -0
  173. package/notification/api.mjs.map +1 -0
  174. package/notification/domain.d.mts +24 -0
  175. package/notification/domain.d.ts +6 -5
  176. package/notification/domain.js +19 -1
  177. package/notification/domain.js.map +1 -1
  178. package/notification/domain.mjs +3 -0
  179. package/notification/domain.mjs.map +1 -0
  180. package/notification/index.d.mts +6 -0
  181. package/notification/index.d.ts +6 -5
  182. package/notification/index.js +271 -4
  183. package/notification/index.js.map +1 -1
  184. package/notification/index.mjs +30 -0
  185. package/notification/index.mjs.map +1 -0
  186. package/package.json +43 -103
  187. package/releases/m2m-releases-link.d.mts +11 -0
  188. package/releases/m2m-releases-link.d.ts +9 -5
  189. package/releases/m2m-releases-link.js +97 -54
  190. package/releases/m2m-releases-link.js.map +1 -1
  191. package/releases/m2m-releases-link.mjs +69 -0
  192. package/releases/m2m-releases-link.mjs.map +1 -0
  193. package/releases/t.d.mts +3 -0
  194. package/releases/t.d.ts +3 -2
  195. package/releases/t.js +31 -1
  196. package/releases/t.js.map +1 -1
  197. package/releases/t.mjs +9 -0
  198. package/releases/t.mjs.map +1 -0
  199. package/storage/client.d.mts +20 -0
  200. package/storage/client.d.ts +8 -6
  201. package/storage/client.js +260 -85
  202. package/storage/client.js.map +1 -1
  203. package/storage/client.mjs +14 -0
  204. package/storage/client.mjs.map +1 -0
  205. package/storage/hub.d.mts +9 -0
  206. package/storage/hub.d.ts +6 -4
  207. package/storage/hub.js +120 -7
  208. package/storage/hub.js.map +1 -1
  209. package/storage/hub.mjs +10 -0
  210. package/storage/hub.mjs.map +1 -0
  211. package/storage/lib/client.d.mts +27 -0
  212. package/storage/lib/client.d.ts +4 -5
  213. package/storage/lib/client.js +76 -57
  214. package/storage/lib/client.js.map +1 -1
  215. package/storage/lib/client.mjs +9 -0
  216. package/storage/lib/client.mjs.map +1 -0
  217. package/storage/lib/hub.d.mts +15 -0
  218. package/storage/lib/hub.d.ts +4 -4
  219. package/storage/lib/hub.js +57 -46
  220. package/storage/lib/hub.js.map +1 -1
  221. package/storage/lib/hub.mjs +9 -0
  222. package/storage/lib/hub.mjs.map +1 -0
  223. package/storage/useM2mAuth.d.mts +25 -0
  224. package/storage/useM2mAuth.d.ts +10 -8
  225. package/storage/useM2mAuth.js +184 -74
  226. package/storage/useM2mAuth.js.map +1 -1
  227. package/storage/useM2mAuth.mjs +14 -0
  228. package/storage/useM2mAuth.mjs.map +1 -0
  229. package/storage/useM2mAuth.test.d.mts +2 -0
  230. package/storage/useM2mAuth.test.d.ts +2 -0
  231. package/storage/useM2mAuth.test.js +60906 -0
  232. package/storage/useM2mAuth.test.js.map +1 -0
  233. package/storage/useM2mAuth.test.mjs +60682 -0
  234. package/storage/useM2mAuth.test.mjs.map +1 -0
  235. package/cjs/MenuBaseElement.js +0 -207
  236. package/cjs/MenuBaseElement.js.map +0 -1
  237. package/cjs/domains.js.map +0 -1
  238. package/cjs/endpoints/m2m-notifications.js +0 -15
  239. package/cjs/endpoints/m2m-notifications.js.map +0 -1
  240. package/cjs/endpoints/m2m-notifications.v1.js.map +0 -1
  241. package/cjs/endpoints/m2m-users.js +0 -15
  242. package/cjs/endpoints/m2m-users.js.map +0 -1
  243. package/cjs/endpoints/m2m-users.v1.js.map +0 -1
  244. package/cjs/endpoints/matsuri-forms.js +0 -15
  245. package/cjs/endpoints/matsuri-forms.js.map +0 -1
  246. package/cjs/endpoints/matsuri-forms.v1.js.map +0 -1
  247. package/cjs/feedback/MultipleTextQuestion.js +0 -19
  248. package/cjs/feedback/MultipleTextQuestion.js.map +0 -1
  249. package/cjs/feedback/SelectQuestion.js +0 -27
  250. package/cjs/feedback/SelectQuestion.js.map +0 -1
  251. package/cjs/feedback/getRandomId.js +0 -12
  252. package/cjs/feedback/getRandomId.js.map +0 -1
  253. package/cjs/feedback/index.js +0 -185
  254. package/cjs/feedback/index.js.map +0 -1
  255. package/cjs/index.js +0 -11
  256. package/cjs/index.js.map +0 -1
  257. package/cjs/initM2mComponents.js +0 -17
  258. package/cjs/initM2mComponents.js.map +0 -1
  259. package/cjs/m2m-apps-menu.js +0 -95
  260. package/cjs/m2m-apps-menu.js.map +0 -1
  261. package/cjs/m2m-user-menu.js +0 -91
  262. package/cjs/m2m-user-menu.js.map +0 -1
  263. package/cjs/notification/NotificationProvider.js +0 -84
  264. package/cjs/notification/NotificationProvider.js.map +0 -1
  265. package/cjs/notification/ServiceIdProvider.js +0 -33
  266. package/cjs/notification/ServiceIdProvider.js.map +0 -1
  267. package/cjs/notification/api.js +0 -55
  268. package/cjs/notification/api.js.map +0 -1
  269. package/cjs/notification/domain.js +0 -6
  270. package/cjs/notification/domain.js.map +0 -1
  271. package/cjs/notification/index.js +0 -50
  272. package/cjs/notification/index.js.map +0 -1
  273. package/cjs/releases/m2m-releases-link.js +0 -99
  274. package/cjs/releases/m2m-releases-link.js.map +0 -1
  275. package/cjs/releases/t.js +0 -8
  276. package/cjs/releases/t.js.map +0 -1
  277. package/cjs/storage/client.js +0 -89
  278. package/cjs/storage/client.js.map +0 -1
  279. package/cjs/storage/hub.js +0 -19
  280. package/cjs/storage/hub.js.map +0 -1
  281. package/cjs/storage/lib/client.js.map +0 -1
  282. package/cjs/storage/lib/hub.js.map +0 -1
  283. package/cjs/storage/useM2mAuth.js +0 -97
  284. package/cjs/storage/useM2mAuth.js.map +0 -1
  285. package/endpoints/m2m-notifications.d.ts.map +0 -1
  286. package/endpoints/m2m-notifications.v1.d.ts.map +0 -1
  287. package/endpoints/m2m-users.d.ts.map +0 -1
  288. package/endpoints/m2m-users.v1.d.ts.map +0 -1
  289. package/endpoints/matsuri-forms.d.ts.map +0 -1
  290. package/endpoints/matsuri-forms.v1.d.ts.map +0 -1
  291. package/feedback/MultipleTextQuestion.d.ts.map +0 -1
  292. package/feedback/SelectQuestion.d.ts.map +0 -1
  293. package/feedback/getRandomId.d.ts.map +0 -1
  294. package/feedback/index.d.ts.map +0 -1
  295. package/notification/NotificationProvider.d.ts.map +0 -1
  296. package/notification/ServiceIdProvider.d.ts.map +0 -1
  297. package/notification/api.d.ts.map +0 -1
  298. package/notification/domain.d.ts.map +0 -1
  299. package/notification/index.d.ts.map +0 -1
  300. package/releases/m2m-releases-link.d.ts.map +0 -1
  301. package/releases/t.d.ts.map +0 -1
  302. package/storage/client.d.ts.map +0 -1
  303. package/storage/hub.d.ts.map +0 -1
  304. package/storage/lib/client.d.ts.map +0 -1
  305. package/storage/lib/hub.d.ts.map +0 -1
  306. package/storage/useM2mAuth.d.ts.map +0 -1
@@ -0,0 +1,289 @@
1
+ /**
2
+ * A function that returns the URL part common to the endpoints.
3
+ */
4
+ declare const root: () => string;
5
+ /**
6
+ * ヘルスチェック
7
+ *
8
+ */
9
+ declare const healthCheck: () => string;
10
+ /**
11
+ * 会社を作成する
12
+ *
13
+ */
14
+ declare const createCompany: () => string;
15
+ /**
16
+ * 会社情報を取得する
17
+ *
18
+ */
19
+ declare const getCompany: ({ id }: {
20
+ id: string;
21
+ }) => string;
22
+ /**
23
+ * 会社情報を更新する
24
+ *
25
+ */
26
+ declare const updateCompany: () => string;
27
+ /**
28
+ * 会社情報を更新する
29
+ *
30
+ */
31
+ declare const updateCompanyPatch: () => string;
32
+ /**
33
+ * idを指定して複数の会社情報を取得する
34
+ * @param {string} company_ids a,b,c
35
+ */
36
+ declare const findCompaniesByIds: ({ company_ids, }: {
37
+ company_ids?: string | undefined;
38
+ }) => string;
39
+ /**
40
+ * ユーザーを作成する
41
+ *
42
+ */
43
+ declare const createUser: () => string;
44
+ /**
45
+ * ユーザーを取得する
46
+ *
47
+ */
48
+ declare const findUserById: ({ id }: {
49
+ id: string;
50
+ }) => string;
51
+ /**
52
+ * ユーザーを更新する
53
+ *
54
+ */
55
+ declare const updateUser: ({ id }: {
56
+ id: string;
57
+ }) => string;
58
+ /**
59
+ * ユーザーを更新する
60
+ *
61
+ */
62
+ declare const updateUserPatch: ({ id }: {
63
+ id: string;
64
+ }) => string;
65
+ /**
66
+ * ユーザーを強制的に有効化する
67
+ *
68
+ */
69
+ declare const activateUserByAdmin: ({ id }: {
70
+ id: string;
71
+ }) => string;
72
+ /**
73
+ * ユーザーを無効化する
74
+ *
75
+ */
76
+ declare const deactivateUser: ({ id }: {
77
+ id: string;
78
+ }) => string;
79
+ /**
80
+ * パスワードリセットのメールを送信する
81
+ *
82
+ */
83
+ declare const sendResetPasswordEmail: () => string;
84
+ /**
85
+ * パスワードをリセットする
86
+ *
87
+ */
88
+ declare const resetPassword: () => string;
89
+ /**
90
+ * アクティベーションメールを送信する
91
+ *
92
+ */
93
+ declare const sendActivationEmail: () => string;
94
+ /**
95
+ * ユーザーを有効化する
96
+ *
97
+ */
98
+ declare const activateUser: () => string;
99
+ /**
100
+ * 認可スコープを設定する
101
+ *
102
+ */
103
+ declare const setAuthorityScope: () => string;
104
+ /**
105
+ * メールを指定してユーザーを取得する
106
+ *
107
+ */
108
+ declare const findUserByEmail: () => string;
109
+ /**
110
+ * ユーザーの権限を更新する
111
+ *
112
+ */
113
+ declare const updateAuthority: ({ id }: {
114
+ id: string;
115
+ }) => string;
116
+ /**
117
+ * companyIdからユーザーを取得する
118
+ * @param {string} statuses BeforeVerification,Active,Deactivated
119
+ */
120
+ declare const findUsersByCompanyId: ({ statuses }: {
121
+ statuses?: string | undefined;
122
+ }) => string;
123
+ /**
124
+ * ユーザー情報をAdminが変更する
125
+ *
126
+ */
127
+ declare const updateUserByAdmin: ({ id }: {
128
+ id: string;
129
+ }) => string;
130
+ /**
131
+ * ログインする
132
+ *
133
+ */
134
+ declare const login: () => string;
135
+ /**
136
+ * ログインする
137
+ *
138
+ */
139
+ declare const loginWithSlash: () => string;
140
+ /**
141
+ * JWKを取得する
142
+ *
143
+ */
144
+ declare const getJwks: () => string;
145
+ /**
146
+ * 公開鍵を取得する
147
+ *
148
+ */
149
+ declare const getPublicKeys: () => string;
150
+ /**
151
+ * MFAのコードを発行する
152
+ *
153
+ */
154
+ declare const publishMFACode: () => string;
155
+ /**
156
+ * MFAを使ってログインする
157
+ *
158
+ */
159
+ declare const loginWithMFA: () => string;
160
+ /**
161
+ * usersに存在しないアカウントのトークンを作成する(deprecated)
162
+ *
163
+ */
164
+ declare const generateToken: () => string;
165
+ /**
166
+ * usersに存在しないアカウントのトークンを作成する
167
+ *
168
+ */
169
+ declare const generateUserToken: () => string;
170
+ declare const m2mUsers_v1: {
171
+ healthCheck: () => string;
172
+ createCompany: () => string;
173
+ getCompany: ({ id }: {
174
+ id: string;
175
+ }) => string;
176
+ updateCompany: () => string;
177
+ updateCompanyPatch: () => string;
178
+ findCompaniesByIds: ({ company_ids, }: {
179
+ company_ids?: string | undefined;
180
+ }) => string;
181
+ createUser: () => string;
182
+ findUserById: ({ id }: {
183
+ id: string;
184
+ }) => string;
185
+ updateUser: ({ id }: {
186
+ id: string;
187
+ }) => string;
188
+ updateUserPatch: ({ id }: {
189
+ id: string;
190
+ }) => string;
191
+ activateUserByAdmin: ({ id }: {
192
+ id: string;
193
+ }) => string;
194
+ deactivateUser: ({ id }: {
195
+ id: string;
196
+ }) => string;
197
+ sendResetPasswordEmail: () => string;
198
+ resetPassword: () => string;
199
+ sendActivationEmail: () => string;
200
+ activateUser: () => string;
201
+ setAuthorityScope: () => string;
202
+ findUserByEmail: () => string;
203
+ updateAuthority: ({ id }: {
204
+ id: string;
205
+ }) => string;
206
+ findUsersByCompanyId: ({ statuses }: {
207
+ statuses?: string | undefined;
208
+ }) => string;
209
+ updateUserByAdmin: ({ id }: {
210
+ id: string;
211
+ }) => string;
212
+ login: () => string;
213
+ loginWithSlash: () => string;
214
+ getJwks: () => string;
215
+ getPublicKeys: () => string;
216
+ publishMFACode: () => string;
217
+ loginWithMFA: () => string;
218
+ generateToken: () => string;
219
+ generateUserToken: () => string;
220
+ };
221
+
222
+ declare const v1_activateUser: typeof activateUser;
223
+ declare const v1_activateUserByAdmin: typeof activateUserByAdmin;
224
+ declare const v1_createCompany: typeof createCompany;
225
+ declare const v1_createUser: typeof createUser;
226
+ declare const v1_deactivateUser: typeof deactivateUser;
227
+ declare const v1_findCompaniesByIds: typeof findCompaniesByIds;
228
+ declare const v1_findUserByEmail: typeof findUserByEmail;
229
+ declare const v1_findUserById: typeof findUserById;
230
+ declare const v1_findUsersByCompanyId: typeof findUsersByCompanyId;
231
+ declare const v1_generateToken: typeof generateToken;
232
+ declare const v1_generateUserToken: typeof generateUserToken;
233
+ declare const v1_getCompany: typeof getCompany;
234
+ declare const v1_getJwks: typeof getJwks;
235
+ declare const v1_getPublicKeys: typeof getPublicKeys;
236
+ declare const v1_healthCheck: typeof healthCheck;
237
+ declare const v1_login: typeof login;
238
+ declare const v1_loginWithMFA: typeof loginWithMFA;
239
+ declare const v1_loginWithSlash: typeof loginWithSlash;
240
+ declare const v1_m2mUsers_v1: typeof m2mUsers_v1;
241
+ declare const v1_publishMFACode: typeof publishMFACode;
242
+ declare const v1_resetPassword: typeof resetPassword;
243
+ declare const v1_root: typeof root;
244
+ declare const v1_sendActivationEmail: typeof sendActivationEmail;
245
+ declare const v1_sendResetPasswordEmail: typeof sendResetPasswordEmail;
246
+ declare const v1_setAuthorityScope: typeof setAuthorityScope;
247
+ declare const v1_updateAuthority: typeof updateAuthority;
248
+ declare const v1_updateCompany: typeof updateCompany;
249
+ declare const v1_updateCompanyPatch: typeof updateCompanyPatch;
250
+ declare const v1_updateUser: typeof updateUser;
251
+ declare const v1_updateUserByAdmin: typeof updateUserByAdmin;
252
+ declare const v1_updateUserPatch: typeof updateUserPatch;
253
+ declare namespace v1 {
254
+ export {
255
+ v1_activateUser as activateUser,
256
+ v1_activateUserByAdmin as activateUserByAdmin,
257
+ v1_createCompany as createCompany,
258
+ v1_createUser as createUser,
259
+ v1_deactivateUser as deactivateUser,
260
+ v1_findCompaniesByIds as findCompaniesByIds,
261
+ v1_findUserByEmail as findUserByEmail,
262
+ v1_findUserById as findUserById,
263
+ v1_findUsersByCompanyId as findUsersByCompanyId,
264
+ v1_generateToken as generateToken,
265
+ v1_generateUserToken as generateUserToken,
266
+ v1_getCompany as getCompany,
267
+ v1_getJwks as getJwks,
268
+ v1_getPublicKeys as getPublicKeys,
269
+ v1_healthCheck as healthCheck,
270
+ v1_login as login,
271
+ v1_loginWithMFA as loginWithMFA,
272
+ v1_loginWithSlash as loginWithSlash,
273
+ v1_m2mUsers_v1 as m2mUsers_v1,
274
+ v1_publishMFACode as publishMFACode,
275
+ v1_resetPassword as resetPassword,
276
+ v1_root as root,
277
+ v1_sendActivationEmail as sendActivationEmail,
278
+ v1_sendResetPasswordEmail as sendResetPasswordEmail,
279
+ v1_setAuthorityScope as setAuthorityScope,
280
+ v1_updateAuthority as updateAuthority,
281
+ v1_updateCompany as updateCompany,
282
+ v1_updateCompanyPatch as updateCompanyPatch,
283
+ v1_updateUser as updateUser,
284
+ v1_updateUserByAdmin as updateUserByAdmin,
285
+ v1_updateUserPatch as updateUserPatch,
286
+ };
287
+ }
288
+
289
+ export { getPublicKeys as A, publishMFACode as B, loginWithMFA as C, generateToken as D, generateUserToken as E, m2mUsers_v1 as F, updateCompanyPatch as a, createUser as b, createCompany as c, findUserById as d, updateUser as e, findCompaniesByIds as f, getCompany as g, healthCheck as h, updateUserPatch as i, activateUserByAdmin as j, deactivateUser as k, resetPassword as l, sendActivationEmail as m, activateUser as n, setAuthorityScope as o, findUserByEmail as p, updateAuthority as q, root as r, sendResetPasswordEmail as s, findUsersByCompanyId as t, updateCompany as u, v1 as v, updateUserByAdmin as w, login as x, loginWithSlash as y, getJwks as z };
@@ -0,0 +1,225 @@
1
+ /**
2
+ * A function that returns the URL part common to the endpoints.
3
+ */
4
+ declare const root: () => string;
5
+ /**
6
+ * health check
7
+ *
8
+ */
9
+ declare const healthCheck: () => string;
10
+ /**
11
+ * DraftRevisionのフォーム情報を取得する
12
+ *
13
+ */
14
+ declare const formGet: ({ id }: {
15
+ id: string;
16
+ }) => string;
17
+ /**
18
+ * 特定のRevisionのフォーム情報を取得する
19
+ *
20
+ */
21
+ declare const formGetByRevision: ({ id, revision, }: {
22
+ id: string;
23
+ revision: string;
24
+ }) => string;
25
+ /**
26
+ * Formを新規作成する
27
+ *
28
+ */
29
+ declare const formCreate: () => string;
30
+ /**
31
+ * ユーザーに紐づいたフォームを全件取得する
32
+ *
33
+ */
34
+ declare const formFindAll: () => string;
35
+ /**
36
+ * Formを更新する
37
+ *
38
+ */
39
+ declare const formUpdate: ({ id }: {
40
+ id: string;
41
+ }) => string;
42
+ /**
43
+ * Formのシート機能を有効化する
44
+ *
45
+ */
46
+ declare const formActivateSheetFeature: ({ id }: {
47
+ id: string;
48
+ }) => string;
49
+ /**
50
+ * Formの公開ステータスをPrivateに変更する
51
+ *
52
+ */
53
+ declare const formPublishStatusChangeToPrivate: ({ id }: {
54
+ id: string;
55
+ }) => string;
56
+ /**
57
+ * FormのContentを更新する
58
+ *
59
+ */
60
+ declare const formsCreateNewRevision: ({ id }: {
61
+ id: string;
62
+ }) => string;
63
+ /**
64
+ * Form内容を確定し公開する
65
+ *
66
+ */
67
+ declare const formPublish: ({ id }: {
68
+ id: string;
69
+ }) => string;
70
+ /**
71
+ * 質問を作成する
72
+ *
73
+ */
74
+ declare const formQuestionCreate: ({ formId }: {
75
+ formId: string;
76
+ }) => string;
77
+ /**
78
+ * 質問を挿入する
79
+ *
80
+ */
81
+ declare const formQuestionInsert: ({ formId }: {
82
+ formId: string;
83
+ }) => string;
84
+ /**
85
+ * 質問を削除する
86
+ *
87
+ */
88
+ declare const formQuestionDelete: ({ formId }: {
89
+ formId: string;
90
+ }) => string;
91
+ /**
92
+ * 質問を更新する
93
+ *
94
+ */
95
+ declare const formQuestionUpdate: ({ formId, questionId, }: {
96
+ formId: string;
97
+ questionId: string;
98
+ }) => string;
99
+ /**
100
+ * 回答を取得
101
+ *
102
+ */
103
+ declare const submissionGet: ({ formId }: {
104
+ formId: string;
105
+ }) => string;
106
+ /**
107
+ * 回答を作成
108
+ *
109
+ */
110
+ declare const submissionCreate: () => string;
111
+ /**
112
+ * ゲストがフォームの情報を取得する
113
+ *
114
+ */
115
+ declare const guestFormGet: ({ formId }: {
116
+ formId: string;
117
+ }) => string;
118
+ /**
119
+ * Googleのトークンでサインインする
120
+ *
121
+ */
122
+ declare const signInWithGoogle: () => string;
123
+ /**
124
+ * Googleのトークンでサインアップする
125
+ *
126
+ */
127
+ declare const signUpWithGoogle: () => string;
128
+ declare const matsuriForms_v1: {
129
+ healthCheck: () => string;
130
+ formGet: ({ id }: {
131
+ id: string;
132
+ }) => string;
133
+ formGetByRevision: ({ id, revision, }: {
134
+ id: string;
135
+ revision: string;
136
+ }) => string;
137
+ formCreate: () => string;
138
+ formFindAll: () => string;
139
+ formUpdate: ({ id }: {
140
+ id: string;
141
+ }) => string;
142
+ formActivateSheetFeature: ({ id }: {
143
+ id: string;
144
+ }) => string;
145
+ formPublishStatusChangeToPrivate: ({ id }: {
146
+ id: string;
147
+ }) => string;
148
+ formsCreateNewRevision: ({ id }: {
149
+ id: string;
150
+ }) => string;
151
+ formPublish: ({ id }: {
152
+ id: string;
153
+ }) => string;
154
+ formQuestionCreate: ({ formId }: {
155
+ formId: string;
156
+ }) => string;
157
+ formQuestionInsert: ({ formId }: {
158
+ formId: string;
159
+ }) => string;
160
+ formQuestionDelete: ({ formId }: {
161
+ formId: string;
162
+ }) => string;
163
+ formQuestionUpdate: ({ formId, questionId, }: {
164
+ formId: string;
165
+ questionId: string;
166
+ }) => string;
167
+ submissionGet: ({ formId }: {
168
+ formId: string;
169
+ }) => string;
170
+ submissionCreate: () => string;
171
+ guestFormGet: ({ formId }: {
172
+ formId: string;
173
+ }) => string;
174
+ signInWithGoogle: () => string;
175
+ signUpWithGoogle: () => string;
176
+ };
177
+
178
+ declare const v1_formActivateSheetFeature: typeof formActivateSheetFeature;
179
+ declare const v1_formCreate: typeof formCreate;
180
+ declare const v1_formFindAll: typeof formFindAll;
181
+ declare const v1_formGet: typeof formGet;
182
+ declare const v1_formGetByRevision: typeof formGetByRevision;
183
+ declare const v1_formPublish: typeof formPublish;
184
+ declare const v1_formPublishStatusChangeToPrivate: typeof formPublishStatusChangeToPrivate;
185
+ declare const v1_formQuestionCreate: typeof formQuestionCreate;
186
+ declare const v1_formQuestionDelete: typeof formQuestionDelete;
187
+ declare const v1_formQuestionInsert: typeof formQuestionInsert;
188
+ declare const v1_formQuestionUpdate: typeof formQuestionUpdate;
189
+ declare const v1_formUpdate: typeof formUpdate;
190
+ declare const v1_formsCreateNewRevision: typeof formsCreateNewRevision;
191
+ declare const v1_guestFormGet: typeof guestFormGet;
192
+ declare const v1_healthCheck: typeof healthCheck;
193
+ declare const v1_matsuriForms_v1: typeof matsuriForms_v1;
194
+ declare const v1_root: typeof root;
195
+ declare const v1_signInWithGoogle: typeof signInWithGoogle;
196
+ declare const v1_signUpWithGoogle: typeof signUpWithGoogle;
197
+ declare const v1_submissionCreate: typeof submissionCreate;
198
+ declare const v1_submissionGet: typeof submissionGet;
199
+ declare namespace v1 {
200
+ export {
201
+ v1_formActivateSheetFeature as formActivateSheetFeature,
202
+ v1_formCreate as formCreate,
203
+ v1_formFindAll as formFindAll,
204
+ v1_formGet as formGet,
205
+ v1_formGetByRevision as formGetByRevision,
206
+ v1_formPublish as formPublish,
207
+ v1_formPublishStatusChangeToPrivate as formPublishStatusChangeToPrivate,
208
+ v1_formQuestionCreate as formQuestionCreate,
209
+ v1_formQuestionDelete as formQuestionDelete,
210
+ v1_formQuestionInsert as formQuestionInsert,
211
+ v1_formQuestionUpdate as formQuestionUpdate,
212
+ v1_formUpdate as formUpdate,
213
+ v1_formsCreateNewRevision as formsCreateNewRevision,
214
+ v1_guestFormGet as guestFormGet,
215
+ v1_healthCheck as healthCheck,
216
+ v1_matsuriForms_v1 as matsuriForms_v1,
217
+ v1_root as root,
218
+ v1_signInWithGoogle as signInWithGoogle,
219
+ v1_signUpWithGoogle as signUpWithGoogle,
220
+ v1_submissionCreate as submissionCreate,
221
+ v1_submissionGet as submissionGet,
222
+ };
223
+ }
224
+
225
+ export { formGetByRevision as a, formCreate as b, formFindAll as c, formUpdate as d, formActivateSheetFeature as e, formGet as f, formPublishStatusChangeToPrivate as g, healthCheck as h, formsCreateNewRevision as i, formPublish as j, formQuestionCreate as k, formQuestionInsert as l, formQuestionDelete as m, formQuestionUpdate as n, submissionCreate as o, guestFormGet as p, signInWithGoogle as q, root as r, submissionGet as s, signUpWithGoogle as t, matsuriForms_v1 as u, v1 as v };
@@ -0,0 +1,18 @@
1
+ import * as react_jsx_runtime from 'react/jsx-runtime';
2
+ import { Notification, SubscriptionStatus } from './domain.mjs';
3
+ import { PropsWithChildren } from 'react';
4
+
5
+ declare const NotificationsProvider: ({ token, children, }: PropsWithChildren<{
6
+ token: string;
7
+ }>) => react_jsx_runtime.JSX.Element;
8
+ declare const useNotifications: () => {
9
+ notifications: Notification[];
10
+ isAllRead: boolean;
11
+ refetch: () => void;
12
+ };
13
+ declare const useNotificationPermission: () => {
14
+ checkPermission: (notificationType: string) => SubscriptionStatus | undefined;
15
+ refetch: () => void;
16
+ };
17
+
18
+ export { NotificationsProvider, useNotificationPermission, useNotifications };
@@ -1,15 +1,18 @@
1
- import { PropsWithChildren } from "react";
2
- import { SubscriptionStatus, Notification } from "./domain";
3
- export declare const NotificationsProvider: ({ token, children, }: PropsWithChildren<{
1
+ import * as react_jsx_runtime from 'react/jsx-runtime';
2
+ import { Notification, SubscriptionStatus } from './domain.js';
3
+ import { PropsWithChildren } from 'react';
4
+
5
+ declare const NotificationsProvider: ({ token, children, }: PropsWithChildren<{
4
6
  token: string;
5
- }>) => import("react/jsx-runtime").JSX.Element;
6
- export declare const useNotifications: () => {
7
+ }>) => react_jsx_runtime.JSX.Element;
8
+ declare const useNotifications: () => {
7
9
  notifications: Notification[];
8
10
  isAllRead: boolean;
9
11
  refetch: () => void;
10
12
  };
11
- export declare const useNotificationPermission: () => {
13
+ declare const useNotificationPermission: () => {
12
14
  checkPermission: (notificationType: string) => SubscriptionStatus | undefined;
13
15
  refetch: () => void;
14
16
  };
15
- //# sourceMappingURL=NotificationProvider.d.ts.map
17
+
18
+ export { NotificationsProvider, useNotificationPermission, useNotifications };