@constructive-sdk/cli 0.17.1 → 0.17.3

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 (213) hide show
  1. package/admin/cli/commands/app-invite.js +22 -0
  2. package/admin/cli/commands/app-limit-default.js +22 -0
  3. package/admin/cli/commands/{confirm-upload.d.ts → app-limit-event.d.ts} +1 -1
  4. package/admin/cli/commands/app-limit-event.js +212 -0
  5. package/admin/cli/commands/app-limit.js +66 -0
  6. package/admin/cli/commands/app-membership.js +0 -22
  7. package/admin/cli/commands/org-invite.js +22 -0
  8. package/{esm/admin/cli/commands/confirm-upload.d.ts → admin/cli/commands/org-limit-aggregate.d.ts} +1 -1
  9. package/admin/cli/commands/org-limit-aggregate.js +362 -0
  10. package/admin/cli/commands/org-limit-default.js +22 -0
  11. package/{auth/cli/commands/confirm-upload.d.ts → admin/cli/commands/org-limit-event.d.ts} +1 -1
  12. package/admin/cli/commands/org-limit-event.js +212 -0
  13. package/admin/cli/commands/org-limit.js +66 -0
  14. package/admin/cli/commands/org-membership-setting.js +44 -0
  15. package/admin/cli/commands.js +25 -21
  16. package/admin/cli/executor.d.ts +12 -14
  17. package/admin/orm/index.d.ts +24 -23
  18. package/admin/orm/index.js +24 -18
  19. package/admin/orm/input-types.d.ts +1297 -839
  20. package/admin/orm/models/appLimitEvent.d.ts +32 -0
  21. package/admin/orm/models/appLimitEvent.js +55 -0
  22. package/admin/orm/models/index.d.ts +12 -9
  23. package/admin/orm/models/index.js +25 -19
  24. package/admin/orm/models/orgLimitAggregate.d.ts +56 -0
  25. package/admin/orm/models/orgLimitAggregate.js +100 -0
  26. package/admin/orm/models/orgLimitEvent.d.ts +32 -0
  27. package/admin/orm/models/orgLimitEvent.js +55 -0
  28. package/admin/orm/mutation/index.d.ts +1 -15
  29. package/admin/orm/mutation/index.js +0 -12
  30. package/auth/cli/commands.js +1 -3
  31. package/auth/cli/executor.d.ts +0 -5
  32. package/auth/orm/index.d.ts +0 -5
  33. package/auth/orm/input-types.d.ts +0 -20
  34. package/auth/orm/mutation/index.d.ts +1 -15
  35. package/auth/orm/mutation/index.js +0 -12
  36. package/esm/admin/cli/commands/app-invite.js +22 -0
  37. package/esm/admin/cli/commands/app-limit-default.js +22 -0
  38. package/esm/{auth/cli/commands/confirm-upload.d.ts → admin/cli/commands/app-limit-event.d.ts} +1 -1
  39. package/esm/admin/cli/commands/app-limit-event.js +210 -0
  40. package/esm/admin/cli/commands/app-limit.js +66 -0
  41. package/esm/admin/cli/commands/app-membership.js +0 -22
  42. package/esm/admin/cli/commands/org-invite.js +22 -0
  43. package/esm/admin/cli/commands/org-limit-aggregate.d.ts +8 -0
  44. package/esm/admin/cli/commands/org-limit-aggregate.js +360 -0
  45. package/esm/admin/cli/commands/org-limit-default.js +22 -0
  46. package/esm/admin/cli/commands/org-limit-event.d.ts +8 -0
  47. package/esm/admin/cli/commands/org-limit-event.js +210 -0
  48. package/esm/admin/cli/commands/org-limit.js +66 -0
  49. package/esm/admin/cli/commands/org-membership-setting.js +44 -0
  50. package/esm/admin/cli/commands.js +25 -21
  51. package/esm/admin/cli/executor.d.ts +12 -14
  52. package/esm/admin/orm/index.d.ts +24 -23
  53. package/esm/admin/orm/index.js +24 -18
  54. package/esm/admin/orm/input-types.d.ts +1297 -839
  55. package/esm/admin/orm/models/appLimitEvent.d.ts +32 -0
  56. package/esm/admin/orm/models/appLimitEvent.js +51 -0
  57. package/esm/admin/orm/models/index.d.ts +12 -9
  58. package/esm/admin/orm/models/index.js +12 -9
  59. package/esm/admin/orm/models/orgLimitAggregate.d.ts +56 -0
  60. package/esm/admin/orm/models/orgLimitAggregate.js +96 -0
  61. package/esm/admin/orm/models/orgLimitEvent.d.ts +32 -0
  62. package/esm/admin/orm/models/orgLimitEvent.js +51 -0
  63. package/esm/admin/orm/mutation/index.d.ts +1 -15
  64. package/esm/admin/orm/mutation/index.js +0 -12
  65. package/esm/auth/cli/commands.js +1 -3
  66. package/esm/auth/cli/executor.d.ts +0 -5
  67. package/esm/auth/orm/index.d.ts +0 -5
  68. package/esm/auth/orm/input-types.d.ts +0 -20
  69. package/esm/auth/orm/mutation/index.d.ts +1 -15
  70. package/esm/auth/orm/mutation/index.js +0 -12
  71. package/esm/objects/cli/commands.js +1 -3
  72. package/esm/objects/cli/executor.d.ts +0 -5
  73. package/esm/objects/orm/index.d.ts +0 -5
  74. package/esm/objects/orm/input-types.d.ts +0 -20
  75. package/esm/objects/orm/mutation/index.d.ts +1 -15
  76. package/esm/objects/orm/mutation/index.js +0 -12
  77. package/esm/public/cli/commands/agent-message.d.ts +8 -0
  78. package/esm/public/cli/commands/agent-message.js +324 -0
  79. package/esm/public/cli/commands/agent-task.d.ts +8 -0
  80. package/esm/public/cli/commands/agent-task.js +368 -0
  81. package/esm/public/cli/commands/agent-thread.d.ts +8 -0
  82. package/esm/public/cli/commands/agent-thread.js +372 -0
  83. package/esm/public/cli/commands/app-invite.js +22 -0
  84. package/esm/public/cli/commands/app-limit-default.js +22 -0
  85. package/esm/public/cli/commands/app-limit-event.d.ts +8 -0
  86. package/esm/public/cli/commands/app-limit-event.js +210 -0
  87. package/esm/public/cli/commands/app-limit.js +66 -0
  88. package/esm/public/cli/commands/app-membership.js +0 -22
  89. package/esm/public/cli/commands/billing-module.d.ts +8 -0
  90. package/esm/public/cli/commands/billing-module.js +492 -0
  91. package/esm/public/cli/commands/limits-module.js +22 -0
  92. package/esm/public/cli/commands/node-type-registry.d.ts +8 -0
  93. package/esm/public/cli/commands/node-type-registry.js +343 -0
  94. package/esm/public/cli/commands/org-invite.js +22 -0
  95. package/esm/public/cli/commands/org-limit-aggregate.d.ts +8 -0
  96. package/esm/public/cli/commands/org-limit-aggregate.js +360 -0
  97. package/esm/public/cli/commands/org-limit-default.js +22 -0
  98. package/esm/public/cli/commands/org-limit-event.d.ts +8 -0
  99. package/esm/public/cli/commands/org-limit-event.js +210 -0
  100. package/esm/public/cli/commands/org-limit.js +66 -0
  101. package/esm/public/cli/commands/org-membership-setting.js +44 -0
  102. package/esm/public/cli/commands/plans-module.d.ts +8 -0
  103. package/esm/public/cli/commands/plans-module.js +426 -0
  104. package/esm/public/cli/commands/profiles-module.js +44 -0
  105. package/esm/public/cli/commands/storage-module.js +22 -44
  106. package/esm/public/cli/commands.js +45 -29
  107. package/esm/public/cli/executor.d.ts +38 -34
  108. package/esm/public/orm/index.d.ts +56 -43
  109. package/esm/public/orm/index.js +36 -18
  110. package/esm/public/orm/input-types.d.ts +2983 -1112
  111. package/esm/public/orm/input-types.js +9 -0
  112. package/esm/public/orm/models/agentMessage.d.ts +56 -0
  113. package/esm/public/orm/models/agentMessage.js +96 -0
  114. package/esm/public/orm/models/agentTask.d.ts +56 -0
  115. package/esm/public/orm/models/agentTask.js +96 -0
  116. package/esm/public/orm/models/agentThread.d.ts +56 -0
  117. package/esm/public/orm/models/agentThread.js +96 -0
  118. package/esm/public/orm/models/appLimitEvent.d.ts +32 -0
  119. package/esm/public/orm/models/appLimitEvent.js +51 -0
  120. package/esm/public/orm/models/billingModule.d.ts +56 -0
  121. package/esm/public/orm/models/billingModule.js +96 -0
  122. package/esm/public/orm/models/index.d.ts +18 -9
  123. package/esm/public/orm/models/index.js +18 -9
  124. package/esm/public/orm/models/nodeTypeRegistry.d.ts +56 -0
  125. package/esm/public/orm/models/nodeTypeRegistry.js +96 -0
  126. package/esm/public/orm/models/orgLimitAggregate.d.ts +56 -0
  127. package/esm/public/orm/models/orgLimitAggregate.js +96 -0
  128. package/esm/public/orm/models/orgLimitEvent.d.ts +32 -0
  129. package/esm/public/orm/models/orgLimitEvent.js +51 -0
  130. package/esm/public/orm/models/plansModule.d.ts +56 -0
  131. package/esm/public/orm/models/plansModule.js +96 -0
  132. package/esm/public/orm/mutation/index.d.ts +17 -31
  133. package/esm/public/orm/mutation/index.js +24 -36
  134. package/esm/public/orm/query/index.d.ts +28 -28
  135. package/esm/public/orm/query/index.js +48 -48
  136. package/objects/cli/commands.js +1 -3
  137. package/objects/cli/executor.d.ts +0 -5
  138. package/objects/orm/index.d.ts +0 -5
  139. package/objects/orm/input-types.d.ts +0 -20
  140. package/objects/orm/mutation/index.d.ts +1 -15
  141. package/objects/orm/mutation/index.js +0 -12
  142. package/package.json +4 -4
  143. package/public/cli/commands/agent-message.d.ts +8 -0
  144. package/public/cli/commands/agent-message.js +326 -0
  145. package/public/cli/commands/agent-task.d.ts +8 -0
  146. package/public/cli/commands/agent-task.js +370 -0
  147. package/public/cli/commands/agent-thread.d.ts +8 -0
  148. package/public/cli/commands/agent-thread.js +374 -0
  149. package/public/cli/commands/app-invite.js +22 -0
  150. package/public/cli/commands/app-limit-default.js +22 -0
  151. package/public/cli/commands/app-limit-event.d.ts +8 -0
  152. package/public/cli/commands/app-limit-event.js +212 -0
  153. package/public/cli/commands/app-limit.js +66 -0
  154. package/public/cli/commands/app-membership.js +0 -22
  155. package/public/cli/commands/billing-module.d.ts +8 -0
  156. package/public/cli/commands/billing-module.js +494 -0
  157. package/public/cli/commands/limits-module.js +22 -0
  158. package/public/cli/commands/node-type-registry.d.ts +8 -0
  159. package/public/cli/commands/node-type-registry.js +345 -0
  160. package/public/cli/commands/org-invite.js +22 -0
  161. package/public/cli/commands/org-limit-aggregate.d.ts +8 -0
  162. package/public/cli/commands/org-limit-aggregate.js +362 -0
  163. package/public/cli/commands/org-limit-default.js +22 -0
  164. package/public/cli/commands/org-limit-event.d.ts +8 -0
  165. package/public/cli/commands/org-limit-event.js +212 -0
  166. package/public/cli/commands/org-limit.js +66 -0
  167. package/public/cli/commands/org-membership-setting.js +44 -0
  168. package/public/cli/commands/plans-module.d.ts +8 -0
  169. package/public/cli/commands/plans-module.js +428 -0
  170. package/public/cli/commands/profiles-module.js +44 -0
  171. package/public/cli/commands/storage-module.js +22 -44
  172. package/public/cli/commands.js +45 -29
  173. package/public/cli/executor.d.ts +38 -34
  174. package/public/orm/index.d.ts +56 -43
  175. package/public/orm/index.js +36 -18
  176. package/public/orm/input-types.d.ts +2983 -1112
  177. package/public/orm/input-types.js +9 -0
  178. package/public/orm/models/agentMessage.d.ts +56 -0
  179. package/public/orm/models/agentMessage.js +100 -0
  180. package/public/orm/models/agentTask.d.ts +56 -0
  181. package/public/orm/models/agentTask.js +100 -0
  182. package/public/orm/models/agentThread.d.ts +56 -0
  183. package/public/orm/models/agentThread.js +100 -0
  184. package/public/orm/models/appLimitEvent.d.ts +32 -0
  185. package/public/orm/models/appLimitEvent.js +55 -0
  186. package/public/orm/models/billingModule.d.ts +56 -0
  187. package/public/orm/models/billingModule.js +100 -0
  188. package/public/orm/models/index.d.ts +18 -9
  189. package/public/orm/models/index.js +39 -21
  190. package/public/orm/models/nodeTypeRegistry.d.ts +56 -0
  191. package/public/orm/models/nodeTypeRegistry.js +100 -0
  192. package/public/orm/models/orgLimitAggregate.d.ts +56 -0
  193. package/public/orm/models/orgLimitAggregate.js +100 -0
  194. package/public/orm/models/orgLimitEvent.d.ts +32 -0
  195. package/public/orm/models/orgLimitEvent.js +55 -0
  196. package/public/orm/models/plansModule.d.ts +56 -0
  197. package/public/orm/models/plansModule.js +100 -0
  198. package/public/orm/mutation/index.d.ts +17 -31
  199. package/public/orm/mutation/index.js +24 -36
  200. package/public/orm/query/index.d.ts +28 -28
  201. package/public/orm/query/index.js +48 -48
  202. package/admin/cli/commands/confirm-upload.js +0 -36
  203. package/auth/cli/commands/confirm-upload.js +0 -36
  204. package/esm/admin/cli/commands/confirm-upload.js +0 -34
  205. package/esm/auth/cli/commands/confirm-upload.js +0 -34
  206. package/esm/objects/cli/commands/confirm-upload.d.ts +0 -8
  207. package/esm/objects/cli/commands/confirm-upload.js +0 -34
  208. package/esm/public/cli/commands/confirm-upload.d.ts +0 -8
  209. package/esm/public/cli/commands/confirm-upload.js +0 -34
  210. package/objects/cli/commands/confirm-upload.d.ts +0 -8
  211. package/objects/cli/commands/confirm-upload.js +0 -36
  212. package/public/cli/commands/confirm-upload.d.ts +0 -8
  213. package/public/cli/commands/confirm-upload.js +0 -36
