@appsemble/utils 0.36.3 → 0.36.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -1,9 +1,9 @@
1
- # ![](https://gitlab.com/appsemble/appsemble/-/raw/0.36.3/config/assets/logo.svg) Appsemble Utilities
1
+ # ![](https://gitlab.com/appsemble/appsemble/-/raw/0.36.4/config/assets/logo.svg) Appsemble Utilities
2
2
 
3
3
  > Internal utility functions used across multiple Appsemble projects.
4
4
 
5
5
  [![npm](https://img.shields.io/npm/v/@appsemble/utils)](https://www.npmjs.com/package/@appsemble/utils)
6
- [![GitLab CI](https://gitlab.com/appsemble/appsemble/badges/0.36.3/pipeline.svg)](https://gitlab.com/appsemble/appsemble/-/releases/0.36.3)
6
+ [![GitLab CI](https://gitlab.com/appsemble/appsemble/badges/0.36.4/pipeline.svg)](https://gitlab.com/appsemble/appsemble/-/releases/0.36.4)
7
7
  [![Prettier](https://img.shields.io/badge/code_style-prettier-ff69b4.svg)](https://prettier.io)
8
8
 
9
9
  ## Table of Contents
@@ -26,5 +26,5 @@ not guaranteed.
26
26
 
27
27
  ## License
28
28
 
29
- [LGPL-3.0-only](https://gitlab.com/appsemble/appsemble/-/blob/0.36.3/LICENSE.md) ©
29
+ [LGPL-3.0-only](https://gitlab.com/appsemble/appsemble/-/blob/0.36.4/LICENSE.md) ©
30
30
  [Appsemble](https://appsemble.com)
@@ -22,6 +22,7 @@ export declare const paths: {
22
22
  '/api/apps/{appId}/demo-groups': import("openapi-types").OpenAPIV3.PathItemObject<{}>;
23
23
  '/api/apps/{appId}/demo-members': import("openapi-types").OpenAPIV3.PathItemObject<{}>;
24
24
  '/api/apps/{appId}/email': import("openapi-types").OpenAPIV3.PathItemObject<{}>;
25
+ '/api/undelivered-emails': import("openapi-types").OpenAPIV3.PathItemObject<{}>;
25
26
  '/api/apps/{appId}/payment': import("openapi-types").OpenAPIV3.PathItemObject<{}>;
26
27
  '/api/apps/{appId}/accept-payment': import("openapi-types").OpenAPIV3.PathItemObject<{}>;
27
28
  '/api/apps/{appId}/export': import("openapi-types").OpenAPIV3.PathItemObject<{}>;
@@ -151,6 +151,7 @@ import { pathItems as timezones } from './timezones.js';
151
151
  import { pathItems as completedTrainings } from './trainings/completedTrainings.js';
152
152
  import { pathItems as completeTraining } from './trainings/completeTraining.js';
153
153
  import { pathItems as trainingIds } from './trainings/trainingIds.js';
154
+ import { pathItems as undeliveredEmails } from './undeliveredEmails.js';
154
155
  import { pathItems as usersCurrentAppsAccounts } from './users/current/apps/accounts.js';
155
156
  import { pathItems as usersCurrentAppsAppIdAccount } from './users/current/apps/appId/account.js';
156
157
  import { pathItems as usersCurrentApps } from './users/current/apps.js';
@@ -190,6 +191,7 @@ export const paths = {
190
191
  '/api/apps/{appId}/demo-groups': appsAppIdDemoGroups,
191
192
  '/api/apps/{appId}/demo-members': appsAppIdDemoMembers,
192
193
  '/api/apps/{appId}/email': appsAppIdEmail,
194
+ '/api/undelivered-emails': undeliveredEmails,
193
195
  '/api/apps/{appId}/payment': appsAppIdPayments,
194
196
  '/api/apps/{appId}/accept-payment': acceptAppPayment,
195
197
  '/api/apps/{appId}/export': appsAppIdExport,
@@ -0,0 +1,2 @@
1
+ import { type OpenAPIV3 } from 'openapi-types';
2
+ export declare const pathItems: OpenAPIV3.PathItemObject;
@@ -0,0 +1,21 @@
1
+ export const pathItems = {
2
+ post: {
3
+ tags: ['main', 'emails'],
4
+ description: 'Webhook for delivering response on undelivered emails.',
5
+ parameters: [
6
+ {
7
+ name: 'secret',
8
+ schema: { type: 'string' },
9
+ description: 'Secret used to authenticate incoming Postal webhooks.',
10
+ in: 'query',
11
+ },
12
+ ],
13
+ operationId: 'undeliveredEmails',
14
+ responses: {
15
+ 200: {
16
+ description: 'Response sent to Postal, should be 200 OK if we receive the webhook, regardless of our internals.',
17
+ },
18
+ },
19
+ },
20
+ };
21
+ //# sourceMappingURL=undeliveredEmails.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@appsemble/utils",
3
- "version": "0.36.3",
3
+ "version": "0.36.4",
4
4
  "description": "Utility functions used in Appsemble internally",
5
5
  "keywords": [
6
6
  "app",
@@ -39,8 +39,8 @@
39
39
  "test": "vitest"
40
40
  },
41
41
  "dependencies": {
42
- "@appsemble/lang-sdk": "0.36.3",
43
- "@appsemble/types": "0.36.3",
42
+ "@appsemble/lang-sdk": "0.36.4",
43
+ "@appsemble/types": "0.36.4",
44
44
  "@fortawesome/fontawesome-common-types": "^6.0.0",
45
45
  "axios": "^1.0.0",
46
46
  "langmap": "^0.0.16",