@appsemble/utils 0.20.42 → 0.20.44

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 (152) hide show
  1. package/LICENSE.md +126 -0
  2. package/README.md +9 -3
  3. package/api/components/index.d.ts +1 -1
  4. package/api/components/parameters/$filter.d.ts +1 -1
  5. package/api/components/parameters/$orderby.d.ts +1 -1
  6. package/api/components/parameters/$select.d.ts +1 -1
  7. package/api/components/parameters/$team.d.ts +1 -1
  8. package/api/components/parameters/$top.d.ts +1 -1
  9. package/api/components/parameters/appId.d.ts +1 -1
  10. package/api/components/parameters/appOAuth2SecretId.d.ts +1 -1
  11. package/api/components/parameters/appSamlSecretId.d.ts +1 -1
  12. package/api/components/parameters/appServiceId.d.ts +2 -0
  13. package/api/components/parameters/appServiceId.js +8 -0
  14. package/api/components/parameters/assetId.d.ts +1 -1
  15. package/api/components/parameters/blockId.d.ts +1 -1
  16. package/api/components/parameters/blockVersion.d.ts +1 -1
  17. package/api/components/parameters/endpoint.d.ts +1 -1
  18. package/api/components/parameters/index.d.ts +1 -0
  19. package/api/components/parameters/index.js +1 -0
  20. package/api/components/parameters/language.d.ts +1 -1
  21. package/api/components/parameters/organizationId.d.ts +1 -1
  22. package/api/components/parameters/resourceId.d.ts +1 -1
  23. package/api/components/parameters/resourceType.d.ts +1 -1
  24. package/api/components/parameters/screenshotId.d.ts +1 -1
  25. package/api/components/parameters/view.d.ts +1 -1
  26. package/api/components/requestBodies/oauth2Consent.d.ts +1 -1
  27. package/api/components/requestBodies/resource.d.ts +1 -1
  28. package/api/components/requestBodies/user.d.ts +1 -1
  29. package/api/components/responses/app.d.ts +1 -1
  30. package/api/components/responses/blockVersion.d.ts +1 -1
  31. package/api/components/responses/invite.d.ts +1 -1
  32. package/api/components/responses/oauth2AuthorizationCode.d.ts +1 -1
  33. package/api/components/responses/organization.d.ts +1 -1
  34. package/api/components/responses/resource.d.ts +1 -1
  35. package/api/components/responses/subscriptions.d.ts +1 -1
  36. package/api/components/schemas/ActionDefinition.d.ts +1 -1
  37. package/api/components/schemas/App.d.ts +1 -1
  38. package/api/components/schemas/AppAccount.d.ts +1 -1
  39. package/api/components/schemas/AppDefinition.d.ts +1 -1
  40. package/api/components/schemas/AppLayoutDefinition.d.ts +1 -1
  41. package/api/components/schemas/AppMessages.d.ts +1 -1
  42. package/api/components/schemas/AppOAuth2Secret.d.ts +1 -1
  43. package/api/components/schemas/AppServiceSecret.d.ts +2 -0
  44. package/api/components/schemas/AppServiceSecret.js +45 -0
  45. package/api/components/schemas/AppsembleMessages.d.ts +1 -1
  46. package/api/components/schemas/ArrayRemapperDefinition.d.ts +1 -1
  47. package/api/components/schemas/Asset.d.ts +1 -1
  48. package/api/components/schemas/BaseActionDefinition.d.ts +1 -1
  49. package/api/components/schemas/BaseJSONSchema.d.ts +1 -1
  50. package/api/components/schemas/BasePageDefinition.d.ts +1 -1
  51. package/api/components/schemas/BlockDefinition.d.ts +1 -1
  52. package/api/components/schemas/BlockVersion.d.ts +1 -1
  53. package/api/components/schemas/CronDefinition.d.ts +1 -1
  54. package/api/components/schemas/CustomFontDefinition.d.ts +1 -1
  55. package/api/components/schemas/Error.d.ts +1 -1
  56. package/api/components/schemas/EventsDefinition.d.ts +1 -1
  57. package/api/components/schemas/FlowPageActionsDefinition.d.ts +1 -1
  58. package/api/components/schemas/GoogleFontDefinition.d.ts +1 -1
  59. package/api/components/schemas/Health.d.ts +1 -1
  60. package/api/components/schemas/JSONSchema.d.ts +1 -1
  61. package/api/components/schemas/LoopPageActionsDefinition.d.ts +1 -1
  62. package/api/components/schemas/Member.d.ts +1 -1
  63. package/api/components/schemas/NotificationHookDataDefinition.d.ts +1 -1
  64. package/api/components/schemas/NotificationHookDefinition.d.ts +1 -1
  65. package/api/components/schemas/OAuth2AuthorizationCode.d.ts +1 -1
  66. package/api/components/schemas/OAuth2ClientCredentials.d.ts +1 -1
  67. package/api/components/schemas/ObjectRemapperDefinition.d.ts +1 -1
  68. package/api/components/schemas/ObjectRemapperDefinition.js +42 -1
  69. package/api/components/schemas/Organization.d.ts +1 -1
  70. package/api/components/schemas/Rating.d.ts +1 -1
  71. package/api/components/schemas/RemapperDefinition.d.ts +1 -1
  72. package/api/components/schemas/Resource.d.ts +1 -1
  73. package/api/components/schemas/ResourceDefinition.d.ts +1 -1
  74. package/api/components/schemas/ResourceHistoryDefinition.d.ts +1 -1
  75. package/api/components/schemas/ResourceHooksDefinition.d.ts +1 -1
  76. package/api/components/schemas/ResourceSubscription.d.ts +1 -1
  77. package/api/components/schemas/ResourceViewDefinition.d.ts +1 -1
  78. package/api/components/schemas/SSLSecret.d.ts +1 -1
  79. package/api/components/schemas/SSOConfiguration.d.ts +1 -1
  80. package/api/components/schemas/SecurityDefaultDefinition.d.ts +1 -1
  81. package/api/components/schemas/SecurityDefaultDefinition.js +7 -0
  82. package/api/components/schemas/SecurityDefinition.d.ts +1 -1
  83. package/api/components/schemas/SecurityRoleDefinition.d.ts +1 -1
  84. package/api/components/schemas/SubPage.d.ts +1 -1
  85. package/api/components/schemas/TeamsDefinition.d.ts +1 -1
  86. package/api/components/schemas/Theme.d.ts +1 -1
  87. package/api/components/schemas/User.d.ts +1 -1
  88. package/api/components/schemas/UserEmail.d.ts +1 -1
  89. package/api/components/schemas/index.d.ts +1 -0
  90. package/api/components/schemas/index.js +1 -0
  91. package/api/components/schemas/utils.d.ts +1 -1
  92. package/api/components/securitySchemes/app.d.ts +1 -1
  93. package/api/components/securitySchemes/basic.d.ts +1 -1
  94. package/api/components/securitySchemes/cli.d.ts +1 -1
  95. package/api/components/securitySchemes/cli.test.js +1 -1
  96. package/api/components/securitySchemes/studio.d.ts +1 -1
  97. package/api/index.d.ts +1 -1
  98. package/api/paths/action.d.ts +1 -1
  99. package/api/paths/appMessages.d.ts +1 -1
  100. package/api/paths/appOAuth2Secrets.d.ts +1 -1
  101. package/api/paths/appSSLSecrets.d.ts +1 -1
  102. package/api/paths/appSamlSecrets.d.ts +1 -1
  103. package/api/paths/appServiceSecrets.d.ts +2 -0
  104. package/api/paths/appServiceSecrets.js +84 -0
  105. package/api/paths/apps.d.ts +1 -1
  106. package/api/paths/appsembleMessages.d.ts +1 -1
  107. package/api/paths/assets.d.ts +1 -1
  108. package/api/paths/blocks.d.ts +1 -1
  109. package/api/paths/emails.d.ts +1 -1
  110. package/api/paths/health.d.ts +1 -1
  111. package/api/paths/index.js +2 -0
  112. package/api/paths/invite.d.ts +1 -1
  113. package/api/paths/oauth2ClientCredentials.d.ts +1 -1
  114. package/api/paths/oauth2Login.d.ts +1 -1
  115. package/api/paths/oauth2Provider.d.ts +1 -1
  116. package/api/paths/organizations.d.ts +1 -1
  117. package/api/paths/resourceHistory.d.ts +1 -1
  118. package/api/paths/resources.d.ts +1 -1
  119. package/api/paths/saml.d.ts +1 -1
  120. package/api/paths/templates.d.ts +1 -1
  121. package/api/paths/user.d.ts +1 -1
  122. package/api/tags/app.d.ts +1 -1
  123. package/api/tags/appMember.d.ts +1 -1
  124. package/api/tags/asset.d.ts +1 -1
  125. package/api/tags/auth.d.ts +1 -1
  126. package/api/tags/language.d.ts +1 -1
  127. package/api/tags/organization.d.ts +1 -1
  128. package/api/tags/resource.d.ts +1 -1
  129. package/api/tags/template.d.ts +1 -1
  130. package/api/tags/user.d.ts +1 -1
  131. package/appMessages.d.ts +3 -3
  132. package/appMessages.js +1 -1
  133. package/appSecurity.d.ts +1 -1
  134. package/blockUtils.d.ts +1 -1
  135. package/checkAppRole.d.ts +1 -1
  136. package/constants/baseTheme.d.ts +1 -1
  137. package/formatRequestAction.d.ts +2 -2
  138. package/ics.d.ts +1 -1
  139. package/iterApp.d.ts +1 -1
  140. package/jsonschema.d.ts +2 -2
  141. package/langmap.d.ts +1 -1
  142. package/normalize.d.ts +1 -1
  143. package/normalize.js +1 -1
  144. package/package.json +2 -2
  145. package/remap.d.ts +2 -2
  146. package/remap.js +15 -0
  147. package/remap.test.js +126 -0
  148. package/serverActions.d.ts +1 -0
  149. package/serverActions.js +13 -0
  150. package/theme.d.ts +1 -1
  151. package/validation.d.ts +5 -5
  152. package/validation.js +6 -1