@@ -0,0 +1,55 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.OrgLimitEventModel = void 0;
4
+ const query_builder_1 = require("../query-builder");
5
+ const input_types_1 = require("../input-types");
6
+ class OrgLimitEventModel {
7
+ client;
8
+ constructor(client) {
9
+ this.client = client;
10
+ }
11
+ findMany(args) {
12
+ const { document, variables } = (0, query_builder_1.buildFindManyDocument)('OrgLimitEvent', 'orgLimitEvents', args.select, {
13
+ where: args?.where,
14
+ orderBy: args?.orderBy,
15
+ first: args?.first,
16
+ last: args?.last,
17
+ after: args?.after,
18
+ before: args?.before,
19
+ offset: args?.offset,
20
+ }, 'OrgLimitEventFilter', 'OrgLimitEventOrderBy', input_types_1.connectionFieldsMap);
21
+ return new query_builder_1.QueryBuilder({
22
+ client: this.client,
23
+ operation: 'query',
24
+ operationName: 'OrgLimitEvent',
25
+ fieldName: 'orgLimitEvents',
26
+ document,
27
+ variables,
28
+ });
29
+ }
30
+ findFirst(args) {
31
+ const { document, variables } = (0, query_builder_1.buildFindFirstDocument)('OrgLimitEvent', 'orgLimitEvents', args.select, {
32
+ where: args?.where,
33
+ }, 'OrgLimitEventFilter', input_types_1.connectionFieldsMap);
34
+ return new query_builder_1.QueryBuilder({
35
+ client: this.client,
36
+ operation: 'query',
37
+ operationName: 'OrgLimitEvent',
38
+ fieldName: 'orgLimitEvents',
39
+ document,
40
+ variables,
41
+ });
42
+ }
43
+ create(args) {
44
+ const { document, variables } = (0, query_builder_1.buildCreateDocument)('OrgLimitEvent', 'createOrgLimitEvent', 'orgLimitEvent', args.select, args.data, 'CreateOrgLimitEventInput', input_types_1.connectionFieldsMap);
45
+ return new query_builder_1.QueryBuilder({
46
+ client: this.client,
47
+ operation: 'mutation',
48
+ operationName: 'OrgLimitEvent',
49
+ fieldName: 'createOrgLimitEvent',
50
+ document,
51
+ variables,
52
+ });
53
+ }
54
+ }
55
+ exports.OrgLimitEventModel = OrgLimitEventModel;
@@ -0,0 +1,56 @@
1
+ /**
2
+ * PlansModule model for ORM client
3
+ * @generated by @constructive-io/graphql-codegen
4
+ * DO NOT EDIT - changes will be overwritten
5
+ */
6
+ import { OrmClient } from '../client';
7
+ import { QueryBuilder } from '../query-builder';
8
+ import type { ConnectionResult, FindManyArgs, FindFirstArgs, CreateArgs, UpdateArgs, DeleteArgs, InferSelectResult, StrictSelect } from '../select-types';
9
+ import type { PlansModuleWithRelations, PlansModuleSelect, PlansModuleFilter, PlansModuleOrderBy, CreatePlansModuleInput, PlansModulePatch } from '../input-types';
10
+ export declare class PlansModuleModel {
11
+ private client;
12
+ constructor(client: OrmClient);
13
+ findMany<S extends PlansModuleSelect>(args: FindManyArgs<S, PlansModuleFilter, PlansModuleOrderBy> & {
14
+ select: S;
15
+ } & StrictSelect<S, PlansModuleSelect>): QueryBuilder<{
16
+ plansModules: ConnectionResult<InferSelectResult<PlansModuleWithRelations, S>>;
17
+ }>;
18
+ findFirst<S extends PlansModuleSelect>(args: FindFirstArgs<S, PlansModuleFilter> & {
19
+ select: S;
20
+ } & StrictSelect<S, PlansModuleSelect>): QueryBuilder<{
21
+ plansModules: {
22
+ nodes: InferSelectResult<PlansModuleWithRelations, S>[];
23
+ };
24
+ }>;
25
+ findOne<S extends PlansModuleSelect>(args: {
26
+ id: string;
27
+ select: S;
28
+ } & StrictSelect<S, PlansModuleSelect>): QueryBuilder<{
29
+ plansModule: InferSelectResult<PlansModuleWithRelations, S> | null;
30
+ }>;
31
+ create<S extends PlansModuleSelect>(args: CreateArgs<S, CreatePlansModuleInput['plansModule']> & {
32
+ select: S;
33
+ } & StrictSelect<S, PlansModuleSelect>): QueryBuilder<{
34
+ createPlansModule: {
35
+ plansModule: InferSelectResult<PlansModuleWithRelations, S>;
36
+ };
37
+ }>;
38
+ update<S extends PlansModuleSelect>(args: UpdateArgs<S, {
39
+ id: string;
40
+ }, PlansModulePatch> & {
41
+ select: S;
42
+ } & StrictSelect<S, PlansModuleSelect>): QueryBuilder<{
43
+ updatePlansModule: {
44
+ plansModule: InferSelectResult<PlansModuleWithRelations, S>;
45
+ };
46
+ }>;
47
+ delete<S extends PlansModuleSelect>(args: DeleteArgs<{
48
+ id: string;
49
+ }, S> & {
50
+ select: S;
51
+ } & StrictSelect<S, PlansModuleSelect>): QueryBuilder<{
52
+ deletePlansModule: {
53
+ plansModule: InferSelectResult<PlansModuleWithRelations, S>;
54
+ };
55
+ }>;
56
+ }
@@ -0,0 +1,100 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.PlansModuleModel = void 0;
4
+ const query_builder_1 = require("../query-builder");
5
+ const input_types_1 = require("../input-types");
6
+ class PlansModuleModel {
7
+ client;
8
+ constructor(client) {
9
+ this.client = client;
10
+ }
11
+ findMany(args) {
12
+ const { document, variables } = (0, query_builder_1.buildFindManyDocument)('PlansModule', 'plansModules', args.select, {
13
+ where: args?.where,
14
+ orderBy: args?.orderBy,
15
+ first: args?.first,
16
+ last: args?.last,
17
+ after: args?.after,
18
+ before: args?.before,
19
+ offset: args?.offset,
20
+ }, 'PlansModuleFilter', 'PlansModuleOrderBy', input_types_1.connectionFieldsMap);
21
+ return new query_builder_1.QueryBuilder({
22
+ client: this.client,
23
+ operation: 'query',
24
+ operationName: 'PlansModule',
25
+ fieldName: 'plansModules',
26
+ document,
27
+ variables,
28
+ });
29
+ }
30
+ findFirst(args) {
31
+ const { document, variables } = (0, query_builder_1.buildFindFirstDocument)('PlansModule', 'plansModules', args.select, {
32
+ where: args?.where,
33
+ }, 'PlansModuleFilter', input_types_1.connectionFieldsMap);
34
+ return new query_builder_1.QueryBuilder({
35
+ client: this.client,
36
+ operation: 'query',
37
+ operationName: 'PlansModule',
38
+ fieldName: 'plansModules',
39
+ document,
40
+ variables,
41
+ });
42
+ }
43
+ findOne(args) {
44
+ const { document, variables } = (0, query_builder_1.buildFindManyDocument)('PlansModule', 'plansModules', args.select, {
45
+ where: {
46
+ id: {
47
+ equalTo: args.id,
48
+ },
49
+ },
50
+ first: 1,
51
+ }, 'PlansModuleFilter', 'PlansModuleOrderBy', input_types_1.connectionFieldsMap);
52
+ return new query_builder_1.QueryBuilder({
53
+ client: this.client,
54
+ operation: 'query',
55
+ operationName: 'PlansModule',
56
+ fieldName: 'plansModule',
57
+ document,
58
+ variables,
59
+ transform: (data) => ({
60
+ plansModule: data.plansModules?.nodes?.[0] ?? null,
61
+ }),
62
+ });
63
+ }
64
+ create(args) {
65
+ const { document, variables } = (0, query_builder_1.buildCreateDocument)('PlansModule', 'createPlansModule', 'plansModule', args.select, args.data, 'CreatePlansModuleInput', input_types_1.connectionFieldsMap);
66
+ return new query_builder_1.QueryBuilder({
67
+ client: this.client,
68
+ operation: 'mutation',
69
+ operationName: 'PlansModule',
70
+ fieldName: 'createPlansModule',
71
+ document,
72
+ variables,
73
+ });
74
+ }
75
+ update(args) {
76
+ const { document, variables } = (0, query_builder_1.buildUpdateByPkDocument)('PlansModule', 'updatePlansModule', 'plansModule', args.select, args.where.id, args.data, 'UpdatePlansModuleInput', 'id', 'plansModulePatch', input_types_1.connectionFieldsMap);
77
+ return new query_builder_1.QueryBuilder({
78
+ client: this.client,
79
+ operation: 'mutation',
80
+ operationName: 'PlansModule',
81
+ fieldName: 'updatePlansModule',
82
+ document,
83
+ variables,
84
+ });
85
+ }
86
+ delete(args) {
87
+ const { document, variables } = (0, query_builder_1.buildDeleteByPkDocument)('PlansModule', 'deletePlansModule', 'plansModule', {
88
+ id: args.where.id,
89
+ }, 'DeletePlansModuleInput', args.select, input_types_1.connectionFieldsMap);
90
+ return new query_builder_1.QueryBuilder({
91
+ client: this.client,
92
+ operation: 'mutation',
93
+ operationName: 'PlansModule',
94
+ fieldName: 'deletePlansModule',
95
+ document,
96
+ variables,
97
+ });
98
+ }
99
+ }
100
+ exports.PlansModuleModel = PlansModuleModel;
@@ -6,7 +6,7 @@
6
6
  import { OrmClient } from '../client';
