@remnawave/backend-contract 3.4.10 → 3.4.11

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 (227) hide show
  1. package/build/backend/api/controllers/config-profiles.d.ts +4 -0
  2. package/build/backend/api/controllers/config-profiles.d.ts.map +1 -1
  3. package/build/backend/api/controllers/config-profiles.js +4 -0
  4. package/build/backend/api/controllers/external-squads.d.ts +4 -0
  5. package/build/backend/api/controllers/external-squads.d.ts.map +1 -1
  6. package/build/backend/api/controllers/external-squads.js +4 -0
  7. package/build/backend/api/controllers/internal-squads.d.ts +4 -0
  8. package/build/backend/api/controllers/internal-squads.d.ts.map +1 -1
  9. package/build/backend/api/controllers/internal-squads.js +4 -0
  10. package/build/backend/api/controllers/node-plugins.d.ts +4 -0
  11. package/build/backend/api/controllers/node-plugins.d.ts.map +1 -1
  12. package/build/backend/api/controllers/node-plugins.js +4 -0
  13. package/build/backend/api/controllers/subscription-page-configs.d.ts +4 -0
  14. package/build/backend/api/controllers/subscription-page-configs.d.ts.map +1 -1
  15. package/build/backend/api/controllers/subscription-page-configs.js +4 -0
  16. package/build/backend/api/controllers/subscription-template.d.ts +4 -0
  17. package/build/backend/api/controllers/subscription-template.d.ts.map +1 -1
  18. package/build/backend/api/controllers/subscription-template.js +4 -0
  19. package/build/backend/api/routes.d.ts +24 -0
  20. package/build/backend/api/routes.d.ts.map +1 -1
  21. package/build/backend/api/routes.js +24 -0
  22. package/build/backend/commands/config-profiles/actions/reorder.command.d.ts +1 -0
  23. package/build/backend/commands/config-profiles/actions/reorder.command.d.ts.map +1 -1
  24. package/build/backend/commands/config-profiles/create-config-profile.command.d.ts +1 -0
  25. package/build/backend/commands/config-profiles/create-config-profile.command.d.ts.map +1 -1
  26. package/build/backend/commands/config-profiles/get-computed-config-profile-by-uuid.command.d.ts +1 -0
  27. package/build/backend/commands/config-profiles/get-computed-config-profile-by-uuid.command.d.ts.map +1 -1
  28. package/build/backend/commands/config-profiles/get-config-profile-by-uuid.command.d.ts +1 -0
  29. package/build/backend/commands/config-profiles/get-config-profile-by-uuid.command.d.ts.map +1 -1
  30. package/build/backend/commands/config-profiles/get-config-profiles.command.d.ts +1 -0
  31. package/build/backend/commands/config-profiles/get-config-profiles.command.d.ts.map +1 -1
  32. package/build/backend/commands/config-profiles/index.d.ts +1 -0
  33. package/build/backend/commands/config-profiles/index.d.ts.map +1 -1
  34. package/build/backend/commands/config-profiles/index.js +1 -0
  35. package/build/backend/commands/config-profiles/tags/get-config-profiles-tags.command.d.ts +13 -0
  36. package/build/backend/commands/config-profiles/tags/get-config-profiles-tags.command.d.ts.map +1 -0
  37. package/build/backend/commands/config-profiles/tags/get-config-profiles-tags.command.js +17 -0
  38. package/build/backend/commands/config-profiles/tags/index.d.ts +3 -0
  39. package/build/backend/commands/config-profiles/tags/index.d.ts.map +1 -0
  40. package/build/backend/commands/config-profiles/tags/index.js +18 -0
  41. package/build/backend/commands/config-profiles/tags/set-config-profile-tags.command.d.ts +19 -0
  42. package/build/backend/commands/config-profiles/tags/set-config-profile-tags.command.d.ts.map +1 -0
  43. package/build/backend/commands/config-profiles/tags/set-config-profile-tags.command.js +23 -0
  44. package/build/backend/commands/config-profiles/update-config-profile.command.d.ts +1 -0
  45. package/build/backend/commands/config-profiles/update-config-profile.command.d.ts.map +1 -1
  46. package/build/backend/commands/external-squads/actions/reorder.command.d.ts +1 -0
  47. package/build/backend/commands/external-squads/actions/reorder.command.d.ts.map +1 -1
  48. package/build/backend/commands/external-squads/create-external-squad.command.d.ts +1 -0
  49. package/build/backend/commands/external-squads/create-external-squad.command.d.ts.map +1 -1
  50. package/build/backend/commands/external-squads/get-external-squad-by-uuid.command.d.ts +1 -0
  51. package/build/backend/commands/external-squads/get-external-squad-by-uuid.command.d.ts.map +1 -1
  52. package/build/backend/commands/external-squads/get-external-squads.command.d.ts +1 -0
  53. package/build/backend/commands/external-squads/get-external-squads.command.d.ts.map +1 -1
  54. package/build/backend/commands/external-squads/index.d.ts +1 -0
  55. package/build/backend/commands/external-squads/index.d.ts.map +1 -1
  56. package/build/backend/commands/external-squads/index.js +1 -0
  57. package/build/backend/commands/external-squads/tags/get-external-squads-tags.command.d.ts +13 -0
  58. package/build/backend/commands/external-squads/tags/get-external-squads-tags.command.d.ts.map +1 -0
  59. package/build/backend/commands/external-squads/tags/get-external-squads-tags.command.js +17 -0
  60. package/build/backend/commands/external-squads/tags/index.d.ts +3 -0
  61. package/build/backend/commands/external-squads/tags/index.d.ts.map +1 -0
  62. package/build/backend/commands/external-squads/tags/index.js +18 -0
  63. package/build/backend/commands/external-squads/tags/set-external-squad-tags.command.d.ts +19 -0
  64. package/build/backend/commands/external-squads/tags/set-external-squad-tags.command.d.ts.map +1 -0
  65. package/build/backend/commands/external-squads/tags/set-external-squad-tags.command.js +23 -0
  66. package/build/backend/commands/external-squads/update-external-squad.command.d.ts +1 -0
  67. package/build/backend/commands/external-squads/update-external-squad.command.d.ts.map +1 -1
  68. package/build/backend/commands/internal-squads/actions/reorder.command.d.ts +1 -0
  69. package/build/backend/commands/internal-squads/actions/reorder.command.d.ts.map +1 -1
  70. package/build/backend/commands/internal-squads/create-internal-squad.command.d.ts +1 -0
  71. package/build/backend/commands/internal-squads/create-internal-squad.command.d.ts.map +1 -1
  72. package/build/backend/commands/internal-squads/get-internal-squad.command.d.ts +1 -0
  73. package/build/backend/commands/internal-squads/get-internal-squad.command.d.ts.map +1 -1
  74. package/build/backend/commands/internal-squads/get-internal-squads.command.d.ts +1 -0
  75. package/build/backend/commands/internal-squads/get-internal-squads.command.d.ts.map +1 -1
  76. package/build/backend/commands/internal-squads/index.d.ts +1 -0
  77. package/build/backend/commands/internal-squads/index.d.ts.map +1 -1
  78. package/build/backend/commands/internal-squads/index.js +1 -0
  79. package/build/backend/commands/internal-squads/tags/get-internal-squads-tags.command.d.ts +13 -0
  80. package/build/backend/commands/internal-squads/tags/get-internal-squads-tags.command.d.ts.map +1 -0
  81. package/build/backend/commands/internal-squads/tags/get-internal-squads-tags.command.js +17 -0
  82. package/build/backend/commands/internal-squads/tags/index.d.ts +3 -0
  83. package/build/backend/commands/internal-squads/tags/index.d.ts.map +1 -0
  84. package/build/backend/commands/internal-squads/tags/index.js +18 -0
  85. package/build/backend/commands/internal-squads/tags/set-internal-squad-tags.command.d.ts +19 -0
  86. package/build/backend/commands/internal-squads/tags/set-internal-squad-tags.command.d.ts.map +1 -0
  87. package/build/backend/commands/internal-squads/tags/set-internal-squad-tags.command.js +23 -0
  88. package/build/backend/commands/internal-squads/update-internal-squad.command.d.ts +1 -0
  89. package/build/backend/commands/internal-squads/update-internal-squad.command.d.ts.map +1 -1
  90. package/build/backend/commands/node-plugins/actions/clone-node-plugin.command.d.ts +1 -0
  91. package/build/backend/commands/node-plugins/actions/clone-node-plugin.command.d.ts.map +1 -1
  92. package/build/backend/commands/node-plugins/actions/reorder.command.d.ts +1 -0
  93. package/build/backend/commands/node-plugins/actions/reorder.command.d.ts.map +1 -1
  94. package/build/backend/commands/node-plugins/create-node-plugin.command.d.ts +1 -0
  95. package/build/backend/commands/node-plugins/create-node-plugin.command.d.ts.map +1 -1
  96. package/build/backend/commands/node-plugins/get-node-plugin.command.d.ts +1 -0
  97. package/build/backend/commands/node-plugins/get-node-plugin.command.d.ts.map +1 -1
  98. package/build/backend/commands/node-plugins/get-node-plugins.command.d.ts +1 -0
  99. package/build/backend/commands/node-plugins/get-node-plugins.command.d.ts.map +1 -1
  100. package/build/backend/commands/node-plugins/index.d.ts +1 -0
  101. package/build/backend/commands/node-plugins/index.d.ts.map +1 -1
  102. package/build/backend/commands/node-plugins/index.js +1 -0
  103. package/build/backend/commands/node-plugins/tags/get-node-plugins-tags.command.d.ts +13 -0
  104. package/build/backend/commands/node-plugins/tags/get-node-plugins-tags.command.d.ts.map +1 -0
  105. package/build/backend/commands/node-plugins/tags/get-node-plugins-tags.command.js +17 -0
  106. package/build/backend/commands/node-plugins/tags/index.d.ts +3 -0
  107. package/build/backend/commands/node-plugins/tags/index.d.ts.map +1 -0
  108. package/build/backend/commands/node-plugins/tags/index.js +18 -0
  109. package/build/backend/commands/node-plugins/tags/set-node-plugin-tags.command.d.ts +19 -0
  110. package/build/backend/commands/node-plugins/tags/set-node-plugin-tags.command.d.ts.map +1 -0
  111. package/build/backend/commands/node-plugins/tags/set-node-plugin-tags.command.js +23 -0
  112. package/build/backend/commands/node-plugins/update-node-plugin.command.d.ts +1 -0
  113. package/build/backend/commands/node-plugins/update-node-plugin.command.d.ts.map +1 -1
  114. package/build/backend/commands/subscription-page-configs/actions/clone-subpage-config.command.d.ts +1 -0
  115. package/build/backend/commands/subscription-page-configs/actions/clone-subpage-config.command.d.ts.map +1 -1
  116. package/build/backend/commands/subscription-page-configs/actions/reorder.command.d.ts +1 -0
  117. package/build/backend/commands/subscription-page-configs/actions/reorder.command.d.ts.map +1 -1
  118. package/build/backend/commands/subscription-page-configs/create-subpage-config.command.d.ts +1 -0
  119. package/build/backend/commands/subscription-page-configs/create-subpage-config.command.d.ts.map +1 -1
  120. package/build/backend/commands/subscription-page-configs/get-subpage-config.command.d.ts +1 -0
  121. package/build/backend/commands/subscription-page-configs/get-subpage-config.command.d.ts.map +1 -1
  122. package/build/backend/commands/subscription-page-configs/get-subpage-configs.command.d.ts +1 -0
  123. package/build/backend/commands/subscription-page-configs/get-subpage-configs.command.d.ts.map +1 -1
  124. package/build/backend/commands/subscription-page-configs/index.d.ts +1 -0
  125. package/build/backend/commands/subscription-page-configs/index.d.ts.map +1 -1
  126. package/build/backend/commands/subscription-page-configs/index.js +1 -0
  127. package/build/backend/commands/subscription-page-configs/tags/get-subpage-configs-tags.command.d.ts +13 -0
  128. package/build/backend/commands/subscription-page-configs/tags/get-subpage-configs-tags.command.d.ts.map +1 -0
  129. package/build/backend/commands/subscription-page-configs/tags/get-subpage-configs-tags.command.js +17 -0
  130. package/build/backend/commands/subscription-page-configs/tags/index.d.ts +3 -0
  131. package/build/backend/commands/subscription-page-configs/tags/index.d.ts.map +1 -0
  132. package/build/backend/commands/subscription-page-configs/tags/index.js +18 -0
  133. package/build/backend/commands/subscription-page-configs/tags/set-subpage-config-tags.command.d.ts +19 -0
  134. package/build/backend/commands/subscription-page-configs/tags/set-subpage-config-tags.command.d.ts.map +1 -0
  135. package/build/backend/commands/subscription-page-configs/tags/set-subpage-config-tags.command.js +23 -0
  136. package/build/backend/commands/subscription-page-configs/update-subpage-config.command.d.ts +1 -0
  137. package/build/backend/commands/subscription-page-configs/update-subpage-config.command.d.ts.map +1 -1
  138. package/build/backend/commands/subscription-template/actions/reorder.command.d.ts +1 -0
  139. package/build/backend/commands/subscription-template/actions/reorder.command.d.ts.map +1 -1
  140. package/build/backend/commands/subscription-template/create-template.command.d.ts +1 -0
  141. package/build/backend/commands/subscription-template/create-template.command.d.ts.map +1 -1
  142. package/build/backend/commands/subscription-template/get-template.command.d.ts +1 -0
  143. package/build/backend/commands/subscription-template/get-template.command.d.ts.map +1 -1
  144. package/build/backend/commands/subscription-template/get-templates.command.d.ts +1 -0
  145. package/build/backend/commands/subscription-template/get-templates.command.d.ts.map +1 -1
  146. package/build/backend/commands/subscription-template/index.d.ts +1 -0
  147. package/build/backend/commands/subscription-template/index.d.ts.map +1 -1
  148. package/build/backend/commands/subscription-template/index.js +1 -0
  149. package/build/backend/commands/subscription-template/tags/get-subscription-templates-tags.command.d.ts +13 -0
  150. package/build/backend/commands/subscription-template/tags/get-subscription-templates-tags.command.d.ts.map +1 -0
  151. package/build/backend/commands/subscription-template/tags/get-subscription-templates-tags.command.js +17 -0
  152. package/build/backend/commands/subscription-template/tags/index.d.ts +3 -0
  153. package/build/backend/commands/subscription-template/tags/index.d.ts.map +1 -0
  154. package/build/backend/commands/subscription-template/tags/index.js +18 -0
  155. package/build/backend/commands/subscription-template/tags/set-subscription-template-tags.command.d.ts +19 -0
  156. package/build/backend/commands/subscription-template/tags/set-subscription-template-tags.command.d.ts.map +1 -0
  157. package/build/backend/commands/subscription-template/tags/set-subscription-template-tags.command.js +23 -0
  158. package/build/backend/commands/subscription-template/update-template.command.d.ts +1 -0
  159. package/build/backend/commands/subscription-template/update-template.command.d.ts.map +1 -1
  160. package/build/backend/constants/errors/errors.d.ts +10 -0
  161. package/build/backend/constants/errors/errors.d.ts.map +1 -1
  162. package/build/backend/constants/errors/errors.js +10 -0
  163. package/build/backend/models/config-profile.schema.d.ts +1 -0
  164. package/build/backend/models/config-profile.schema.d.ts.map +1 -1
  165. package/build/backend/models/config-profile.schema.js +3 -4
  166. package/build/backend/models/external-squad.schema.d.ts +1 -0
  167. package/build/backend/models/external-squad.schema.d.ts.map +1 -1
  168. package/build/backend/models/external-squad.schema.js +1 -0
  169. package/build/backend/models/index.d.ts +1 -0
  170. package/build/backend/models/index.d.ts.map +1 -1
  171. package/build/backend/models/index.js +1 -0
  172. package/build/backend/models/internal-squad.schema.d.ts +1 -0
  173. package/build/backend/models/internal-squad.schema.d.ts.map +1 -1
  174. package/build/backend/models/internal-squad.schema.js +3 -4
  175. package/build/backend/models/node-plugin.schema.d.ts +1 -0
  176. package/build/backend/models/node-plugin.schema.d.ts.map +1 -1
  177. package/build/backend/models/node-plugin.schema.js +1 -0
  178. package/build/backend/models/subscripion-page-config.schema.d.ts +1 -0
  179. package/build/backend/models/subscripion-page-config.schema.d.ts.map +1 -1
  180. package/build/backend/models/subscripion-page-config.schema.js +1 -0
  181. package/build/backend/models/subscription-template.schema.d.ts +1 -0
  182. package/build/backend/models/subscription-template.schema.d.ts.map +1 -1
  183. package/build/backend/models/subscription-template.schema.js +1 -0
  184. package/build/backend/models/tags.schema.d.ts +4 -0
  185. package/build/backend/models/tags.schema.d.ts.map +1 -0
  186. package/build/backend/models/tags.schema.js +9 -0
  187. package/build/frontend/api/controllers/config-profiles.js +4 -0
  188. package/build/frontend/api/controllers/external-squads.js +4 -0
  189. package/build/frontend/api/controllers/internal-squads.js +4 -0
  190. package/build/frontend/api/controllers/node-plugins.js +4 -0
  191. package/build/frontend/api/controllers/subscription-page-configs.js +4 -0
  192. package/build/frontend/api/controllers/subscription-template.js +4 -0
  193. package/build/frontend/api/routes.js +24 -0
  194. package/build/frontend/commands/config-profiles/index.js +1 -0
  195. package/build/frontend/commands/config-profiles/tags/get-config-profiles-tags.command.js +17 -0
  196. package/build/frontend/commands/config-profiles/tags/index.js +18 -0
  197. package/build/frontend/commands/config-profiles/tags/set-config-profile-tags.command.js +23 -0
  198. package/build/frontend/commands/external-squads/index.js +1 -0
  199. package/build/frontend/commands/external-squads/tags/get-external-squads-tags.command.js +17 -0
  200. package/build/frontend/commands/external-squads/tags/index.js +18 -0
  201. package/build/frontend/commands/external-squads/tags/set-external-squad-tags.command.js +23 -0
  202. package/build/frontend/commands/internal-squads/index.js +1 -0
  203. package/build/frontend/commands/internal-squads/tags/get-internal-squads-tags.command.js +17 -0
  204. package/build/frontend/commands/internal-squads/tags/index.js +18 -0
  205. package/build/frontend/commands/internal-squads/tags/set-internal-squad-tags.command.js +23 -0
  206. package/build/frontend/commands/node-plugins/index.js +1 -0
  207. package/build/frontend/commands/node-plugins/tags/get-node-plugins-tags.command.js +17 -0
  208. package/build/frontend/commands/node-plugins/tags/index.js +18 -0
  209. package/build/frontend/commands/node-plugins/tags/set-node-plugin-tags.command.js +23 -0
  210. package/build/frontend/commands/subscription-page-configs/index.js +1 -0
  211. package/build/frontend/commands/subscription-page-configs/tags/get-subpage-configs-tags.command.js +17 -0
  212. package/build/frontend/commands/subscription-page-configs/tags/index.js +18 -0
  213. package/build/frontend/commands/subscription-page-configs/tags/set-subpage-config-tags.command.js +23 -0
  214. package/build/frontend/commands/subscription-template/index.js +1 -0
  215. package/build/frontend/commands/subscription-template/tags/get-subscription-templates-tags.command.js +17 -0
  216. package/build/frontend/commands/subscription-template/tags/index.js +18 -0
  217. package/build/frontend/commands/subscription-template/tags/set-subscription-template-tags.command.js +23 -0
  218. package/build/frontend/constants/errors/errors.js +10 -0
  219. package/build/frontend/models/config-profile.schema.js +3 -4
  220. package/build/frontend/models/external-squad.schema.js +1 -0
  221. package/build/frontend/models/index.js +1 -0
  222. package/build/frontend/models/internal-squad.schema.js +3 -4
  223. package/build/frontend/models/node-plugin.schema.js +1 -0
  224. package/build/frontend/models/subscripion-page-config.schema.js +1 -0
  225. package/build/frontend/models/subscription-template.schema.js +1 -0
  226. package/build/frontend/models/tags.schema.js +9 -0
  227. package/package.json +1 -1