package/LICENSE.md ADDED
@@ -0,0 +1,126 @@
1
+ # GNU LESSER GENERAL PUBLIC LICENSE
2
+
3
+ Version 3, 29 June 2007
4
+
5
+ Copyright © 2018 Appsemble B.V. <https://appsemble.com>
6
+
7
+ Everyone is permitted to copy and distribute verbatim copies of this license document, but changing
8
+ it is not allowed.
9
+
10
+ This version of the GNU Lesser General Public License incorporates the terms and conditions of
11
+ version 3 of the GNU General Public License, supplemented by the additional permissions listed
12
+ below.
13
+
14
+ ## 0. Additional Definitions.
15
+
16
+ As used herein, _“this License”_ refers to version 3 of the GNU Lesser General Public License, and
17
+ the _“GNU GPL”_ refers to version 3 of the GNU General Public License.
18
+
19
+ _“The Library”_ refers to a covered work governed by this License, other than an Application or a
20
+ Combined Work as defined below.
21
+
22
+ An _“Application”_ is any work that makes use of an interface provided by the Library, but which is
23
+ not otherwise based on the Library. Defining a subclass of a class defined by the Library is deemed
24
+ a mode of using an interface provided by the Library.
25
+
26
+ A _“Combined Work”_ is a work produced by combining or linking an Application with the Library. The
27
+ particular version of the Library with which the Combined Work was made is also called the _“Linked
28
+ Version”_.
29
+
30
+ The _“Minimal Corresponding Source”_ for a Combined Work means the Corresponding Source for the
31
+ Combined Work, excluding any source code for portions of the Combined Work that, considered in
32
+ isolation, are based on the Application, and not on the Linked Version.
33
+
34
+ The _“Corresponding Application Code”_ for a Combined Work means the object code and/or source code
35
+ for the Application, including any data and utility programs needed for reproducing the Combined
36
+ Work from the Application, but excluding the System Libraries of the Combined Work.
37
+
38
+ ## 1. Exception to Section 3 of the GNU GPL.
39
+
40
+ You may convey a covered work under sections 3 and 4 of this License without being bound by section
41
+ 3 of the GNU GPL.
42
+
43
+ ## 2. Conveying Modified Versions.
44
+
45
+ If you modify a copy of the Library, and, in your modifications, a facility refers to a function or
46
+ data to be supplied by an Application that uses the facility (other than as an argument passed when
47
+ the facility is invoked), then you may convey a copy of the modified version:
48
+
49
+ - a) under this License, provided that you make a good faith effort to ensure that, in the event an
50
+ Application does not supply the function or data, the facility still operates, and performs
51
+ whatever part of its purpose remains meaningful, or
52
+ - b) under the GNU GPL, with none of the additional permissions of this License applicable to that
53
+ copy.
54
+
55
+ ## 3. Object Code Incorporating Material from Library Header Files.
56
+
57
+ The object code form of an Application may incorporate material from a header file that is part of
58
+ the Library. You may convey such object code under terms of your choice, provided that, if the
59
+ incorporated material is not limited to numerical parameters, data structure layouts and accessors,
60
+ or small macros, inline functions and templates (ten or fewer lines in length), you do both of the
61
+ following:
62
+
63
+ - a) Give prominent notice with each copy of the object code that the Library is used in it and that
64
+ the Library and its use are covered by this License.
65
+ - b) Accompany the object code with a copy of the GNU GPL and this license document.
66
+
67
+ ## 4. Combined Works.
68
+
69
+ You may convey a Combined Work under terms of your choice that, taken together, effectively do not
70
+ restrict modification of the portions of the Library contained in the Combined Work and reverse
71
+ engineering for debugging such modifications, if you also do each of the following:
72
+
73
+ - a) Give prominent notice with each copy of the Combined Work that the Library is used in it and
74
+ that the Library and its use are covered by this License.
75
+ - b) Accompany the Combined Work with a copy of the GNU GPL and this license document.
76
+ - c) For a Combined Work that displays copyright notices during execution, include the copyright
77
+ notice for the Library among these notices, as well as a reference directing the user to the
78
+ copies of the GNU GPL and this license document.
79
+ - d) Do one of the following:
80
+ 1. Convey the Minimal Corresponding Source under the terms of this License, and the Corresponding
81
+ Application Code in a form suitable for, and under terms that permit, the user to recombine or
82
+ relink the Application with a modified version of the Linked Version to produce a modified
83
+ Combined Work, in the manner specified by section 6 of the GNU GPL for conveying Corresponding
84
+ Source.
85
+ 2. Use a suitable shared library mechanism for linking with the Library. A suitable mechanism is
86
+ one that (a) uses at run time a copy of the Library already present on the user’s computer
87
+ system, and (b) will operate properly with a modified version of the Library that is
88
+ interface-compatible with the Linked Version.
89
+ - e) Provide Installation Information, but only if you would otherwise be required to provide such
90
+ information under section 6 of the GNU GPL, and only to the extent that such information is
91
+ necessary to install and execute a modified version of the Combined Work produced by recombining
92
+ or relinking the Application with a modified version of the Linked Version. (If you use option
93
+ 4d0, the Installation Information must accompany the Minimal Corresponding Source and
94
+ Corresponding Application Code. If you use option 4d1, you must provide the Installation
95
+ Information in the manner specified by section 6 of the GNU GPL for conveying Corresponding
96
+ Source.)
97
+
98
+ ## 5. Combined Libraries.
99
+
100
+ You may place library facilities that are a work based on the Library side by side in a single
101
+ library together with other library facilities that are not Applications and are not covered by this
102
+ License, and convey such a combined library under terms of your choice, if you do both of the
103
+ following:
104
+
105
+ - a) Accompany the combined library with a copy of the same work based on the Library, uncombined
106
+ with any other library facilities, conveyed under the terms of this License.
107
+ - b) Give prominent notice with the combined library that part of it is a work based on the Library,
108
+ and explaining where to find the accompanying uncombined form of the same work.
109
+
110
+ ## 6. Revised Versions of the GNU Lesser General Public License.
111
+
112
+ The Free Software Foundation may publish revised and/or new versions of the GNU Lesser General
113
+ Public License from time to time. Such new versions will be similar in spirit to the present
114
+ version, but may differ in detail to address new problems or concerns.
115
+
116
+ Each version is given a distinguishing version number. If the Library as you received it specifies
117
+ that a certain numbered version of the GNU Lesser General Public License _“or any later version”_
118
+ applies to it, you have the option of following the terms and conditions either of that published
119
+ version or of any later version published by the Free Software Foundation. If the Library as you
120
+ received it does not specify a version number of the GNU Lesser General Public License, you may
121
+ choose any version of the GNU Lesser General Public License ever published by the Free Software
122
+ Foundation.
123
+
124
+ If the Library as you received it specifies that a proxy can decide whether future versions of the
125
+ GNU Lesser General Public License shall apply, that proxy’s public statement of acceptance of any
126
+ version is permanent authorization for you to choose that version for the Library.
package/README.md CHANGED
@@ -1,11 +1,17 @@
1
- # ![](https://gitlab.com/appsemble/appsemble/-/raw/0.20.42/config/assets/logo.svg) Appsemble Utilities
1
+ # ![](https://gitlab.com/appsemble/appsemble/-/raw/0.20.44/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.20.42/pipeline.svg)](https://gitlab.com/appsemble/appsemble/-/releases/0.20.42)
6
+ [![GitLab CI](https://gitlab.com/appsemble/appsemble/badges/0.20.44/pipeline.svg)](https://gitlab.com/appsemble/appsemble/-/releases/0.20.44)
7
7
  [![Prettier](https://img.shields.io/badge/code_style-prettier-ff69b4.svg)](https://prettier.io)
8
8
 
9
+ ## Table of Contents
10
+
11
+ - [Installation](#installation)
12
+ - [Usage](#usage)
13
+ - [License](#license)
14
+
9
15
  ## Installation
10
16
 
11
17
  ```sh
@@ -20,5 +26,5 @@ not guaranteed.
20
26
 
21
27
  ## License
22
28
 
23
- [LGPL-3.0-only](https://gitlab.com/appsemble/appsemble/-/blob/0.20.42/LICENSE.md) ©
29
+ [LGPL-3.0-only](https://gitlab.com/appsemble/appsemble/-/blob/0.20.44/LICENSE.md) ©
24
30
  [Appsemble](https://appsemble.com)
@@ -1,2 +1,2 @@
1
- import { OpenAPIV3 } from 'openapi-types';
1
+ import { type OpenAPIV3 } from 'openapi-types';
2
2
  export declare const components: OpenAPIV3.ComponentsObject;
@@ -1,2 +1,2 @@
1
- import { OpenAPIV3 } from 'openapi-types';
1
+ import { type OpenAPIV3 } from 'openapi-types';
2
2
  export declare const $filter: OpenAPIV3.ParameterObject;
@@ -1,2 +1,2 @@
1
- import { OpenAPIV3 } from 'openapi-types';
1
+ import { type OpenAPIV3 } from 'openapi-types';
2
2
  export declare const $orderby: OpenAPIV3.ParameterObject;
@@ -1,2 +1,2 @@
1
- import { OpenAPIV3 } from 'openapi-types';
1
+ import { type OpenAPIV3 } from 'openapi-types';
2
2
  export declare const $select: OpenAPIV3.ParameterObject;
@@ -1,2 +1,2 @@
1
- import { OpenAPIV3 } from 'openapi-types';
1
+ import { type OpenAPIV3 } from 'openapi-types';
2
2
  export declare const $team: OpenAPIV3.ParameterObject;
@@ -1,2 +1,2 @@
1
- import { OpenAPIV3 } from 'openapi-types';
1
+ import { type OpenAPIV3 } from 'openapi-types';
2
2
  export declare const $top: OpenAPIV3.ParameterObject;
@@ -1,2 +1,2 @@
1
- import { OpenAPIV3 } from 'openapi-types';
1
+ import { type OpenAPIV3 } from 'openapi-types';
2
2
  export declare const appId: OpenAPIV3.ParameterObject;
@@ -1,2 +1,2 @@
1
- import { OpenAPIV3 } from 'openapi-types';
1
+ import { type OpenAPIV3 } from 'openapi-types';
2
2
  export declare const appOAuth2SecretId: OpenAPIV3.ParameterObject;
@@ -1,2 +1,2 @@
1
- import { OpenAPIV3 } from 'openapi-types';
1
+ import { type OpenAPIV3 } from 'openapi-types';
2
2
  export declare const appSamlSecretId: OpenAPIV3.ParameterObject;
@@ -0,0 +1,2 @@
1
+ import { type OpenAPIV3 } from 'openapi-types';
2
+ export declare const appServiceId: OpenAPIV3.ParameterObject;
@@ -0,0 +1,8 @@
1
+ export const appServiceId = {
2
+ name: 'appServiceId',
3
+ in: 'path',
4
+ description: 'The id of the app service secret on which to perform an operation',
5
+ required: true,
6
+ schema: { type: 'string' },
7
+ };
8
+ //# sourceMappingURL=appServiceId.js.map
@@ -1,2 +1,2 @@
1
- import { OpenAPIV3 } from 'openapi-types';
1
+ import { type OpenAPIV3 } from 'openapi-types';
2
2
  export declare const assetId: OpenAPIV3.ParameterObject;
@@ -1,2 +1,2 @@
1
- import { OpenAPIV3 } from 'openapi-types';
1
+ import { type OpenAPIV3 } from 'openapi-types';
2
2
  export declare const blockId: OpenAPIV3.ParameterObject;
@@ -1,2 +1,2 @@
1
- import { OpenAPIV3 } from 'openapi-types';
1
+ import { type OpenAPIV3 } from 'openapi-types';
2
2
  export declare const blockVersion: OpenAPIV3.ParameterObject;
@@ -1,2 +1,2 @@
1
- import { OpenAPIV3 } from 'openapi-types';
1
+ import { type OpenAPIV3 } from 'openapi-types';
2
2
  export declare const endpoint: OpenAPIV3.ParameterObject;
@@ -15,4 +15,5 @@ export * from './organizationId.js';
15
15
  export * from './resourceId.js';
16
16
  export * from './resourceType.js';
17
17
  export * from './screenshotId.js';
18
+ export * from './appServiceId.js';
18
19
  export * from './view.js';
@@ -15,5 +15,6 @@ export * from './organizationId.js';
15
15
  export * from './resourceId.js';
16
16
  export * from './resourceType.js';
17
17
  export * from './screenshotId.js';
18
+ export * from './appServiceId.js';
18
19
  export * from './view.js';
19
20
  //# sourceMappingURL=index.js.map
@@ -1,2 +1,2 @@
1
- import { OpenAPIV3 } from 'openapi-types';
1
+ import { type OpenAPIV3 } from 'openapi-types';
2
2
  export declare const language: OpenAPIV3.ParameterObject;
@@ -1,2 +1,2 @@
1
- import { OpenAPIV3 } from 'openapi-types';
1
+ import { type OpenAPIV3 } from 'openapi-types';
2
2
  export declare const organizationId: OpenAPIV3.ParameterObject;
@@ -1,2 +1,2 @@
1
- import { OpenAPIV3 } from 'openapi-types';
1
+ import { type OpenAPIV3 } from 'openapi-types';
2
2
  export declare const resourceId: OpenAPIV3.ParameterObject;
@@ -1,2 +1,2 @@
1
- import { OpenAPIV3 } from 'openapi-types';
1
+ import { type OpenAPIV3 } from 'openapi-types';
2
2
  export declare const resourceType: OpenAPIV3.ParameterObject;
@@ -1,2 +1,2 @@
1
- import { OpenAPIV3 } from 'openapi-types';
1
+ import { type OpenAPIV3 } from 'openapi-types';
2
2
  export declare const screenshotId: OpenAPIV3.ParameterObject;
@@ -1,2 +1,2 @@
1
- import { OpenAPIV3 } from 'openapi-types';
1
+ import { type OpenAPIV3 } from 'openapi-types';
2
2
  export declare const view: OpenAPIV3.ParameterObject;
@@ -1,2 +1,2 @@
1
- import { OpenAPIV3 } from 'openapi-types';
1
+ import { type OpenAPIV3 } from 'openapi-types';
2
2
  export declare const oauth2Consent: OpenAPIV3.RequestBodyObject;
@@ -1,2 +1,2 @@
1
- import { OpenAPIV3 } from 'openapi-types';
1
+ import { type OpenAPIV3 } from 'openapi-types';
2
2
  export declare const resource: OpenAPIV3.RequestBodyObject;
@@ -1,2 +1,2 @@
1
- import { OpenAPIV3 } from 'openapi-types';
1
+ import { type OpenAPIV3 } from 'openapi-types';
2
2
  export declare const user: OpenAPIV3.RequestBodyObject;
@@ -1,2 +1,2 @@
1
- import { OpenAPIV3 } from 'openapi-types';
1
+ import { type OpenAPIV3 } from 'openapi-types';
2
2
  export declare const app: OpenAPIV3.ResponseObject;
@@ -1,2 +1,2 @@
1
- import { OpenAPIV3 } from 'openapi-types';
1
+ import { type OpenAPIV3 } from 'openapi-types';
2
2
  export declare const blockVersion: OpenAPIV3.ResponseObject;
@@ -1,2 +1,2 @@
1
- import { OpenAPIV3 } from 'openapi-types';
1
+ import { type OpenAPIV3 } from 'openapi-types';
2
2
  export declare const invite: OpenAPIV3.ResponseObject;
@@ -1,2 +1,2 @@
1
- import { OpenAPIV3 } from 'openapi-types';
1
+ import { type OpenAPIV3 } from 'openapi-types';
2
2
  export declare const oauth2AuthorizationCode: OpenAPIV3.ResponseObject;
@@ -1,2 +1,2 @@
1
- import { OpenAPIV3 } from 'openapi-types';
1
+ import { type OpenAPIV3 } from 'openapi-types';
2
2
  export declare const organization: OpenAPIV3.ResponseObject;
@@ -1,2 +1,2 @@
1
- import { OpenAPIV3 } from 'openapi-types';
1
+ import { type OpenAPIV3 } from 'openapi-types';
2
2
  export declare const resource: OpenAPIV3.ResponseObject;
@@ -1,2 +1,2 @@
1
- import { OpenAPIV3 } from 'openapi-types';
1
+ import { type OpenAPIV3 } from 'openapi-types';
2
2
  export declare const subscriptions: OpenAPIV3.ResponseObject;
@@ -1,2 +1,2 @@
1
- import { OpenAPIV3 } from 'openapi-types';
1
+ import { type OpenAPIV3 } from 'openapi-types';
2
2
  export declare const ActionDefinition: OpenAPIV3.NonArraySchemaObject;
@@ -1,2 +1,2 @@
1
- import { OpenAPIV3 } from 'openapi-types';
1
+ import { type OpenAPIV3 } from 'openapi-types';
2
2
  export declare const App: OpenAPIV3.NonArraySchemaObject;
@@ -1,2 +1,2 @@
1
- import { OpenAPIV3 } from 'openapi-types';
1
+ import { type OpenAPIV3 } from 'openapi-types';
2
2
  export declare const AppAccount: OpenAPIV3.NonArraySchemaObject;
@@ -1,2 +1,2 @@
1
- import { OpenAPIV3 } from 'openapi-types';
1
+ import { type OpenAPIV3 } from 'openapi-types';
2
2
  export declare const AppDefinition: OpenAPIV3.NonArraySchemaObject;
@@ -1,2 +1,2 @@
1
- import { OpenAPIV3 } from 'openapi-types';
1
+ import { type OpenAPIV3 } from 'openapi-types';
2
2
  export declare const AppLayoutDefinition: OpenAPIV3.NonArraySchemaObject;
@@ -1,2 +1,2 @@
1
- import { OpenAPIV3 } from 'openapi-types';
1
+ import { type OpenAPIV3 } from 'openapi-types';
2
2
  export declare const AppMessages: OpenAPIV3.NonArraySchemaObject;
@@ -1,2 +1,2 @@
1
- import { OpenAPIV3 } from 'openapi-types';
1
+ import { type OpenAPIV3 } from 'openapi-types';
2
2
  export declare const AppOAuth2Secret: OpenAPIV3.NonArraySchemaObject;
@@ -0,0 +1,2 @@
1
+ import { type OpenAPIV3 } from 'openapi-types';
2
+ export declare const AppServiceSecret: OpenAPIV3.NonArraySchemaObject;
@@ -0,0 +1,45 @@
1
+ export const AppServiceSecret = {
2
+ type: 'object',
3
+ description: 'App service secret settings',
4
+ required: ['urlPatterns', 'authenticationMethod'],
5
+ additionalProperties: false,
6
+ properties: {
7
+ id: {
8
+ type: 'number',
9
+ description: 'An autogenerated ID.',
10
+ readOnly: true,
11
+ },
12
+ serviceName: {
13
+ type: 'string',
14
+ description: 'An optional name to give extra clarity what the secret is used for.',
15
+ },
16
+ urlPatterns: {
17
+ type: 'string',
18
+ description: 'The url pattern that is matched when a proxied request action is called.',
19
+ },
20
+ authenticationMethod: {
21
+ enum: [
22
+ 'http-basic',
23
+ 'client-certificate',
24
+ 'client-credentials',
25
+ 'cookie',
26
+ 'custom-header',
27
+ 'query-parameter',
28
+ ],
29
+ description: 'The method to authenticate the request action with.',
30
+ },
31
+ identifier: {
32
+ type: 'string',
33
+ description: 'The parameter name, header name, username or certificate that goes with the secret.',
34
+ },
35
+ secret: {
36
+ type: 'string',
37
+ description: 'The secret to authenticate the proxied outgoing request with.',
38
+ },
39
+ tokenUrl: {
40
+ type: 'string',
41
+ description: 'The URL to request access tokens from.',
42
+ },
43
+ },
44
+ };
45
+ //# sourceMappingURL=AppServiceSecret.js.map
@@ -1,2 +1,2 @@
1
- import { OpenAPIV3 } from 'openapi-types';
1
+ import { type OpenAPIV3 } from 'openapi-types';
2
2
  export declare const AppsembleMessages: OpenAPIV3.NonArraySchemaObject;
@@ -1,2 +1,2 @@
1
- import { OpenAPIV3 } from 'openapi-types';
1
+ import { type OpenAPIV3 } from 'openapi-types';
2
2
  export declare const ArrayRemapperDefinition: OpenAPIV3.ArraySchemaObject;
@@ -1,2 +1,2 @@
1
- import { OpenAPIV3 } from 'openapi-types';
1
+ import { type OpenAPIV3 } from 'openapi-types';
2
2
  export declare const Asset: OpenAPIV3.NonArraySchemaObject;
@@ -1,2 +1,2 @@
1
- import { OpenAPIV3 } from 'openapi-types';
1
+ import { type OpenAPIV3 } from 'openapi-types';
2
2
  export declare const BaseActionDefinition: OpenAPIV3.NonArraySchemaObject;
@@ -1,2 +1,2 @@
1
- import { OpenAPIV3 } from 'openapi-types';
1
+ import { type OpenAPIV3 } from 'openapi-types';
2
2
  export declare const BaseJSONSchema: OpenAPIV3.NonArraySchemaObject;
@@ -1,2 +1,2 @@
1
- import { OpenAPIV3 } from 'openapi-types';
1
+ import { type OpenAPIV3 } from 'openapi-types';
2
2
  export declare const BasePageDefinition: OpenAPIV3.NonArraySchemaObject;
@@ -1,2 +1,2 @@
1
- import { OpenAPIV3 } from 'openapi-types';
1
+ import { type OpenAPIV3 } from 'openapi-types';
2
2
  export declare const BlockDefinition: OpenAPIV3.NonArraySchemaObject;
@@ -1,2 +1,2 @@
1
- import { OpenAPIV3 } from 'openapi-types';
1
+ import { type OpenAPIV3 } from 'openapi-types';
2
2
  export declare const BlockVersion: OpenAPIV3.NonArraySchemaObject;
@@ -1,2 +1,2 @@
1
- import { OpenAPIV3 } from 'openapi-types';
1
+ import { type OpenAPIV3 } from 'openapi-types';
2
2
  export declare const CronDefinition: OpenAPIV3.NonArraySchemaObject;
@@ -1,2 +1,2 @@
1
- import { OpenAPIV3 } from 'openapi-types';
1
+ import { type OpenAPIV3 } from 'openapi-types';
2
2
  export declare const CustomFontDefinition: OpenAPIV3.NonArraySchemaObject;
@@ -1,2 +1,2 @@
1
- import { OpenAPIV3 } from 'openapi-types';
1
+ import { type OpenAPIV3 } from 'openapi-types';
2
2
  export declare const Error: OpenAPIV3.NonArraySchemaObject;
@@ -1,2 +1,2 @@
1
- import { OpenAPIV3 } from 'openapi-types';
1
+ import { type OpenAPIV3 } from 'openapi-types';
2
2
  export declare const EventsDefinition: OpenAPIV3.NonArraySchemaObject;
@@ -1,2 +1,2 @@
1
- import { OpenAPIV3 } from 'openapi-types';
1
+ import { type OpenAPIV3 } from 'openapi-types';
2
2
  export declare const FlowPageActionsDefinition: OpenAPIV3.NonArraySchemaObject;
@@ -1,2 +1,2 @@
1
- import { OpenAPIV3 } from 'openapi-types';
1
+ import { type OpenAPIV3 } from 'openapi-types';
2
2
  export declare const GoogleFontDefinition: OpenAPIV3.NonArraySchemaObject;
@@ -1,2 +1,2 @@
1
- import { OpenAPIV3 } from 'openapi-types';
1
+ import { type OpenAPIV3 } from 'openapi-types';
2
2
  export declare const Health: OpenAPIV3.NonArraySchemaObject;
@@ -1,2 +1,2 @@
1
- import { OpenAPIV3 } from 'openapi-types';
1
+ import { type OpenAPIV3 } from 'openapi-types';
2
2
  export declare const JSONSchema: OpenAPIV3.NonArraySchemaObject;
@@ -1,2 +1,2 @@
1
- import { OpenAPIV3 } from 'openapi-types';
1
+ import { type OpenAPIV3 } from 'openapi-types';
2
2
  export declare const LoopPageActionsDefinition: OpenAPIV3.NonArraySchemaObject;
@@ -1,2 +1,2 @@
1
- import { OpenAPIV3 } from 'openapi-types';
1
+ import { type OpenAPIV3 } from 'openapi-types';
2
2
  export declare const Member: OpenAPIV3.NonArraySchemaObject;
@@ -1,2 +1,2 @@
1
- import { OpenAPIV3 } from 'openapi-types';
1
+ import { type OpenAPIV3 } from 'openapi-types';
2
2
  export declare const NotificationHookDataDefinition: OpenAPIV3.NonArraySchemaObject;
@@ -1,2 +1,2 @@
1
- import { OpenAPIV3 } from 'openapi-types';
1
+ import { type OpenAPIV3 } from 'openapi-types';
2
2
  export declare const NotificationHookDefinition: OpenAPIV3.NonArraySchemaObject;
@@ -1,2 +1,2 @@
1
- import { OpenAPIV3 } from 'openapi-types';
1
+ import { type OpenAPIV3 } from 'openapi-types';
2
2
  export declare const OAuth2AuthorizationCode: OpenAPIV3.NonArraySchemaObject;
@@ -1,2 +1,2 @@
1
- import { OpenAPIV3 } from 'openapi-types';
1
+ import { type OpenAPIV3 } from 'openapi-types';
2
2
  export declare const OAuth2ClientCredentials: OpenAPIV3.NonArraySchemaObject;
@@ -1,2 +1,2 @@
1
- import { OpenAPIV3 } from 'openapi-types';
1
+ import { type OpenAPIV3 } from 'openapi-types';
2
2
  export declare const ObjectRemapperDefinition: OpenAPIV3.NonArraySchemaObject;
@@ -97,7 +97,7 @@ For example:
97
97
  \`\`\`yaml
98
98
  - static: 02/11/2014 # The date string to parse
99
99
  - date.parse: MM/dd/yyyy # The given format to parse the date with
100
- # => Tue Feb 11 2014 00:00:00
100
+ # => Tue Feb 11 2014 00:00:00
101
101
  \`\`\`
102
102
 
103
103
  See [date-fns](https://date-fns.org/v2.29.3/docs/parse) for the supported formats.
@@ -121,6 +121,18 @@ date.parse:
121
121
  description: `Compare all computed remapper values against each other.
122
122
 
123
123
  Returns \`true\` if all entries are equal, otherwise \`false\`.
124
+ `,
125
+ },
126
+ not: {
127
+ type: 'array',
128
+ items: {
129
+ $ref: '#/components/schemas/RemapperDefinition',
130
+ },
131
+ description: `Compare all computed remapper values against the first.
132
+
133
+ Returns \`false\` if all entries are equal to the first entry, otherwise \`true\`.
134
+
135
+ If only 1 or less are passed to it \`false\` is returned.
124
136
  `,
125
137
  },
126
138
  step: {
@@ -204,6 +216,29 @@ Returns value of then if condition is truthy, otherwise it returns the value of
204
216
  },
205
217
  },
206
218
  },
219
+ match: {
220
+ type: 'array',
221
+ description: `Check if any case results in a truthy value.
222
+
223
+ Returns the value of the first case where the condition equals true, otherwise returns null.
224
+ `,
225
+ items: {
226
+ type: 'object',
227
+ additionalProperties: false,
228
+ required: ['case', 'value'],
229
+ description: '',
230
+ properties: {
231
+ case: {
232
+ $ref: '#/components/schemas/RemapperDefinition',
233
+ description: 'The condition to check.',
234
+ },
235
+ value: {
236
+ $ref: '#/components/schemas/RemapperDefinition',
237
+ description: 'This remapper is used if the case is true',
238
+ },
239
+ },
240
+ },
241
+ },
207
242
  lt: {
208
243
  type: 'array',
209
244
  description: `Compare the first computed remapper value with the second computed remapper value.
@@ -215,6 +250,12 @@ Returns \`true\` if the first entry is lesser than the second entry.`,
215
250
  $ref: '#/components/schemas/RemapperDefinition',
216
251
  },
217
252
  },
253
+ log: {
254
+ enum: ['info', 'warn', 'error'],
255
+ description: `Logs its input data (returns it) and its context.
256
+
257
+ The value to set is the log level.`,
258
+ },
218
259
  'null.strip': {
219
260
  description: 'Strip all null, undefined, and empty array values from an object.',
220
261
  anyOf: [