7
7
  import { QueryBuilder } from '../query-builder';
8
8
  import type { InferSelectResult, StrictSelect } from '../select-types';
9
- import type { SendAccountDeletionEmailInput, SignOutInput, AcceptDatabaseTransferInput, CancelDatabaseTransferInput, RejectDatabaseTransferInput, DisconnectAccountInput, RevokeApiKeyInput, RevokeSessionInput, VerifyPasswordInput, VerifyTotpInput, SubmitAppInviteCodeInput, SubmitOrgInviteCodeInput, CheckPasswordInput, ConfirmDeleteAccountInput, SetPasswordInput, VerifyEmailInput, FreezeObjectsInput, InitEmptyRepoInput, ConstructBlueprintInput, ProvisionNewUserInput, ResetPasswordInput, RemoveNodeAtPathInput, CopyTemplateToBlueprintInput, ProvisionSpatialRelationInput, BootstrapUserInput, SetFieldOrderInput, ProvisionUniqueConstraintInput, ProvisionFullTextSearchInput, ProvisionIndexInput, SetDataAtPathInput, SetPropsAndCommitInput, ProvisionDatabaseWithUserInput, InsertNodeAtPathInput, UpdateNodeAtPathInput, SetAndCommitInput, ProvisionRelationInput, ApplyRlsInput, SignInCrossOriginInput, CreateUserDatabaseInput, ExtendTokenExpiresInput, CreateApiKeyInput, SignUpInput, RequestCrossOriginTokenInput, SignInInput, ProvisionTableInput, SendVerificationEmailInput, ForgotPasswordInput, RequestUploadUrlInput, ConfirmUploadInput, ProvisionBucketInput, SendAccountDeletionEmailPayload, SignOutPayload, AcceptDatabaseTransferPayload, CancelDatabaseTransferPayload, RejectDatabaseTransferPayload, DisconnectAccountPayload, RevokeApiKeyPayload, RevokeSessionPayload, VerifyPasswordPayload, VerifyTotpPayload, SubmitAppInviteCodePayload, SubmitOrgInviteCodePayload, CheckPasswordPayload, ConfirmDeleteAccountPayload, SetPasswordPayload, VerifyEmailPayload, FreezeObjectsPayload, InitEmptyRepoPayload, ConstructBlueprintPayload, ProvisionNewUserPayload, ResetPasswordPayload, RemoveNodeAtPathPayload, CopyTemplateToBlueprintPayload, ProvisionSpatialRelationPayload, BootstrapUserPayload, SetFieldOrderPayload, ProvisionUniqueConstraintPayload, ProvisionFullTextSearchPayload, ProvisionIndexPayload, SetDataAtPathPayload, SetPropsAndCommitPayload, ProvisionDatabaseWithUserPayload, InsertNodeAtPathPayload, UpdateNodeAtPathPayload, SetAndCommitPayload, ProvisionRelationPayload, ApplyRlsPayload, SignInCrossOriginPayload, CreateUserDatabasePayload, ExtendTokenExpiresPayload, CreateApiKeyPayload, SignUpPayload, RequestCrossOriginTokenPayload, SignInPayload, ProvisionTablePayload, SendVerificationEmailPayload, ForgotPasswordPayload, RequestUploadUrlPayload, ConfirmUploadPayload, ProvisionBucketPayload, SendAccountDeletionEmailPayloadSelect, SignOutPayloadSelect, AcceptDatabaseTransferPayloadSelect, CancelDatabaseTransferPayloadSelect, RejectDatabaseTransferPayloadSelect, DisconnectAccountPayloadSelect, RevokeApiKeyPayloadSelect, RevokeSessionPayloadSelect, VerifyPasswordPayloadSelect, VerifyTotpPayloadSelect, SubmitAppInviteCodePayloadSelect, SubmitOrgInviteCodePayloadSelect, CheckPasswordPayloadSelect, ConfirmDeleteAccountPayloadSelect, SetPasswordPayloadSelect, VerifyEmailPayloadSelect, FreezeObjectsPayloadSelect, InitEmptyRepoPayloadSelect, ConstructBlueprintPayloadSelect, ProvisionNewUserPayloadSelect, ResetPasswordPayloadSelect, RemoveNodeAtPathPayloadSelect, CopyTemplateToBlueprintPayloadSelect, ProvisionSpatialRelationPayloadSelect, BootstrapUserPayloadSelect, SetFieldOrderPayloadSelect, ProvisionUniqueConstraintPayloadSelect, ProvisionFullTextSearchPayloadSelect, ProvisionIndexPayloadSelect, SetDataAtPathPayloadSelect, SetPropsAndCommitPayloadSelect, ProvisionDatabaseWithUserPayloadSelect, InsertNodeAtPathPayloadSelect, UpdateNodeAtPathPayloadSelect, SetAndCommitPayloadSelect, ProvisionRelationPayloadSelect, ApplyRlsPayloadSelect, SignInCrossOriginPayloadSelect, CreateUserDatabasePayloadSelect, ExtendTokenExpiresPayloadSelect, CreateApiKeyPayloadSelect, SignUpPayloadSelect, RequestCrossOriginTokenPayloadSelect, SignInPayloadSelect, ProvisionTablePayloadSelect, SendVerificationEmailPayloadSelect, ForgotPasswordPayloadSelect, RequestUploadUrlPayloadSelect, ConfirmUploadPayloadSelect, ProvisionBucketPayloadSelect } from '../input-types';
9
+ import type { SendAccountDeletionEmailInput, SignOutInput, AcceptDatabaseTransferInput, CancelDatabaseTransferInput, RejectDatabaseTransferInput, DisconnectAccountInput, RevokeApiKeyInput, RevokeSessionInput, VerifyPasswordInput, VerifyTotpInput, SubmitAppInviteCodeInput, SubmitOrgInviteCodeInput, CheckPasswordInput, ConfirmDeleteAccountInput, SetPasswordInput, VerifyEmailInput, FreezeObjectsInput, InitEmptyRepoInput, ConstructBlueprintInput, ProvisionNewUserInput, ResetPasswordInput, RemoveNodeAtPathInput, CopyTemplateToBlueprintInput, ProvisionSpatialRelationInput, BootstrapUserInput, SetFieldOrderInput, ProvisionUniqueConstraintInput, ProvisionFullTextSearchInput, ProvisionIndexInput, SetDataAtPathInput, SetPropsAndCommitInput, ProvisionDatabaseWithUserInput, InsertNodeAtPathInput, UpdateNodeAtPathInput, SetAndCommitInput, ProvisionRelationInput, ApplyRlsInput, SignInCrossOriginInput, CreateUserDatabaseInput, ExtendTokenExpiresInput, CreateApiKeyInput, SendVerificationEmailInput, ForgotPasswordInput, SignUpInput, RequestCrossOriginTokenInput, SignInInput, ProvisionTableInput, RequestUploadUrlInput, ProvisionBucketInput, SendAccountDeletionEmailPayload, SignOutPayload, AcceptDatabaseTransferPayload, CancelDatabaseTransferPayload, RejectDatabaseTransferPayload, DisconnectAccountPayload, RevokeApiKeyPayload, RevokeSessionPayload, VerifyPasswordPayload, VerifyTotpPayload, SubmitAppInviteCodePayload, SubmitOrgInviteCodePayload, CheckPasswordPayload, ConfirmDeleteAccountPayload, SetPasswordPayload, VerifyEmailPayload, FreezeObjectsPayload, InitEmptyRepoPayload, ConstructBlueprintPayload, ProvisionNewUserPayload, ResetPasswordPayload, RemoveNodeAtPathPayload, CopyTemplateToBlueprintPayload, ProvisionSpatialRelationPayload, BootstrapUserPayload, SetFieldOrderPayload, ProvisionUniqueConstraintPayload, ProvisionFullTextSearchPayload, ProvisionIndexPayload, SetDataAtPathPayload, SetPropsAndCommitPayload, ProvisionDatabaseWithUserPayload, InsertNodeAtPathPayload, UpdateNodeAtPathPayload, SetAndCommitPayload, ProvisionRelationPayload, ApplyRlsPayload, SignInCrossOriginPayload, CreateUserDatabasePayload, ExtendTokenExpiresPayload, CreateApiKeyPayload, SendVerificationEmailPayload, ForgotPasswordPayload, SignUpPayload, RequestCrossOriginTokenPayload, SignInPayload, ProvisionTablePayload, RequestUploadUrlPayload, ProvisionBucketPayload, SendAccountDeletionEmailPayloadSelect, SignOutPayloadSelect, AcceptDatabaseTransferPayloadSelect, CancelDatabaseTransferPayloadSelect, RejectDatabaseTransferPayloadSelect, DisconnectAccountPayloadSelect, RevokeApiKeyPayloadSelect, RevokeSessionPayloadSelect, VerifyPasswordPayloadSelect, VerifyTotpPayloadSelect, SubmitAppInviteCodePayloadSelect, SubmitOrgInviteCodePayloadSelect, CheckPasswordPayloadSelect, ConfirmDeleteAccountPayloadSelect, SetPasswordPayloadSelect, VerifyEmailPayloadSelect, FreezeObjectsPayloadSelect, InitEmptyRepoPayloadSelect, ConstructBlueprintPayloadSelect, ProvisionNewUserPayloadSelect, ResetPasswordPayloadSelect, RemoveNodeAtPathPayloadSelect, CopyTemplateToBlueprintPayloadSelect, ProvisionSpatialRelationPayloadSelect, BootstrapUserPayloadSelect, SetFieldOrderPayloadSelect, ProvisionUniqueConstraintPayloadSelect, ProvisionFullTextSearchPayloadSelect, ProvisionIndexPayloadSelect, SetDataAtPathPayloadSelect, SetPropsAndCommitPayloadSelect, ProvisionDatabaseWithUserPayloadSelect, InsertNodeAtPathPayloadSelect, UpdateNodeAtPathPayloadSelect, SetAndCommitPayloadSelect, ProvisionRelationPayloadSelect, ApplyRlsPayloadSelect, SignInCrossOriginPayloadSelect, CreateUserDatabasePayloadSelect, ExtendTokenExpiresPayloadSelect, CreateApiKeyPayloadSelect, SendVerificationEmailPayloadSelect, ForgotPasswordPayloadSelect, SignUpPayloadSelect, RequestCrossOriginTokenPayloadSelect, SignInPayloadSelect, ProvisionTablePayloadSelect, RequestUploadUrlPayloadSelect, ProvisionBucketPayloadSelect } from '../input-types';
10
10
  export interface SendAccountDeletionEmailVariables {
11
11
  input: SendAccountDeletionEmailInput;
12
12
  }