@@ -3,6 +3,7 @@ export declare const SubscriptionPageConfigSchema: z.ZodObject<{
3
3
  uuid: z.ZodUUID;
4
4
  viewPosition: z.ZodNumber;
5
5
  name: z.ZodString;
6
+ tags: z.ZodArray<z.ZodString>;
6
7
  config: z.ZodNullable<z.ZodUnknown>;
7
8
  }, z.core.$strip>;
8
9
  //# sourceMappingURL=subscripion-page-config.schema.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"subscripion-page-config.schema.d.ts","sourceRoot":"","sources":["../../../models/subscripion-page-config.schema.ts"],"names":[],"mappings":"AAAA,OAAO,CAAC,MAAM,KAAK,CAAC;AAEpB,eAAO,MAAM,4BAA4B;;;;;iBAKvC,CAAC"}
1
+ {"version":3,"file":"subscripion-page-config.schema.d.ts","sourceRoot":"","sources":["../../../models/subscripion-page-config.schema.ts"],"names":[],"mappings":"AAAA,OAAO,CAAC,MAAM,KAAK,CAAC;AAEpB,eAAO,MAAM,4BAA4B;;;;;;iBAMvC,CAAC"}
@@ -9,5 +9,6 @@ exports.SubscriptionPageConfigSchema = zod_1.default.object({
9
9
  uuid: zod_1.default.uuid(),
10
10
  viewPosition: zod_1.default.number().int(),
11
11
  name: zod_1.default.string(),
12
+ tags: zod_1.default.array(zod_1.default.string()),
12
13
  config: zod_1.default.nullable(zod_1.default.unknown()),
13
14
  });