@@ -177,6 +177,12 @@ export interface ExtendTokenExpiresVariables {
177
177
  export interface CreateApiKeyVariables {
178
178
  input: CreateApiKeyInput;
179
179
  }
180
+ export interface SendVerificationEmailVariables {
181
+ input: SendVerificationEmailInput;
182
+ }
183
+ export interface ForgotPasswordVariables {
184
+ input: ForgotPasswordInput;
185
+ }
180
186
  export interface SignUpVariables {
181
187
  input: SignUpInput;
182
188
  }
@@ -193,12 +199,6 @@ export interface SignInVariables {
193
199
  export interface ProvisionTableVariables {
194
200
  input: ProvisionTableInput;
195
201
  }
196
- export interface SendVerificationEmailVariables {
197
- input: SendVerificationEmailInput;
198
- }
199
- export interface ForgotPasswordVariables {
200
- input: ForgotPasswordInput;
201
- }
202
202
  /**
203
203
  * Variables for requestUploadUrl
204
204
  * Request a presigned URL for uploading a file directly to S3.
@@ -209,15 +209,6 @@ existing file ID and deduplicated=true with no uploadUrl.
209
209
  export interface RequestUploadUrlVariables {
210
210
  input: RequestUploadUrlInput;
211
211
  }
212
- /**
213
- * Variables for confirmUpload
214
- * Confirm that a file has been uploaded to S3.
215
- Verifies the object exists in S3, checks content-type,
216
- and transitions the file status from 'pending' to 'ready'.
217
- */
218
- export interface ConfirmUploadVariables {
219
- input: ConfirmUploadInput;
220
- }
221
212
  /**
222
213
  * Variables for provisionBucket
223
214
  * Provision an S3 bucket for a logical bucket in the database.
@@ -434,6 +425,16 @@ export declare function createMutationOperations(client: OrmClient): {
434
425
  } & StrictSelect<S, CreateApiKeyPayloadSelect>) => QueryBuilder<{
435
426
  createApiKey: InferSelectResult<CreateApiKeyPayload, S> | null;
436
427
  }>;
428
+ sendVerificationEmail: <S extends SendVerificationEmailPayloadSelect>(args: SendVerificationEmailVariables, options: {
429
+ select: S;
430
+ } & StrictSelect<S, SendVerificationEmailPayloadSelect>) => QueryBuilder<{
431
+ sendVerificationEmail: InferSelectResult<SendVerificationEmailPayload, S> | null;
432
+ }>;
433
+ forgotPassword: <S extends ForgotPasswordPayloadSelect>(args: ForgotPasswordVariables, options: {
434
+ select: S;
435
+ } & StrictSelect<S, ForgotPasswordPayloadSelect>) => QueryBuilder<{
436
+ forgotPassword: InferSelectResult<ForgotPasswordPayload, S> | null;
437
+ }>;
437
438
  signUp: <S extends SignUpPayloadSelect>(args: SignUpVariables, options: {
438
439
  select: S;
439
440
  } & StrictSelect<S, SignUpPayloadSelect>) => QueryBuilder<{
@@ -454,26 +455,11 @@ export declare function createMutationOperations(client: OrmClient): {
454
455
  } & StrictSelect<S, ProvisionTablePayloadSelect>) => QueryBuilder<{
455
456
  provisionTable: InferSelectResult<ProvisionTablePayload, S> | null;
456
457
  }>;
457
- sendVerificationEmail: <S extends SendVerificationEmailPayloadSelect>(args: SendVerificationEmailVariables, options: {
458
- select: S;
459
- } & StrictSelect<S, SendVerificationEmailPayloadSelect>) => QueryBuilder<{
460
- sendVerificationEmail: InferSelectResult<SendVerificationEmailPayload, S> | null;
461
- }>;
462
- forgotPassword: <S extends ForgotPasswordPayloadSelect>(args: ForgotPasswordVariables, options: {
463
- select: S;
464
- } & StrictSelect<S, ForgotPasswordPayloadSelect>) => QueryBuilder<{
465
- forgotPassword: InferSelectResult<ForgotPasswordPayload, S> | null;
466
- }>;
467
458
  requestUploadUrl: <S extends RequestUploadUrlPayloadSelect>(args: RequestUploadUrlVariables, options: {
468
459
  select: S;
469
460
  } & StrictSelect<S, RequestUploadUrlPayloadSelect>) => QueryBuilder<{
470
461
  requestUploadUrl: InferSelectResult<RequestUploadUrlPayload, S> | null;
471
462
  }>;
472
- confirmUpload: <S extends ConfirmUploadPayloadSelect>(args: ConfirmUploadVariables, options: {
473
- select: S;
474
- } & StrictSelect<S, ConfirmUploadPayloadSelect>) => QueryBuilder<{
475
- confirmUpload: InferSelectResult<ConfirmUploadPayload, S> | null;
476
- }>;
477
463
  provisionBucket: <S extends ProvisionBucketPayloadSelect>(args: ProvisionBucketVariables, options: {
478
464
  select: S;
479
465
  } & StrictSelect<S, ProvisionBucketPayloadSelect>) => QueryBuilder<{
@@ -497,6 +497,30 @@ function createMutationOperations(client) {
497
497
  },
498
498
  ], input_types_1.connectionFieldsMap, 'CreateApiKeyPayload'),
499
499
  }),
500
+ sendVerificationEmail: (args, options) => new query_builder_1.QueryBuilder({
501
+ client,
502
+ operation: 'mutation',
503
+ operationName: 'SendVerificationEmail',
504
+ fieldName: 'sendVerificationEmail',
505
+ ...(0, query_builder_1.buildCustomDocument)('mutation', 'SendVerificationEmail', 'sendVerificationEmail', options.select, args, [
506
+ {
507
+ name: 'input',
508
+ type: 'SendVerificationEmailInput!',
509
+ },
510
+ ], input_types_1.connectionFieldsMap, 'SendVerificationEmailPayload'),
511
+ }),
512
+ forgotPassword: (args, options) => new query_builder_1.QueryBuilder({
513
+ client,
514
+ operation: 'mutation',
515
+ operationName: 'ForgotPassword',
516
+ fieldName: 'forgotPassword',
517
+ ...(0, query_builder_1.buildCustomDocument)('mutation', 'ForgotPassword', 'forgotPassword', options.select, args, [
518
+ {
519
+ name: 'input',
520
+ type: 'ForgotPasswordInput!',
521
+ },
522
+ ], input_types_1.connectionFieldsMap, 'ForgotPasswordPayload'),
523
+ }),
500
524
  signUp: (args, options) => new query_builder_1.QueryBuilder({
501
525
  client,
502
526
  operation: 'mutation',
@@ -545,30 +569,6 @@ function createMutationOperations(client) {
545
569
  },
546
570
  ], input_types_1.connectionFieldsMap, 'ProvisionTablePayload'),
547
571
  }),
548
- sendVerificationEmail: (args, options) => new query_builder_1.QueryBuilder({
549
- client,
550
- operation: 'mutation',
551
- operationName: 'SendVerificationEmail',
552
- fieldName: 'sendVerificationEmail',
553
- ...(0, query_builder_1.buildCustomDocument)('mutation', 'SendVerificationEmail', 'sendVerificationEmail', options.select, args, [
554
- {
555
- name: 'input',
556
- type: 'SendVerificationEmailInput!',
557
- },
558
- ], input_types_1.connectionFieldsMap, 'SendVerificationEmailPayload'),
559
- }),
560
- forgotPassword: (args, options) => new query_builder_1.QueryBuilder({
561
- client,
562
- operation: 'mutation',
563
- operationName: 'ForgotPassword',
564
- fieldName: 'forgotPassword',
565
- ...(0, query_builder_1.buildCustomDocument)('mutation', 'ForgotPassword', 'forgotPassword', options.select, args, [
566
- {
567
- name: 'input',
568
- type: 'ForgotPasswordInput!',
569
- },
570
- ], input_types_1.connectionFieldsMap, 'ForgotPasswordPayload'),
571
- }),
572
572
  requestUploadUrl: (args, options) => new query_builder_1.QueryBuilder({
573
573
  client,
574
574
  operation: 'mutation',
@@ -581,18 +581,6 @@ function createMutationOperations(client) {
581
581
  },
582
582
  ], input_types_1.connectionFieldsMap, 'RequestUploadUrlPayload'),
583
583
  }),
584
- confirmUpload: (args, options) => new query_builder_1.QueryBuilder({
585
- client,
586
- operation: 'mutation',
587
- operationName: 'ConfirmUpload',
588
- fieldName: 'confirmUpload',
589
- ...(0, query_builder_1.buildCustomDocument)('mutation', 'ConfirmUpload', 'confirmUpload', options.select, args, [
590
- {
591
- name: 'input',
592
- type: 'ConfirmUploadInput!',
593
- },
594
- ], input_types_1.connectionFieldsMap, 'ConfirmUploadPayload'),
595
- }),
596
584
  provisionBucket: (args, options) => new query_builder_1.QueryBuilder({
597
585
  client,
598
586
  operation: 'mutation',
@@ -6,7 +6,7 @@
6
6
  import { OrmClient } from '../client';
7
7
  import { QueryBuilder } from '../query-builder';
8
8
  import type { InferSelectResult, StrictSelect } from '../select-types';
9
- import type { Object, User, ObjectSelect, UserSelect, ObjectConnection, AppPermissionConnection, OrgPermissionConnection, AppLevelRequirementConnection } from '../input-types';
9
+ import type { Object, User, ObjectSelect, UserSelect, AppPermissionConnection, OrgPermissionConnection, ObjectConnection, AppLevelRequirementConnection } from '../input-types';
10
10
  export interface RequireStepUpVariables {
11
11
  stepUpType?: string;
12
12
  }
@@ -63,9 +63,8 @@ export interface AppPermissionsGetMaskByNamesVariables {
63
63
  export interface OrgPermissionsGetMaskByNamesVariables {
64
64
  names?: string[];
65
65
  }
66
- export interface GetAllObjectsFromRootVariables {
67
- databaseId?: string;
68
- id?: string;
66
+ export interface AppPermissionsGetByMaskVariables {
67
+ mask?: string;
69
68
  /** Only read the first `n` values of the set. */
70
69
  first?: number;
71
70
  /**
@@ -76,10 +75,8 @@ export interface GetAllObjectsFromRootVariables {
76
75
  /** Read all values in the set after (below) this cursor. */
77
76
  after?: string;
78
77
  }
79
- export interface GetPathObjectsFromRootVariables {
80
- databaseId?: string;
81
- id?: string;
82
- path?: string[];
78
+ export interface OrgPermissionsGetByMaskVariables {
79
+ mask?: string;
83
80
  /** Only read the first `n` values of the set. */
84
81
  first?: number;
85
82
  /**
@@ -90,14 +87,9 @@ export interface GetPathObjectsFromRootVariables {
90
87
  /** Read all values in the set after (below) this cursor. */
91
88
  after?: string;
92
89
  }
93
- export interface GetObjectAtPathVariables {
94
- dbId?: string;
95
- storeId?: string;
96
- path?: string[];
97
- refname?: string;
98
- }
99
- export interface AppPermissionsGetByMaskVariables {
100
- mask?: string;
90
+ export interface GetAllObjectsFromRootVariables {
91
+ databaseId?: string;
92
+ id?: string;
101
93
  /** Only read the first `n` values of the set. */
102
94
  first?: number;
103
95
  /**
@@ -108,8 +100,10 @@ export interface AppPermissionsGetByMaskVariables {
108
100
  /** Read all values in the set after (below) this cursor. */
109
101
  after?: string;
110
102
  }
111
- export interface OrgPermissionsGetByMaskVariables {
112
- mask?: string;
103
+ export interface GetPathObjectsFromRootVariables {
104
+ databaseId?: string;
105
+ id?: string;
106
+ path?: string[];
113
107
  /** Only read the first `n` values of the set. */
114
108
  first?: number;
115
109
  /**
@@ -120,6 +114,12 @@ export interface OrgPermissionsGetByMaskVariables {
120
114
  /** Read all values in the set after (below) this cursor. */
121
115
  after?: string;
122
116
  }
117
+ export interface GetObjectAtPathVariables {
118
+ dbId?: string;
119
+ storeId?: string;
120
+ path?: string[];
121
+ refname?: string;
122
+ }
123
123
  export interface StepsRequiredVariables {
124
124
  level?: string;
125
125
  roleId?: string;
@@ -209,6 +209,16 @@ export declare function createQueryOperations(client: OrmClient): {
209
209
  }) => QueryBuilder<{
210
210
  orgPermissionsGetMaskByNames: string | null;
211
211
  }>;
212
+ appPermissionsGetByMask: (args: AppPermissionsGetByMaskVariables, options?: {
213
+ select?: Record<string, unknown>;
214
+ }) => QueryBuilder<{
215
+ appPermissionsGetByMask: AppPermissionConnection | null;
216
+ }>;
217
+ orgPermissionsGetByMask: (args: OrgPermissionsGetByMaskVariables, options?: {
218
+ select?: Record<string, unknown>;
219
+ }) => QueryBuilder<{
220
+ orgPermissionsGetByMask: OrgPermissionConnection | null;
221
+ }>;
212
222
  getAllObjectsFromRoot: (args: GetAllObjectsFromRootVariables, options?: {
213
223
  select?: Record<string, unknown>;
214
224
  }) => QueryBuilder<{
@@ -224,16 +234,6 @@ export declare function createQueryOperations(client: OrmClient): {
224
234
  } & StrictSelect<S, ObjectSelect>) => QueryBuilder<{
225
235
  getObjectAtPath: InferSelectResult<Object, S> | null;
226
236
  }>;
227
- appPermissionsGetByMask: (args: AppPermissionsGetByMaskVariables, options?: {
228
- select?: Record<string, unknown>;
229
- }) => QueryBuilder<{
230
- appPermissionsGetByMask: AppPermissionConnection | null;
231
- }>;
232
- orgPermissionsGetByMask: (args: OrgPermissionsGetByMaskVariables, options?: {
233
- select?: Record<string, unknown>;
234
- }) => QueryBuilder<{
235
- orgPermissionsGetByMask: OrgPermissionConnection | null;
236
- }>;
237
237
  stepsRequired: (args: StepsRequiredVariables, options?: {
238
238
  select?: Record<string, unknown>;
239
239
  }) => QueryBuilder<{
@@ -218,6 +218,54 @@ function createQueryOperations(client) {
218
218
  },
219
219
  ], input_types_1.connectionFieldsMap, undefined),
220
220
  }),
221
+ appPermissionsGetByMask: (args, options) => new query_builder_1.QueryBuilder({
222
+ client,
223
+ operation: 'query',
224
+ operationName: 'AppPermissionsGetByMask',
225
+ fieldName: 'appPermissionsGetByMask',
226
+ ...(0, query_builder_1.buildCustomDocument)('query', 'AppPermissionsGetByMask', 'appPermissionsGetByMask', options?.select, args, [
227
+ {
228
+ name: 'mask',
229
+ type: 'BitString',
230
+ },
231
+ {
232
+ name: 'first',
233
+ type: 'Int',
234
+ },
235
+ {
236
+ name: 'offset',
237
+ type: 'Int',
238
+ },
239
+ {
240
+ name: 'after',
241
+ type: 'Cursor',
242
+ },
243
+ ], input_types_1.connectionFieldsMap, undefined),
244
+ }),
245
+ orgPermissionsGetByMask: (args, options) => new query_builder_1.QueryBuilder({
246
+ client,
247
+ operation: 'query',
248
+ operationName: 'OrgPermissionsGetByMask',
249
+ fieldName: 'orgPermissionsGetByMask',
250
+ ...(0, query_builder_1.buildCustomDocument)('query', 'OrgPermissionsGetByMask', 'orgPermissionsGetByMask', options?.select, args, [
251
+ {
252
+ name: 'mask',
253
+ type: 'BitString',
254
+ },
255
+ {
256
+ name: 'first',
257
+ type: 'Int',
258
+ },
259
+ {
260
+ name: 'offset',
261
+ type: 'Int',
262
+ },
263
+ {
264
+ name: 'after',
265
+ type: 'Cursor',
266
+ },
267
+ ], input_types_1.connectionFieldsMap, undefined),
268
+ }),
221
269
  getAllObjectsFromRoot: (args, options) => new query_builder_1.QueryBuilder({
222
270
  client,
223
271
  operation: 'query',
@@ -302,54 +350,6 @@ function createQueryOperations(client) {
302
350
  },
303
351
  ], input_types_1.connectionFieldsMap, 'Object'),
304
352
  }),
305
- appPermissionsGetByMask: (args, options) => new query_builder_1.QueryBuilder({
306
- client,
307
- operation: 'query',
308
- operationName: 'AppPermissionsGetByMask',
309
- fieldName: 'appPermissionsGetByMask',
310
- ...(0, query_builder_1.buildCustomDocument)('query', 'AppPermissionsGetByMask', 'appPermissionsGetByMask', options?.select, args, [
311
- {
312
- name: 'mask',
313
- type: 'BitString',
314
- },
315
- {
316
- name: 'first',
317
- type: 'Int',
318
- },
319
- {
320
- name: 'offset',
321
- type: 'Int',
322
- },
323
- {
324
- name: 'after',
325
- type: 'Cursor',
326
- },
327
- ], input_types_1.connectionFieldsMap, undefined),
328
- }),
329
- orgPermissionsGetByMask: (args, options) => new query_builder_1.QueryBuilder({
330
- client,
331
- operation: 'query',
332
- operationName: 'OrgPermissionsGetByMask',
333
- fieldName: 'orgPermissionsGetByMask',
334
- ...(0, query_builder_1.buildCustomDocument)('query', 'OrgPermissionsGetByMask', 'orgPermissionsGetByMask', options?.select, args, [
335
- {
336
- name: 'mask',
337
- type: 'BitString',
338
- },
339
- {
340
- name: 'first',
341
- type: 'Int',
342
- },
343
- {
344
- name: 'offset',
345
- type: 'Int',
346
- },
347
- {
348
- name: 'after',
349
- type: 'Cursor',
350
- },
351
- ], input_types_1.connectionFieldsMap, undefined),
352
- }),
353
353
  stepsRequired: (args, options) => new query_builder_1.QueryBuilder({
354
354
  client,
355
355
  operation: 'query',
@@ -1,36 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- const executor_1 = require("../executor");
4
- const utils_1 = require("../utils");
5
- exports.default = async (argv, prompter, _options) => {
6
- try {
7
- if (argv.help || argv.h) {
8
- console.log("confirm-upload - Confirm that a file has been uploaded to S3.\nVerifies the object exists in S3, checks content-type,\nand transitions the file status from 'pending' to 'ready'.\n\nUsage: confirm-upload [OPTIONS]\n");
9
- process.exit(0);
10
- }
11
- const answers = await prompter.prompt(argv, [
12
- {
13
- type: 'text',
14
- name: 'input',
15
- message: 'The exclusive input argument for this mutation. An object type, make sure to see documentation for this object\u2019s fields.',
16
- required: true,
17
- },
18
- ]);
19
- const client = (0, executor_1.getClient)();
20
- const parsedAnswers = (0, utils_1.unflattenDotNotation)(answers);
21
- const selectFields = (0, utils_1.buildSelectFromPaths)(argv.select ?? 'clientMutationId');
22
- const result = await client.mutation
23
- .confirmUpload(parsedAnswers, {
24
- select: selectFields,
25
- })
26
- .execute();
27
- console.log(JSON.stringify(result, null, 2));
28
- }
29
- catch (error) {
30
- console.error('Failed: confirmUpload');
31
- if (error instanceof Error) {
32
- console.error(error.message);
33
- }
34
- process.exit(1);
35
- }
36
- };