@@ -3,6 +3,7 @@ export declare const SubscriptionTemplateSchema: z.ZodObject<{
3
3
  uuid: z.ZodUUID;
4
4
  viewPosition: z.ZodNumber;
5
5
  name: z.ZodString;
6
+ tags: z.ZodArray<z.ZodString>;
6
7
  templateType: z.ZodEnum<{
7
8
  readonly XRAY_JSON: "XRAY_JSON";
8
9
  readonly XRAY_BASE64: "XRAY_BASE64";
@@ -1 +1 @@
1
- {"version":3,"file":"subscription-template.schema.d.ts","sourceRoot":"","sources":["../../../models/subscription-template.schema.ts"],"names":[],"mappings":"AAAA,OAAO,CAAC,MAAM,KAAK,CAAC;AAIpB,eAAO,MAAM,0BAA0B;;;;;;;;;;;;;;iBAOrC,CAAC"}
1
+ {"version":3,"file":"subscription-template.schema.d.ts","sourceRoot":"","sources":["../../../models/subscription-template.schema.ts"],"names":[],"mappings":"AAAA,OAAO,CAAC,MAAM,KAAK,CAAC;AAIpB,eAAO,MAAM,0BAA0B;;;;;;;;;;;;;;;iBAQrC,CAAC"}
@@ -10,6 +10,7 @@ exports.SubscriptionTemplateSchema = zod_1.default.object({
10
10
  uuid: zod_1.default.uuid(),
11
11
  viewPosition: zod_1.default.number().int(),
12
12
  name: zod_1.default.string(),
13
+ tags: zod_1.default.array(zod_1.default.string()),
13
14
  templateType: zod_1.default.enum(constants_1.SUBSCRIPTION_TEMPLATE_TYPE),
14
15
  templateJson: zod_1.default.nullable(zod_1.default.unknown()),
15
16
  encodedTemplateYaml: zod_1.default.nullable(zod_1.default.string()),
@@ -0,0 +1,4 @@
1
+ import { z } from 'zod';
2
+ export declare const TagSchema: z.ZodString;
3
+ export declare const TagsSchema: z.ZodArray<z.ZodString>;
4
+ //# sourceMappingURL=tags.schema.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"tags.schema.d.ts","sourceRoot":"","sources":["../../../models/tags.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,eAAO,MAAM,SAAS,aAMkC,CAAC;AAEzD,eAAO,MAAM,UAAU,yBAAgD,CAAC"}
@@ -0,0 +1,9 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.TagsSchema = exports.TagSchema = void 0;
4
+ const zod_1 = require("zod");
5
+ exports.TagSchema = zod_1.z
6
+ .string()
7
+ .regex(/^[A-Z0-9_:]+$/, 'Tag can only contain uppercase letters, numbers, underscores and colons')
8
+ .max(36, 'Each tag must be less than 36 characters');
9
+ exports.TagsSchema = zod_1.z.array(exports.TagSchema).max(10, 'Maximum 10 tags');
@@ -15,4 +15,8 @@ exports.CONFIG_PROFILES_ROUTES = {
15
15
  ACTIONS: {
16
16
  REORDER: `${ACTIONS_ROUTE}/reorder`,
17
17
  },
18
+ TAGS: {
19
+ GET: 'tags', // get
20
+ SET: 'tags', // patch
21
+ },
18
22
  };
@@ -17,4 +17,8 @@ exports.EXTERNAL_SQUADS_ROUTES = {
17
17
  ACTIONS: {
18
18
  REORDER: `${ACTIONS_ROUTE}/reorder`,
19
19
  },
20
+ TAGS: {
21
+ GET: 'tags', // get
22
+ SET: 'tags', // patch
23
+ },
20
24
  };
@@ -20,4 +20,8 @@ exports.INTERNAL_SQUADS_ROUTES = {
20
20
  ACTIONS: {
21
21
  REORDER: `${ACTIONS_ROUTE}/reorder`,
22
22
  },
23
+ TAGS: {
24
+ GET: 'tags', // get
25
+ SET: 'tags', // patch
26
+ },
23
27
  };
@@ -32,4 +32,8 @@ exports.NODE_PLUGINS_ROUTES = {
32
32
  SYNC: `${SHARED_LISTS_ROUTE}/${ACTIONS_ROUTE}/sync`, // post
33
33
  },
34
34
  },
35
+ TAGS: {
36
+ GET: 'tags', // get
37
+ SET: 'tags', // patch
38
+ },
35
39
  };
@@ -13,4 +13,8 @@ exports.SUBSCRIPTION_PAGE_CONFIGS_ROUTES = {
13
13
  REORDER: `${ACTIONS_ROUTE}/reorder`,
14
14
  CLONE: `${ACTIONS_ROUTE}/clone`,
15
15
  },
16
+ TAGS: {
17
+ GET: 'tags', // get
18
+ SET: 'tags', // patch
19
+ },
16
20
  };
@@ -12,4 +12,8 @@ exports.SUBSCRIPTION_TEMPLATE_ROUTES = {
12
12
  ACTIONS: {
13
13
  REORDER: `${ACTIONS_ROUTE}/reorder`,
14
14
  },
15
+ TAGS: {
16
+ GET: 'tags', // get
17
+ SET: 'tags', // patch
18
+ },
15
19
  };
@@ -188,6 +188,10 @@ exports.REST_API = {
188
188
  ACTIONS: {
189
189
  REORDER: `${exports.ROOT}/${CONTROLLERS.SUBSCRIPTION_TEMPLATE_CONTROLLER}/${CONTROLLERS.SUBSCRIPTION_TEMPLATE_ROUTES.ACTIONS.REORDER}`,
190
190
  },
191
+ TAGS: {
192
+ GET: `${exports.ROOT}/${CONTROLLERS.SUBSCRIPTION_TEMPLATE_CONTROLLER}/${CONTROLLERS.SUBSCRIPTION_TEMPLATE_ROUTES.TAGS.GET}`,
193
+ SET: `${exports.ROOT}/${CONTROLLERS.SUBSCRIPTION_TEMPLATE_CONTROLLER}/${CONTROLLERS.SUBSCRIPTION_TEMPLATE_ROUTES.TAGS.SET}`,
194
+ },
191
195
  },
192
196
  SUBSCRIPTION_SETTINGS: {
193
197
  GET: `${exports.ROOT}/${CONTROLLERS.SUBSCRIPTION_SETTINGS_CONTROLLER}/${CONTROLLERS.SUBSCRIPTION_SETTINGS_ROUTES.GET}`,
@@ -227,6 +231,10 @@ exports.REST_API = {
227
231
  ACTIONS: {
228
232
  REORDER: `${exports.ROOT}/${CONTROLLERS.CONFIG_PROFILES_CONTROLLER}/${CONTROLLERS.CONFIG_PROFILES_ROUTES.ACTIONS.REORDER}`,
229
233
  },
234
+ TAGS: {
235
+ GET: `${exports.ROOT}/${CONTROLLERS.CONFIG_PROFILES_CONTROLLER}/${CONTROLLERS.CONFIG_PROFILES_ROUTES.TAGS.GET}`,
236
+ SET: `${exports.ROOT}/${CONTROLLERS.CONFIG_PROFILES_CONTROLLER}/${CONTROLLERS.CONFIG_PROFILES_ROUTES.TAGS.SET}`,
237
+ },
230
238
  },
231
239
  INTERNAL_SQUADS: {
232
240
  GET: `${exports.ROOT}/${CONTROLLERS.INTERNAL_SQUADS_CONTROLLER}/${CONTROLLERS.INTERNAL_SQUADS_ROUTES.GET}`,
@@ -244,6 +252,10 @@ exports.REST_API = {
244
252
  ACTIONS: {
245
253
  REORDER: `${exports.ROOT}/${CONTROLLERS.INTERNAL_SQUADS_CONTROLLER}/${CONTROLLERS.INTERNAL_SQUADS_ROUTES.ACTIONS.REORDER}`,
246
254
  },
255
+ TAGS: {
256
+ GET: `${exports.ROOT}/${CONTROLLERS.INTERNAL_SQUADS_CONTROLLER}/${CONTROLLERS.INTERNAL_SQUADS_ROUTES.TAGS.GET}`,
257
+ SET: `${exports.ROOT}/${CONTROLLERS.INTERNAL_SQUADS_CONTROLLER}/${CONTROLLERS.INTERNAL_SQUADS_ROUTES.TAGS.SET}`,
258
+ },
247
259
  },
248
260
  INFRA_BILLING: {
249
261
  GET_PROVIDERS: `${exports.ROOT}/${CONTROLLERS.INFRA_BILLING_CONTROLLER}/${CONTROLLERS.INFRA_BILLING_ROUTES.GET_PROVIDERS}`,
@@ -285,6 +297,10 @@ exports.REST_API = {
285
297
  ACTIONS: {
286
298
  REORDER: `${exports.ROOT}/${CONTROLLERS.EXTERNAL_SQUADS_CONTROLLER}/${CONTROLLERS.EXTERNAL_SQUADS_ROUTES.ACTIONS.REORDER}`,
287
299
  },
300
+ TAGS: {
301
+ GET: `${exports.ROOT}/${CONTROLLERS.EXTERNAL_SQUADS_CONTROLLER}/${CONTROLLERS.EXTERNAL_SQUADS_ROUTES.TAGS.GET}`,
302
+ SET: `${exports.ROOT}/${CONTROLLERS.EXTERNAL_SQUADS_CONTROLLER}/${CONTROLLERS.EXTERNAL_SQUADS_ROUTES.TAGS.SET}`,
303
+ },
288
304
  },
289
305
  REMNAAWAVE_SETTINGS: {
290
306
  GET: `${exports.ROOT}/${CONTROLLERS.REMNAWAVE_SETTINGS_CONTROLLER}/${CONTROLLERS.REMNAWAVE_SETTINGS_ROUTES.GET}`,
@@ -300,6 +316,10 @@ exports.REST_API = {
300
316
  REORDER: `${exports.ROOT}/${CONTROLLERS.SUBSCRIPTION_PAGE_CONFIGS_CONTROLLER}/${CONTROLLERS.SUBSCRIPTION_PAGE_CONFIGS_ROUTES.ACTIONS.REORDER}`,
301
317
  CLONE: `${exports.ROOT}/${CONTROLLERS.SUBSCRIPTION_PAGE_CONFIGS_CONTROLLER}/${CONTROLLERS.SUBSCRIPTION_PAGE_CONFIGS_ROUTES.ACTIONS.CLONE}`,
302
318
  },
319
+ TAGS: {
320
+ GET: `${exports.ROOT}/${CONTROLLERS.SUBSCRIPTION_PAGE_CONFIGS_CONTROLLER}/${CONTROLLERS.SUBSCRIPTION_PAGE_CONFIGS_ROUTES.TAGS.GET}`,
321
+ SET: `${exports.ROOT}/${CONTROLLERS.SUBSCRIPTION_PAGE_CONFIGS_CONTROLLER}/${CONTROLLERS.SUBSCRIPTION_PAGE_CONFIGS_ROUTES.TAGS.SET}`,
322
+ },
303
323
  },
304
324
  NODE_INTEGRATIONS: {
305
325
  GET: (uuid) => `${exports.ROOT}/${CONTROLLERS.NODE_INTEGRATIONS_CONTROLLER}/${CONTROLLERS.NODE_INTEGRATIONS_ROUTES.GET(uuid)}`,
@@ -339,6 +359,10 @@ exports.REST_API = {
339
359
  GET_REPORTS_STATS: `${exports.ROOT}/${CONTROLLERS.NODE_PLUGINS_CONTROLLER}/${CONTROLLERS.NODE_PLUGINS_ROUTES.TORRENT_BLOCKER.GET_REPORTS_STATS}`,
340
360
  TRUNCATE_REPORTS: `${exports.ROOT}/${CONTROLLERS.NODE_PLUGINS_CONTROLLER}/${CONTROLLERS.NODE_PLUGINS_ROUTES.TORRENT_BLOCKER.TRUNCATE_REPORTS}`,
341
361
  },
362
+ TAGS: {
363
+ GET: `${exports.ROOT}/${CONTROLLERS.NODE_PLUGINS_CONTROLLER}/${CONTROLLERS.NODE_PLUGINS_ROUTES.TAGS.GET}`,
364
+ SET: `${exports.ROOT}/${CONTROLLERS.NODE_PLUGINS_CONTROLLER}/${CONTROLLERS.NODE_PLUGINS_ROUTES.TAGS.SET}`,
365
+ },
342
366
  },
343
367
  BANDWIDTH_STATS: {
344
368
  NODES: {
@@ -23,3 +23,4 @@ __exportStar(require("./get-config-profile-by-uuid.command"), exports);
23
23
  __exportStar(require("./get-config-profiles.command"), exports);
24
24
  __exportStar(require("./get-inbounds-by-profile-uuid.command"), exports);
25
25
  __exportStar(require("./update-config-profile.command"), exports);
26
+ __exportStar(require("./tags"), exports);
@@ -0,0 +1,17 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.GetConfigProfilesTagsCommand = void 0;
4
+ const zod_1 = require("zod");
5
+ const api_1 = require("../../../api");
6
+ const constants_1 = require("../../../constants");
7
+ var GetConfigProfilesTagsCommand;
8
+ (function (GetConfigProfilesTagsCommand) {
9
+ GetConfigProfilesTagsCommand.url = api_1.REST_API.CONFIG_PROFILES.TAGS.GET;
10
+ GetConfigProfilesTagsCommand.TSQ_url = GetConfigProfilesTagsCommand.url;
11
+ GetConfigProfilesTagsCommand.endpointDetails = (0, constants_1.getEndpointDetails)(api_1.CONFIG_PROFILES_ROUTES.TAGS.GET, 'get', 'Get tags of Config Profiles', { scope: 'list-tags', kind: 'read' });
12
+ GetConfigProfilesTagsCommand.ResponseSchema = zod_1.z.object({
13
+ response: zod_1.z.object({
14
+ tags: zod_1.z.array(zod_1.z.string()),
15
+ }),
16
+ });
17
+ })(GetConfigProfilesTagsCommand || (exports.GetConfigProfilesTagsCommand = GetConfigProfilesTagsCommand = {}));
@@ -0,0 +1,18 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./get-config-profiles-tags.command"), exports);
18
+ __exportStar(require("./set-config-profile-tags.command"), exports);
@@ -0,0 +1,23 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.SetConfigProfileTagsCommand = void 0;
4
+ const zod_1 = require("zod");
5
+ const api_1 = require("../../../api");
6
+ const constants_1 = require("../../../constants");
7
+ const models_1 = require("../../../models");
8
+ var SetConfigProfileTagsCommand;
9
+ (function (SetConfigProfileTagsCommand) {
10
+ SetConfigProfileTagsCommand.url = api_1.REST_API.CONFIG_PROFILES.TAGS.SET;
11
+ SetConfigProfileTagsCommand.TSQ_url = SetConfigProfileTagsCommand.url;
12
+ SetConfigProfileTagsCommand.endpointDetails = (0, constants_1.getEndpointDetails)(api_1.CONFIG_PROFILES_ROUTES.TAGS.SET, 'patch', 'Set tags of Config Profile', { scope: 'set-tags', kind: 'write' });
13
+ SetConfigProfileTagsCommand.RequestBodySchema = zod_1.z.object({
14
+ uuid: zod_1.z.uuid(),
15
+ tags: models_1.TagsSchema,
16
+ });
17
+ SetConfigProfileTagsCommand.ResponseSchema = zod_1.z.object({
18
+ response: zod_1.z.object({
19
+ uuid: zod_1.z.uuid(),
20
+ tags: zod_1.z.array(zod_1.z.string()),
21
+ }),
22
+ });
23
+ })(SetConfigProfileTagsCommand || (exports.SetConfigProfileTagsCommand = SetConfigProfileTagsCommand = {}));
@@ -21,3 +21,4 @@ __exportStar(require("./delete-external-squad.command"), exports);
21
21
  __exportStar(require("./get-external-squad-by-uuid.command"), exports);
22
22
  __exportStar(require("./get-external-squads.command"), exports);
23
23
  __exportStar(require("./update-external-squad.command"), exports);
24
+ __exportStar(require("./tags"), exports);
@@ -0,0 +1,17 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.GetExternalSquadsTagsCommand = void 0;
4
+ const zod_1 = require("zod");
5
+ const api_1 = require("../../../api");
6
+ const constants_1 = require("../../../constants");
7
+ var GetExternalSquadsTagsCommand;
8
+ (function (GetExternalSquadsTagsCommand) {
9
+ GetExternalSquadsTagsCommand.url = api_1.REST_API.EXTERNAL_SQUADS.TAGS.GET;
10
+ GetExternalSquadsTagsCommand.TSQ_url = GetExternalSquadsTagsCommand.url;
11
+ GetExternalSquadsTagsCommand.endpointDetails = (0, constants_1.getEndpointDetails)(api_1.EXTERNAL_SQUADS_ROUTES.TAGS.GET, 'get', 'Get tags of External Squads', { scope: 'list-tags', kind: 'read' });
12
+ GetExternalSquadsTagsCommand.ResponseSchema = zod_1.z.object({
13
+ response: zod_1.z.object({
14
+ tags: zod_1.z.array(zod_1.z.string()),
15
+ }),
16
+ });
17
+ })(GetExternalSquadsTagsCommand || (exports.GetExternalSquadsTagsCommand = GetExternalSquadsTagsCommand = {}));
@@ -0,0 +1,18 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./get-external-squads-tags.command"), exports);
18
+ __exportStar(require("./set-external-squad-tags.command"), exports);
@@ -0,0 +1,23 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.SetExternalSquadTagsCommand = void 0;
4
+ const zod_1 = require("zod");
5
+ const api_1 = require("../../../api");
6
+ const constants_1 = require("../../../constants");
7
+ const models_1 = require("../../../models");
8
+ var SetExternalSquadTagsCommand;
9
+ (function (SetExternalSquadTagsCommand) {
10
+ SetExternalSquadTagsCommand.url = api_1.REST_API.EXTERNAL_SQUADS.TAGS.SET;
11
+ SetExternalSquadTagsCommand.TSQ_url = SetExternalSquadTagsCommand.url;
12
+ SetExternalSquadTagsCommand.endpointDetails = (0, constants_1.getEndpointDetails)(api_1.EXTERNAL_SQUADS_ROUTES.TAGS.SET, 'patch', 'Set tags of External Squad', { scope: 'set-tags', kind: 'write' });
13
+ SetExternalSquadTagsCommand.RequestBodySchema = zod_1.z.object({
14
+ uuid: zod_1.z.uuid(),
15
+ tags: models_1.TagsSchema,
16
+ });
17
+ SetExternalSquadTagsCommand.ResponseSchema = zod_1.z.object({
18
+ response: zod_1.z.object({
19
+ uuid: zod_1.z.uuid(),
20
+ tags: zod_1.z.array(zod_1.z.string()),
21
+ }),
22
+ });
23
+ })(SetExternalSquadTagsCommand || (exports.SetExternalSquadTagsCommand = SetExternalSquadTagsCommand = {}));
@@ -22,3 +22,4 @@ __exportStar(require("./get-internal-squad-accessible-nodes.command"), exports);
22
22
  __exportStar(require("./get-internal-squad.command"), exports);
23
23
  __exportStar(require("./get-internal-squads.command"), exports);
24
24
  __exportStar(require("./update-internal-squad.command"), exports);
25
+ __exportStar(require("./tags"), exports);
@@ -0,0 +1,17 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.GetInternalSquadsTagsCommand = void 0;
4
+ const zod_1 = require("zod");
5
+ const api_1 = require("../../../api");
6
+ const constants_1 = require("../../../constants");
7
+ var GetInternalSquadsTagsCommand;
8
+ (function (GetInternalSquadsTagsCommand) {
9
+ GetInternalSquadsTagsCommand.url = api_1.REST_API.INTERNAL_SQUADS.TAGS.GET;
10
+ GetInternalSquadsTagsCommand.TSQ_url = GetInternalSquadsTagsCommand.url;
11
+ GetInternalSquadsTagsCommand.endpointDetails = (0, constants_1.getEndpointDetails)(api_1.INTERNAL_SQUADS_ROUTES.TAGS.GET, 'get', 'Get tags of Internal Squads', { scope: 'list-tags', kind: 'read' });
12
+ GetInternalSquadsTagsCommand.ResponseSchema = zod_1.z.object({
13
+ response: zod_1.z.object({
14
+ tags: zod_1.z.array(zod_1.z.string()),
15
+ }),
16
+ });
17
+ })(GetInternalSquadsTagsCommand || (exports.GetInternalSquadsTagsCommand = GetInternalSquadsTagsCommand = {}));
@@ -0,0 +1,18 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./get-internal-squads-tags.command"), exports);
18
+ __exportStar(require("./set-internal-squad-tags.command"), exports);
@@ -0,0 +1,23 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.SetInternalSquadTagsCommand = void 0;
4
+ const zod_1 = require("zod");
5
+ const api_1 = require("../../../api");
6
+ const constants_1 = require("../../../constants");
7
+ const models_1 = require("../../../models");
8
+ var SetInternalSquadTagsCommand;
9
+ (function (SetInternalSquadTagsCommand) {
10
+ SetInternalSquadTagsCommand.url = api_1.REST_API.INTERNAL_SQUADS.TAGS.SET;
11
+ SetInternalSquadTagsCommand.TSQ_url = SetInternalSquadTagsCommand.url;
12
+ SetInternalSquadTagsCommand.endpointDetails = (0, constants_1.getEndpointDetails)(api_1.INTERNAL_SQUADS_ROUTES.TAGS.SET, 'patch', 'Set tags of Internal Squad', { scope: 'set-tags', kind: 'write' });
13
+ SetInternalSquadTagsCommand.RequestBodySchema = zod_1.z.object({
14
+ uuid: zod_1.z.uuid(),
15
+ tags: models_1.TagsSchema,
16
+ });
17
+ SetInternalSquadTagsCommand.ResponseSchema = zod_1.z.object({
18
+ response: zod_1.z.object({
19
+ uuid: zod_1.z.uuid(),
20
+ tags: zod_1.z.array(zod_1.z.string()),
21
+ }),
22
+ });
23
+ })(SetInternalSquadTagsCommand || (exports.SetInternalSquadTagsCommand = SetInternalSquadTagsCommand = {}));
@@ -23,3 +23,4 @@ __exportStar(require("./get-node-plugins.command"), exports);
23
23
  __exportStar(require("./shared-lists"), exports);
24
24
  __exportStar(require("./torrent-blocker"), exports);
25
25
  __exportStar(require("./update-node-plugin.command"), exports);
26
+ __exportStar(require("./tags"), exports);
@@ -0,0 +1,17 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.GetNodePluginsTagsCommand = void 0;
4
+ const zod_1 = require("zod");
5
+ const api_1 = require("../../../api");
6
+ const constants_1 = require("../../../constants");
7
+ var GetNodePluginsTagsCommand;
8
+ (function (GetNodePluginsTagsCommand) {
9
+ GetNodePluginsTagsCommand.url = api_1.REST_API.NODE_PLUGINS.TAGS.GET;
10
+ GetNodePluginsTagsCommand.TSQ_url = GetNodePluginsTagsCommand.url;
11
+ GetNodePluginsTagsCommand.endpointDetails = (0, constants_1.getEndpointDetails)(api_1.NODE_PLUGINS_ROUTES.TAGS.GET, 'get', 'Get tags of Node Plugins', { scope: 'list-tags', kind: 'read' });
12
+ GetNodePluginsTagsCommand.ResponseSchema = zod_1.z.object({
13
+ response: zod_1.z.object({
14
+ tags: zod_1.z.array(zod_1.z.string()),
15
+ }),
16
+ });
17
+ })(GetNodePluginsTagsCommand || (exports.GetNodePluginsTagsCommand = GetNodePluginsTagsCommand = {}));
@@ -0,0 +1,18 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./get-node-plugins-tags.command"), exports);
18
+ __exportStar(require("./set-node-plugin-tags.command"), exports);
@@ -0,0 +1,23 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.SetNodePluginTagsCommand = void 0;
4
+ const zod_1 = require("zod");
5
+ const api_1 = require("../../../api");
6
+ const constants_1 = require("../../../constants");
7
+ const models_1 = require("../../../models");
8
+ var SetNodePluginTagsCommand;
9
+ (function (SetNodePluginTagsCommand) {
10
+ SetNodePluginTagsCommand.url = api_1.REST_API.NODE_PLUGINS.TAGS.SET;
11
+ SetNodePluginTagsCommand.TSQ_url = SetNodePluginTagsCommand.url;
12
+ SetNodePluginTagsCommand.endpointDetails = (0, constants_1.getEndpointDetails)(api_1.NODE_PLUGINS_ROUTES.TAGS.SET, 'patch', 'Set tags of Node Plugin', { scope: 'set-tags', kind: 'write' });
13
+ SetNodePluginTagsCommand.RequestBodySchema = zod_1.z.object({
14
+ uuid: zod_1.z.uuid(),
15
+ tags: models_1.TagsSchema,
16
+ });
17
+ SetNodePluginTagsCommand.ResponseSchema = zod_1.z.object({
18
+ response: zod_1.z.object({
19
+ uuid: zod_1.z.uuid(),
20
+ tags: zod_1.z.array(zod_1.z.string()),
21
+ }),
22
+ });
23
+ })(SetNodePluginTagsCommand || (exports.SetNodePluginTagsCommand = SetNodePluginTagsCommand = {}));
@@ -20,3 +20,4 @@ __exportStar(require("./delete-subpage-config.command"), exports);
20
20
  __exportStar(require("./get-subpage-config.command"), exports);
21
21
  __exportStar(require("./get-subpage-configs.command"), exports);
22
22
  __exportStar(require("./update-subpage-config.command"), exports);
23
+ __exportStar(require("./tags"), exports);
@@ -0,0 +1,17 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.GetSubpageConfigsTagsCommand = void 0;
4
+ const zod_1 = require("zod");
5
+ const api_1 = require("../../../api");
6
+ const constants_1 = require("../../../constants");
7
+ var GetSubpageConfigsTagsCommand;
8
+ (function (GetSubpageConfigsTagsCommand) {
9
+ GetSubpageConfigsTagsCommand.url = api_1.REST_API.SUBSCRIPTION_PAGE_CONFIGS.TAGS.GET;
10
+ GetSubpageConfigsTagsCommand.TSQ_url = GetSubpageConfigsTagsCommand.url;
11
+ GetSubpageConfigsTagsCommand.endpointDetails = (0, constants_1.getEndpointDetails)(api_1.SUBSCRIPTION_PAGE_CONFIGS_ROUTES.TAGS.GET, 'get', 'Get tags of Subpage Configs', { scope: 'list-tags', kind: 'read' });
12
+ GetSubpageConfigsTagsCommand.ResponseSchema = zod_1.z.object({
13
+ response: zod_1.z.object({
14
+ tags: zod_1.z.array(zod_1.z.string()),
15
+ }),
16
+ });
17
+ })(GetSubpageConfigsTagsCommand || (exports.GetSubpageConfigsTagsCommand = GetSubpageConfigsTagsCommand = {}));
@@ -0,0 +1,18 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./get-subpage-configs-tags.command"), exports);
18
+ __exportStar(require("./set-subpage-config-tags.command"), exports);
@@ -0,0 +1,23 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.SetSubpageConfigTagsCommand = void 0;
4
+ const zod_1 = require("zod");
5
+ const api_1 = require("../../../api");
6
+ const constants_1 = require("../../../constants");
7
+ const models_1 = require("../../../models");
8
+ var SetSubpageConfigTagsCommand;
9
+ (function (SetSubpageConfigTagsCommand) {
10
+ SetSubpageConfigTagsCommand.url = api_1.REST_API.SUBSCRIPTION_PAGE_CONFIGS.TAGS.SET;
11
+ SetSubpageConfigTagsCommand.TSQ_url = SetSubpageConfigTagsCommand.url;
12
+ SetSubpageConfigTagsCommand.endpointDetails = (0, constants_1.getEndpointDetails)(api_1.SUBSCRIPTION_PAGE_CONFIGS_ROUTES.TAGS.SET, 'patch', 'Set tags of Subpage Config', { scope: 'set-tags', kind: 'write' });
13
+ SetSubpageConfigTagsCommand.RequestBodySchema = zod_1.z.object({
14
+ uuid: zod_1.z.uuid(),
15
+ tags: models_1.TagsSchema,
16
+ });
17
+ SetSubpageConfigTagsCommand.ResponseSchema = zod_1.z.object({
18
+ response: zod_1.z.object({
19
+ uuid: zod_1.z.uuid(),
20
+ tags: zod_1.z.array(zod_1.z.string()),
21
+ }),
22
+ });
23
+ })(SetSubpageConfigTagsCommand || (exports.SetSubpageConfigTagsCommand = SetSubpageConfigTagsCommand = {}));
@@ -20,3 +20,4 @@ __exportStar(require("./delete-subscription-template.command"), exports);
20
20
  __exportStar(require("./get-template.command"), exports);
21
21
  __exportStar(require("./get-templates.command"), exports);
22
22
  __exportStar(require("./update-template.command"), exports);
23
+ __exportStar(require("./tags"), exports);
@@ -0,0 +1,17 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.GetSubscriptionTemplatesTagsCommand = void 0;
4
+ const zod_1 = require("zod");
5
+ const api_1 = require("../../../api");
6
+ const constants_1 = require("../../../constants");
7
+ var GetSubscriptionTemplatesTagsCommand;
8
+ (function (GetSubscriptionTemplatesTagsCommand) {
9
+ GetSubscriptionTemplatesTagsCommand.url = api_1.REST_API.SUBSCRIPTION_TEMPLATE.TAGS.GET;
10
+ GetSubscriptionTemplatesTagsCommand.TSQ_url = GetSubscriptionTemplatesTagsCommand.url;
11
+ GetSubscriptionTemplatesTagsCommand.endpointDetails = (0, constants_1.getEndpointDetails)(api_1.SUBSCRIPTION_TEMPLATE_ROUTES.TAGS.GET, 'get', 'Get tags of Subscription Templates', { scope: 'list-tags', kind: 'read' });
12
+ GetSubscriptionTemplatesTagsCommand.ResponseSchema = zod_1.z.object({
13
+ response: zod_1.z.object({
14
+ tags: zod_1.z.array(zod_1.z.string()),
15
+ }),
16
+ });
17
+ })(GetSubscriptionTemplatesTagsCommand || (exports.GetSubscriptionTemplatesTagsCommand = GetSubscriptionTemplatesTagsCommand = {}));
@@ -0,0 +1,18 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./get-subscription-templates-tags.command"), exports);
18
+ __exportStar(require("./set-subscription-template-tags.command"), exports);
@@ -0,0 +1,23 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.SetSubscriptionTemplateTagsCommand = void 0;
4
+ const zod_1 = require("zod");
5
+ const api_1 = require("../../../api");
6
+ const constants_1 = require("../../../constants");
7
+ const models_1 = require("../../../models");
8
+ var SetSubscriptionTemplateTagsCommand;
9
+ (function (SetSubscriptionTemplateTagsCommand) {
10
+ SetSubscriptionTemplateTagsCommand.url = api_1.REST_API.SUBSCRIPTION_TEMPLATE.TAGS.SET;
11
+ SetSubscriptionTemplateTagsCommand.TSQ_url = SetSubscriptionTemplateTagsCommand.url;
12
+ SetSubscriptionTemplateTagsCommand.endpointDetails = (0, constants_1.getEndpointDetails)(api_1.SUBSCRIPTION_TEMPLATE_ROUTES.TAGS.SET, 'patch', 'Set tags of Subscription Template', { scope: 'set-tags', kind: 'write' });
13
+ SetSubscriptionTemplateTagsCommand.RequestBodySchema = zod_1.z.object({
14
+ uuid: zod_1.z.uuid(),
15
+ tags: models_1.TagsSchema,
16
+ });
17
+ SetSubscriptionTemplateTagsCommand.ResponseSchema = zod_1.z.object({
18
+ response: zod_1.z.object({
19
+ uuid: zod_1.z.uuid(),
20
+ tags: zod_1.z.array(zod_1.z.string()),
21
+ }),
22
+ });
23
+ })(SetSubscriptionTemplateTagsCommand || (exports.SetSubscriptionTemplateTagsCommand = SetSubscriptionTemplateTagsCommand = {}));
@@ -1280,4 +1280,14 @@ exports.ERRORS = {
1280
1280
  message: 'Create SSH ticket error',
1281
1281
  httpCode: 500,
1282
1282
  },
1283
+ GET_ENTITY_TAGS_ERROR: {
1284
+ code: 'A256',
1285
+ message: 'Get tags error',
1286
+ httpCode: 500,
1287
+ },
1288
+ SET_ENTITY_TAGS_ERROR: {
1289
+ code: 'A257',
1290
+ message: 'Set tags error',
1291
+ httpCode: 500,
1292
+ },
1283
1293
  };