@constructive-sdk/cli 1.9.2 → 1.9.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 (99) hide show
  1. package/{api/cli/commands/platform-api-module.d.ts → admin/cli/commands/org-chart-edge-grant.d.ts} +1 -1
  2. package/{api/cli/commands/platform-api-module.js → admin/cli/commands/org-chart-edge-grant.js} +137 -53
  3. package/{esm/api/cli/commands/platform-api-module.d.ts → admin/cli/commands/org-chart-edge.d.ts} +1 -1
  4. package/{api/cli/commands/api-module.js → admin/cli/commands/org-chart-edge.js} +86 -60
  5. package/admin/cli/commands/org-get-managers-record.d.ts +8 -0
  6. package/admin/cli/commands/org-get-managers-record.js +126 -0
  7. package/admin/cli/commands/org-get-subordinates-record.d.ts +8 -0
  8. package/admin/cli/commands/org-get-subordinates-record.js +126 -0
  9. package/admin/cli/commands/org-is-manager-of.d.ts +8 -0
  10. package/admin/cli/commands/org-is-manager-of.js +45 -0
  11. package/admin/cli/commands.js +11 -1
  12. package/admin/cli/executor.d.ts +9 -0
  13. package/admin/orm/index.d.ts +13 -0
  14. package/admin/orm/index.js +8 -0
  15. package/admin/orm/input-types.d.ts +399 -0
  16. package/admin/orm/models/index.d.ts +4 -0
  17. package/admin/orm/models/index.js +9 -1
  18. package/admin/orm/models/orgChartEdge.d.ts +54 -0
  19. package/admin/orm/models/orgChartEdge.js +104 -0
  20. package/admin/orm/models/orgChartEdgeGrant.d.ts +54 -0
  21. package/{api/orm/models/platformApiModule.js → admin/orm/models/orgChartEdgeGrant.js} +27 -27
  22. package/admin/orm/models/orgGetManagersRecord.d.ts +30 -0
  23. package/admin/orm/models/orgGetManagersRecord.js +59 -0
  24. package/admin/orm/models/orgGetSubordinatesRecord.d.ts +30 -0
  25. package/admin/orm/models/orgGetSubordinatesRecord.js +59 -0
  26. package/admin/orm/query/index.d.ts +11 -0
  27. package/admin/orm/query/index.js +24 -0
  28. package/api/cli/commands/{api-module.d.ts → domain-type.d.ts} +1 -1
  29. package/api/cli/commands/domain-type.js +466 -0
  30. package/api/cli/commands/table.js +22 -0
  31. package/api/cli/commands.js +3 -5
  32. package/api/cli/executor.d.ts +1 -2
  33. package/api/orm/index.d.ts +2 -4
  34. package/api/orm/index.js +2 -4
  35. package/api/orm/input-types.d.ts +378 -468
  36. package/api/orm/input-types.js +2 -2
  37. package/api/orm/models/domainType.d.ts +54 -0
  38. package/api/orm/models/{apiModule.js → domainType.js} +27 -27
  39. package/api/orm/models/index.d.ts +1 -2
  40. package/api/orm/models/index.js +4 -6
  41. package/compute/cli/commands/function-api-binding.js +12 -0
  42. package/compute/cli/commands/platform-function-api-binding.js +12 -0
  43. package/compute/cli/commands/platform-function-invocation.js +22 -0
  44. package/compute/orm/input-types.d.ts +42 -3
  45. package/esm/admin/cli/commands/org-chart-edge-grant.d.ts +8 -0
  46. package/esm/{api/cli/commands/platform-api-module.js → admin/cli/commands/org-chart-edge-grant.js} +137 -53
  47. package/esm/admin/cli/commands/org-chart-edge.d.ts +8 -0
  48. package/esm/{api/cli/commands/api-module.js → admin/cli/commands/org-chart-edge.js} +86 -60
  49. package/esm/admin/cli/commands/org-get-managers-record.d.ts +8 -0
  50. package/esm/admin/cli/commands/org-get-managers-record.js +124 -0
  51. package/esm/admin/cli/commands/org-get-subordinates-record.d.ts +8 -0
  52. package/esm/admin/cli/commands/org-get-subordinates-record.js +124 -0
  53. package/esm/admin/cli/commands/org-is-manager-of.d.ts +8 -0
  54. package/esm/admin/cli/commands/org-is-manager-of.js +43 -0
  55. package/esm/admin/cli/commands.js +11 -1
  56. package/esm/admin/cli/executor.d.ts +9 -0
  57. package/esm/admin/orm/index.d.ts +13 -0
  58. package/esm/admin/orm/index.js +8 -0
  59. package/esm/admin/orm/input-types.d.ts +399 -0
  60. package/esm/admin/orm/models/index.d.ts +4 -0
  61. package/esm/admin/orm/models/index.js +4 -0
  62. package/esm/admin/orm/models/orgChartEdge.d.ts +54 -0
  63. package/esm/admin/orm/models/orgChartEdge.js +100 -0
  64. package/esm/admin/orm/models/orgChartEdgeGrant.d.ts +54 -0
  65. package/esm/{api/orm/models/platformApiModule.js → admin/orm/models/orgChartEdgeGrant.js} +25 -25
  66. package/esm/admin/orm/models/orgGetManagersRecord.d.ts +30 -0
  67. package/esm/admin/orm/models/orgGetManagersRecord.js +55 -0
  68. package/esm/admin/orm/models/orgGetSubordinatesRecord.d.ts +30 -0
  69. package/esm/admin/orm/models/orgGetSubordinatesRecord.js +55 -0
  70. package/esm/admin/orm/query/index.d.ts +11 -0
  71. package/esm/admin/orm/query/index.js +24 -0
  72. package/esm/api/cli/commands/{api-module.d.ts → domain-type.d.ts} +1 -1
  73. package/esm/api/cli/commands/domain-type.js +464 -0
  74. package/esm/api/cli/commands/table.js +22 -0
  75. package/esm/api/cli/commands.js +3 -5
  76. package/esm/api/cli/executor.d.ts +1 -2
  77. package/esm/api/orm/index.d.ts +2 -4
  78. package/esm/api/orm/index.js +2 -4
  79. package/esm/api/orm/input-types.d.ts +378 -468
  80. package/esm/api/orm/input-types.js +2 -2
  81. package/esm/api/orm/models/domainType.d.ts +54 -0
  82. package/esm/api/orm/models/{apiModule.js → domainType.js} +25 -25
  83. package/esm/api/orm/models/index.d.ts +1 -2
  84. package/esm/api/orm/models/index.js +1 -2
  85. package/esm/compute/cli/commands/function-api-binding.js +12 -0
  86. package/esm/compute/cli/commands/platform-function-api-binding.js +12 -0
  87. package/esm/compute/cli/commands/platform-function-invocation.js +22 -0
  88. package/esm/compute/orm/input-types.d.ts +42 -3
  89. package/esm/modules/cli/commands/api-surface-module.js +0 -44
  90. package/esm/modules/cli/commands/billing-module.js +22 -0
  91. package/esm/modules/orm/input-types.d.ts +9 -16
  92. package/modules/cli/commands/api-surface-module.js +0 -44
  93. package/modules/cli/commands/billing-module.js +22 -0
  94. package/modules/orm/input-types.d.ts +9 -16
  95. package/package.json +5 -5
  96. package/api/orm/models/apiModule.d.ts +0 -54
  97. package/api/orm/models/platformApiModule.d.ts +0 -54
  98. package/esm/api/orm/models/apiModule.d.ts +0 -54
  99. package/esm/api/orm/models/platformApiModule.d.ts +0 -54
@@ -4,7 +4,6 @@ exports.connectionFieldsMap = void 0;
4
4
  // ============ Connection Fields Map ============
5
5
  exports.connectionFieldsMap = {
6
6
  Api: {
7
- apiModules: 'ApiModule',
8
7
  apiSchemas: 'ApiSchema',
9
8
  corsSettings: 'CorsSetting',
10
9
  },
@@ -13,6 +12,7 @@ exports.connectionFieldsMap = {
13
12
  compositeTypes: 'CompositeType',
14
13
  databaseTransfers: 'DatabaseTransfer',
15
14
  defaultPrivileges: 'DefaultPrivilege',
15
+ domainTypes: 'DomainType',
16
16
  embeddingChunks: 'EmbeddingChunk',
17
17
  enums: 'Enum',
18
18
  exclusionConstraints: 'ExclusionConstraint',
@@ -52,7 +52,6 @@ exports.connectionFieldsMap = {
52
52
  domainVerifications: 'DomainVerification',
53
53
  },
54
54
  PlatformApi: {
55
- platformApiModulesByApiId: 'PlatformApiModule',
56
55
  platformApiSchemasByApiId: 'PlatformApiSchema',
57
56
  },
58
57
  PlatformDomain: {
@@ -72,6 +71,7 @@ exports.connectionFieldsMap = {
72
71
  apiSchemas: 'ApiSchema',
73
72
  compositeTypes: 'CompositeType',
74
73
  defaultPrivileges: 'DefaultPrivilege',
74
+ domainTypes: 'DomainType',
75
75
  enums: 'Enum',
76
76
  functions: 'Function',
77
77
  platformApiSchemas: 'PlatformApiSchema',
@@ -0,0 +1,54 @@
1
+ /**
2
+ * DomainType 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 { DomainTypeWithRelations, DomainTypeSelect, DomainTypeFilter, DomainTypeOrderBy, CreateDomainTypeInput, DomainTypePatch } from '../input-types';
10
+ export declare class DomainTypeModel {
11
+ private client;
12
+ constructor(client: OrmClient);
13
+ findMany<S extends DomainTypeSelect>(args: FindManyArgs<S, DomainTypeFilter, DomainTypeOrderBy> & {
14
+ select: S;
15
+ } & StrictSelect<S, DomainTypeSelect>): QueryBuilder<{
16
+ domainTypes: ConnectionResult<InferSelectResult<DomainTypeWithRelations, S>>;
17
+ }>;
18
+ findFirst<S extends DomainTypeSelect>(args: FindFirstArgs<S, DomainTypeFilter, DomainTypeOrderBy> & {
19
+ select: S;
20
+ } & StrictSelect<S, DomainTypeSelect>): QueryBuilder<{
21
+ domainType: InferSelectResult<DomainTypeWithRelations, S> | null;
22
+ }>;
23
+ findOne<S extends DomainTypeSelect>(args: {
24
+ id: string;
25
+ select: S;
26
+ } & StrictSelect<S, DomainTypeSelect>): QueryBuilder<{
27
+ domainType: InferSelectResult<DomainTypeWithRelations, S> | null;
28
+ }>;
29
+ create<S extends DomainTypeSelect>(args: CreateArgs<S, CreateDomainTypeInput['domainType']> & {
30
+ select: S;
31
+ } & StrictSelect<S, DomainTypeSelect>): QueryBuilder<{
32
+ createDomainType: {
33
+ domainType: InferSelectResult<DomainTypeWithRelations, S>;
34
+ };
35
+ }>;
36
+ update<S extends DomainTypeSelect>(args: UpdateArgs<S, {
37
+ id: string;
38
+ }, DomainTypePatch> & {
39
+ select: S;
40
+ } & StrictSelect<S, DomainTypeSelect>): QueryBuilder<{
41
+ updateDomainType: {
42
+ domainType: InferSelectResult<DomainTypeWithRelations, S>;
43
+ };
44
+ }>;
45
+ delete<S extends DomainTypeSelect>(args: DeleteArgs<{
46
+ id: string;
47
+ }, S> & {
48
+ select: S;
49
+ } & StrictSelect<S, DomainTypeSelect>): QueryBuilder<{
50
+ deleteDomainType: {
51
+ domainType: InferSelectResult<DomainTypeWithRelations, S>;
52
+ };
53
+ }>;
54
+ }
@@ -1,15 +1,15 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ApiModuleModel = void 0;
3
+ exports.DomainTypeModel = void 0;
4
4
  const query_builder_1 = require("../query-builder");
5
5
  const input_types_1 = require("../input-types");
6
- class ApiModuleModel {
6
+ class DomainTypeModel {
7
7
  client;
8
8
  constructor(client) {
9
9
  this.client = client;
10
10
  }
11
11
  findMany(args) {
12
- const { document, variables } = (0, query_builder_1.buildFindManyDocument)('ApiModule', 'apiModules', args.select, {
12
+ const { document, variables } = (0, query_builder_1.buildFindManyDocument)('DomainType', 'domainTypes', args.select, {
13
13
  where: args?.where,
14
14
  orderBy: args?.orderBy,
15
15
  first: args?.first,
@@ -17,88 +17,88 @@ class ApiModuleModel {
17
17
  after: args?.after,
18
18
  before: args?.before,
19
19
  offset: args?.offset,
20
- }, 'ApiModuleFilter', 'ApiModuleOrderBy', input_types_1.connectionFieldsMap);
20
+ }, 'DomainTypeFilter', 'DomainTypeOrderBy', input_types_1.connectionFieldsMap);
21
21
  return new query_builder_1.QueryBuilder({
22
22
  client: this.client,
23
23
  operation: 'query',
24
- operationName: 'ApiModule',
25
- fieldName: 'apiModules',
24
+ operationName: 'DomainType',
25
+ fieldName: 'domainTypes',
26
26
  document,
27
27
  variables,
28
28
  });
29
29
  }
30
30
  findFirst(args) {
31
- const { document, variables } = (0, query_builder_1.buildFindFirstDocument)('ApiModule', 'apiModules', args.select, {
31
+ const { document, variables } = (0, query_builder_1.buildFindFirstDocument)('DomainType', 'domainTypes', args.select, {
32
32
  where: args?.where,
33
33
  orderBy: args?.orderBy,
34
- }, 'ApiModuleFilter', 'ApiModuleOrderBy', input_types_1.connectionFieldsMap);
34
+ }, 'DomainTypeFilter', 'DomainTypeOrderBy', input_types_1.connectionFieldsMap);
35
35
  return new query_builder_1.QueryBuilder({
36
36
  client: this.client,
37
37
  operation: 'query',
38
- operationName: 'ApiModule',
39
- fieldName: 'apiModule',
38
+ operationName: 'DomainType',
39
+ fieldName: 'domainType',
40
40
  document,
41
41
  variables,
42
42
  transform: (data) => ({
43
- apiModule: data.apiModules?.nodes?.[0] ?? null,
43
+ domainType: data.domainTypes?.nodes?.[0] ?? null,
44
44
  }),
45
45
  });
46
46
  }
47
47
  findOne(args) {
48
- const { document, variables } = (0, query_builder_1.buildFindManyDocument)('ApiModule', 'apiModules', args.select, {
48
+ const { document, variables } = (0, query_builder_1.buildFindManyDocument)('DomainType', 'domainTypes', args.select, {
49
49
  where: {
50
50
  id: {
51
51
  equalTo: args.id,
52
52
  },
53
53
  },
54
54
  first: 1,
55
- }, 'ApiModuleFilter', 'ApiModuleOrderBy', input_types_1.connectionFieldsMap);
55
+ }, 'DomainTypeFilter', 'DomainTypeOrderBy', input_types_1.connectionFieldsMap);
56
56
  return new query_builder_1.QueryBuilder({
57
57
  client: this.client,
58
58
  operation: 'query',
59
- operationName: 'ApiModule',
60
- fieldName: 'apiModule',
59
+ operationName: 'DomainType',
60
+ fieldName: 'domainType',
61
61
  document,
62
62
  variables,
63
63
  transform: (data) => ({
64
- apiModule: data.apiModules?.nodes?.[0] ?? null,
64
+ domainType: data.domainTypes?.nodes?.[0] ?? null,
65
65
  }),
66
66
  });
67
67
  }
68
68
  create(args) {
69
- const { document, variables } = (0, query_builder_1.buildCreateDocument)('ApiModule', 'createApiModule', 'apiModule', args.select, args.data, 'CreateApiModuleInput', input_types_1.connectionFieldsMap);
69
+ const { document, variables } = (0, query_builder_1.buildCreateDocument)('DomainType', 'createDomainType', 'domainType', args.select, args.data, 'CreateDomainTypeInput', input_types_1.connectionFieldsMap);
70
70
  return new query_builder_1.QueryBuilder({
71
71
  client: this.client,
72
72
  operation: 'mutation',
73
- operationName: 'ApiModule',
74
- fieldName: 'createApiModule',
73
+ operationName: 'DomainType',
74
+ fieldName: 'createDomainType',
75
75
  document,
76
76
  variables,
77
77
  });
78
78
  }
79
79
  update(args) {
80
- const { document, variables } = (0, query_builder_1.buildUpdateByPkDocument)('ApiModule', 'updateApiModule', 'apiModule', args.select, args.where.id, args.data, 'UpdateApiModuleInput', 'id', 'apiModulePatch', input_types_1.connectionFieldsMap, undefined);
80
+ const { document, variables } = (0, query_builder_1.buildUpdateByPkDocument)('DomainType', 'updateDomainType', 'domainType', args.select, args.where.id, args.data, 'UpdateDomainTypeInput', 'id', 'domainTypePatch', input_types_1.connectionFieldsMap, undefined);
81
81
  return new query_builder_1.QueryBuilder({
82
82
  client: this.client,
83
83
  operation: 'mutation',
84
- operationName: 'ApiModule',
85
- fieldName: 'updateApiModule',
84
+ operationName: 'DomainType',
85
+ fieldName: 'updateDomainType',
86
86
  document,
87
87
  variables,
88
88
  });
89
89
  }
90
90
  delete(args) {
91
- const { document, variables } = (0, query_builder_1.buildDeleteByPkDocument)('ApiModule', 'deleteApiModule', 'apiModule', {
91
+ const { document, variables } = (0, query_builder_1.buildDeleteByPkDocument)('DomainType', 'deleteDomainType', 'domainType', {
92
92
  id: args.where.id,
93
- }, 'DeleteApiModuleInput', args.select, input_types_1.connectionFieldsMap);
93
+ }, 'DeleteDomainTypeInput', args.select, input_types_1.connectionFieldsMap);
94
94
  return new query_builder_1.QueryBuilder({
95
95
  client: this.client,
96
96
  operation: 'mutation',
97
- operationName: 'ApiModule',
98
- fieldName: 'deleteApiModule',
97
+ operationName: 'DomainType',
98
+ fieldName: 'deleteDomainType',
99
99
  document,
100
100
  variables,
101
101
  });
102
102
  }
103
103
  }
104
- exports.ApiModuleModel = ApiModuleModel;
104
+ exports.DomainTypeModel = DomainTypeModel;
@@ -4,7 +4,6 @@
4
4
  * DO NOT EDIT - changes will be overwritten
5
5
  */
6
6
  export { ApiModel } from './api';
7
- export { ApiModuleModel } from './apiModule';
8
7
  export { ApiSchemaModel } from './apiSchema';
9
8
  export { ApiSettingModel } from './apiSetting';
10
9
  export { AstMigrationModel } from './astMigration';
@@ -17,6 +16,7 @@ export { DatabaseTransferModel } from './databaseTransfer';
17
16
  export { DefaultPrivilegeModel } from './defaultPrivilege';
18
17
  export { DomainModel } from './domain';
19
18
  export { DomainEventModel } from './domainEvent';
19
+ export { DomainTypeModel } from './domainType';
20
20
  export { DomainVerificationModel } from './domainVerification';
21
21
  export { EmbeddingChunkModel } from './embeddingChunk';
22
22
  export { EnumModel } from './enum';
@@ -32,7 +32,6 @@ export { ManagedDomainModel } from './managedDomain';
32
32
  export { NodeTypeRegistryModel } from './nodeTypeRegistry';
33
33
  export { PartitionModel } from './partition';
34
34
  export { PlatformApiModel } from './platformApi';
35
- export { PlatformApiModuleModel } from './platformApiModule';
36
35
  export { PlatformApiSchemaModel } from './platformApiSchema';
37
36
  export { PlatformApiSettingModel } from './platformApiSetting';
38
37
  export { PlatformCorsSettingModel } from './platformCorsSetting';
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.SiteModel = exports.SchemaGrantModel = exports.SchemaModel = exports.RouteModel = exports.RouteBindingModel = exports.RlsSettingModel = exports.PubkeySettingModel = exports.PrimaryKeyConstraintModel = exports.PolicyModel = exports.PlatformSiteThemeModel = exports.PlatformSiteModuleModel = exports.PlatformSiteMetadatumModel = exports.PlatformSiteModel = exports.PlatformManagedDomainModel = exports.PlatformDomainVerificationModel = exports.PlatformDomainEventModel = exports.PlatformDomainModel = exports.PlatformCorsSettingModel = exports.PlatformApiSettingModel = exports.PlatformApiSchemaModel = exports.PlatformApiModuleModel = exports.PlatformApiModel = exports.PartitionModel = exports.NodeTypeRegistryModel = exports.ManagedDomainModel = exports.IndexModel = exports.HttpRouteModel = exports.HostnameBindingModel = exports.FunctionModel = exports.FullTextSearchModel = exports.ForeignKeyConstraintModel = exports.FieldModel = exports.ExclusionConstraintModel = exports.EnumModel = exports.EmbeddingChunkModel = exports.DomainVerificationModel = exports.DomainEventModel = exports.DomainModel = exports.DefaultPrivilegeModel = exports.DatabaseTransferModel = exports.DatabaseSettingModel = exports.DatabaseModel = exports.CorsSettingModel = exports.CompositeTypeModel = exports.CheckConstraintModel = exports.AstMigrationModel = exports.ApiSettingModel = exports.ApiSchemaModel = exports.ApiModuleModel = exports.ApiModel = void 0;
4
- exports.WebauthnSettingModel = exports.ViewTableModel = exports.ViewRuleModel = exports.ViewGrantModel = exports.ViewModel = exports.UniqueConstraintModel = exports.TriggerFunctionModel = exports.TriggerModel = exports.TableGrantModel = exports.TableModel = exports.SqlActionModel = exports.SpatialRelationModel = exports.SiteThemeModel = exports.SiteModuleModel = exports.SiteMetadatumModel = void 0;
3
+ exports.SiteMetadatumModel = exports.SiteModel = exports.SchemaGrantModel = exports.SchemaModel = exports.RouteModel = exports.RouteBindingModel = exports.RlsSettingModel = exports.PubkeySettingModel = exports.PrimaryKeyConstraintModel = exports.PolicyModel = exports.PlatformSiteThemeModel = exports.PlatformSiteModuleModel = exports.PlatformSiteMetadatumModel = exports.PlatformSiteModel = exports.PlatformManagedDomainModel = exports.PlatformDomainVerificationModel = exports.PlatformDomainEventModel = exports.PlatformDomainModel = exports.PlatformCorsSettingModel = exports.PlatformApiSettingModel = exports.PlatformApiSchemaModel = exports.PlatformApiModel = exports.PartitionModel = exports.NodeTypeRegistryModel = exports.ManagedDomainModel = exports.IndexModel = exports.HttpRouteModel = exports.HostnameBindingModel = exports.FunctionModel = exports.FullTextSearchModel = exports.ForeignKeyConstraintModel = exports.FieldModel = exports.ExclusionConstraintModel = exports.EnumModel = exports.EmbeddingChunkModel = exports.DomainVerificationModel = exports.DomainTypeModel = exports.DomainEventModel = exports.DomainModel = exports.DefaultPrivilegeModel = exports.DatabaseTransferModel = exports.DatabaseSettingModel = exports.DatabaseModel = exports.CorsSettingModel = exports.CompositeTypeModel = exports.CheckConstraintModel = exports.AstMigrationModel = exports.ApiSettingModel = exports.ApiSchemaModel = exports.ApiModel = void 0;
4
+ exports.WebauthnSettingModel = exports.ViewTableModel = exports.ViewRuleModel = exports.ViewGrantModel = exports.ViewModel = exports.UniqueConstraintModel = exports.TriggerFunctionModel = exports.TriggerModel = exports.TableGrantModel = exports.TableModel = exports.SqlActionModel = exports.SpatialRelationModel = exports.SiteThemeModel = exports.SiteModuleModel = void 0;
5
5
  /**
6
6
  * Models barrel export
7
7
  * @generated by @constructive-io/graphql-codegen
@@ -9,8 +9,6 @@ exports.WebauthnSettingModel = exports.ViewTableModel = exports.ViewRuleModel =
9
9
  */
10
10
  var api_1 = require("./api");
11
11
  Object.defineProperty(exports, "ApiModel", { enumerable: true, get: function () { return api_1.ApiModel; } });
12
- var apiModule_1 = require("./apiModule");
13
- Object.defineProperty(exports, "ApiModuleModel", { enumerable: true, get: function () { return apiModule_1.ApiModuleModel; } });
14
12
  var apiSchema_1 = require("./apiSchema");
15
13
  Object.defineProperty(exports, "ApiSchemaModel", { enumerable: true, get: function () { return apiSchema_1.ApiSchemaModel; } });
16
14
  var apiSetting_1 = require("./apiSetting");
@@ -35,6 +33,8 @@ var domain_1 = require("./domain");
35
33
  Object.defineProperty(exports, "DomainModel", { enumerable: true, get: function () { return domain_1.DomainModel; } });
36
34
  var domainEvent_1 = require("./domainEvent");
37
35
  Object.defineProperty(exports, "DomainEventModel", { enumerable: true, get: function () { return domainEvent_1.DomainEventModel; } });
36
+ var domainType_1 = require("./domainType");
37
+ Object.defineProperty(exports, "DomainTypeModel", { enumerable: true, get: function () { return domainType_1.DomainTypeModel; } });
38
38
  var domainVerification_1 = require("./domainVerification");
39
39
  Object.defineProperty(exports, "DomainVerificationModel", { enumerable: true, get: function () { return domainVerification_1.DomainVerificationModel; } });
40
40
  var embeddingChunk_1 = require("./embeddingChunk");
@@ -65,8 +65,6 @@ var partition_1 = require("./partition");
65
65
  Object.defineProperty(exports, "PartitionModel", { enumerable: true, get: function () { return partition_1.PartitionModel; } });
66
66
  var platformApi_1 = require("./platformApi");
67
67
  Object.defineProperty(exports, "PlatformApiModel", { enumerable: true, get: function () { return platformApi_1.PlatformApiModel; } });
68
- var platformApiModule_1 = require("./platformApiModule");
69
- Object.defineProperty(exports, "PlatformApiModuleModel", { enumerable: true, get: function () { return platformApiModule_1.PlatformApiModuleModel; } });
70
68
  var platformApiSchema_1 = require("./platformApiSchema");
71
69
  Object.defineProperty(exports, "PlatformApiSchemaModel", { enumerable: true, get: function () { return platformApiSchema_1.PlatformApiSchemaModel; } });
72
70
  var platformApiSetting_1 = require("./platformApiSetting");
@@ -12,8 +12,10 @@ const fieldSchema = {
12
12
  alias: 'string',
13
13
  apiId: 'uuid',
14
14
  config: 'json',
15
+ createdAt: 'string',
15
16
  functionDefinitionId: 'uuid',
16
17
  id: 'uuid',
18
+ updatedAt: 'string',
17
19
  };
18
20
  const usage = '\nfunction-api-binding <command>\n\nCommands:\n list List functionApiBinding records\n find-first Find first matching functionApiBinding record\n get Get a functionApiBinding by ID\n create Create a new functionApiBinding\n update Update an existing functionApiBinding\n delete Delete a functionApiBinding\n\nList Options:\n --limit <n> Max number of records to return (forward pagination)\n --last <n> Number of records from the end (backward pagination)\n --after <cursor> Cursor for forward pagination\n --before <cursor> Cursor for backward pagination\n --offset <n> Number of records to skip\n --select <fields> Comma-separated list of fields to return\n --where.<field>.<op> Filter (dot-notation, e.g. --where.name.equalTo foo)\n --condition.<f>.<op> Condition filter (dot-notation)\n --orderBy <values> Comma-separated ordering values (e.g. NAME_ASC,CREATED_AT_DESC)\n\nFind-First Options:\n --select <fields> Comma-separated list of fields to return\n --where.<field>.<op> Filter (dot-notation, e.g. --where.status.equalTo active)\n --condition.<f>.<op> Condition filter (dot-notation)\n --orderBy <values> Comma-separated ordering values (e.g. NAME_ASC,CREATED_AT_DESC)\n\n --help, -h Show this help message\n';
19
21
  exports.default = async (argv, prompter, _options) => {
@@ -60,8 +62,10 @@ async function handleList(argv, _prompter) {
60
62
  alias: true,
61
63
  apiId: true,
62
64
  config: true,
65
+ createdAt: true,
63
66
  functionDefinitionId: true,
64
67
  id: true,
68
+ updatedAt: true,
65
69
  };
66
70
  const findManyArgs = (0, utils_1.parseFindManyArgs)(argv, defaultSelect);
67
71
  const client = (0, executor_1.getClient)();
@@ -82,8 +86,10 @@ async function handleFindFirst(argv, _prompter) {
82
86
  alias: true,
83
87
  apiId: true,
84
88
  config: true,
89
+ createdAt: true,
85
90
  functionDefinitionId: true,
86
91
  id: true,
92
+ updatedAt: true,
87
93
  };
88
94
  const findFirstArgs = (0, utils_1.parseFindFirstArgs)(argv, defaultSelect);
89
95
  const client = (0, executor_1.getClient)();
@@ -116,8 +122,10 @@ async function handleGet(argv, prompter) {
116
122
  alias: true,
117
123
  apiId: true,
118
124
  config: true,
125
+ createdAt: true,
119
126
  functionDefinitionId: true,
120
127
  id: true,
128
+ updatedAt: true,
121
129
  },
122
130
  })
123
131
  .execute();
@@ -176,8 +184,10 @@ async function handleCreate(argv, prompter) {
176
184
  alias: true,
177
185
  apiId: true,
178
186
  config: true,
187
+ createdAt: true,
179
188
  functionDefinitionId: true,
180
189
  id: true,
190
+ updatedAt: true,
181
191
  },
182
192
  })
183
193
  .execute();
@@ -245,8 +255,10 @@ async function handleUpdate(argv, prompter) {
245
255
  alias: true,
246
256
  apiId: true,
247
257
  config: true,
258
+ createdAt: true,
248
259
  functionDefinitionId: true,
249
260
  id: true,
261
+ updatedAt: true,
250
262
  },
251
263
  })
252
264
  .execute();
@@ -12,8 +12,10 @@ const fieldSchema = {
12
12
  alias: 'string',
13
13
  apiId: 'uuid',
14
14
  config: 'json',
15
+ createdAt: 'string',
15
16
  functionDefinitionId: 'uuid',
16
17
  id: 'uuid',
18
+ updatedAt: 'string',
17
19
  };
18
20
  const usage = '\nplatform-function-api-binding <command>\n\nCommands:\n list List platformFunctionApiBinding records\n find-first Find first matching platformFunctionApiBinding record\n get Get a platformFunctionApiBinding by ID\n create Create a new platformFunctionApiBinding\n update Update an existing platformFunctionApiBinding\n delete Delete a platformFunctionApiBinding\n\nList Options:\n --limit <n> Max number of records to return (forward pagination)\n --last <n> Number of records from the end (backward pagination)\n --after <cursor> Cursor for forward pagination\n --before <cursor> Cursor for backward pagination\n --offset <n> Number of records to skip\n --select <fields> Comma-separated list of fields to return\n --where.<field>.<op> Filter (dot-notation, e.g. --where.name.equalTo foo)\n --condition.<f>.<op> Condition filter (dot-notation)\n --orderBy <values> Comma-separated ordering values (e.g. NAME_ASC,CREATED_AT_DESC)\n\nFind-First Options:\n --select <fields> Comma-separated list of fields to return\n --where.<field>.<op> Filter (dot-notation, e.g. --where.status.equalTo active)\n --condition.<f>.<op> Condition filter (dot-notation)\n --orderBy <values> Comma-separated ordering values (e.g. NAME_ASC,CREATED_AT_DESC)\n\n --help, -h Show this help message\n';
19
21
  exports.default = async (argv, prompter, _options) => {
@@ -60,8 +62,10 @@ async function handleList(argv, _prompter) {
60
62
  alias: true,
61
63
  apiId: true,
62
64
  config: true,
65
+ createdAt: true,
63
66
  functionDefinitionId: true,
64
67
  id: true,
68
+ updatedAt: true,
65
69
  };
66
70
  const findManyArgs = (0, utils_1.parseFindManyArgs)(argv, defaultSelect);
67
71
  const client = (0, executor_1.getClient)();
@@ -82,8 +86,10 @@ async function handleFindFirst(argv, _prompter) {
82
86
  alias: true,
83
87
  apiId: true,
84
88
  config: true,
89
+ createdAt: true,
85
90
  functionDefinitionId: true,
86
91
  id: true,
92
+ updatedAt: true,
87
93
  };
88
94
  const findFirstArgs = (0, utils_1.parseFindFirstArgs)(argv, defaultSelect);
89
95
  const client = (0, executor_1.getClient)();
@@ -116,8 +122,10 @@ async function handleGet(argv, prompter) {
116
122
  alias: true,
117
123
  apiId: true,
118
124
  config: true,
125
+ createdAt: true,
119
126
  functionDefinitionId: true,
120
127
  id: true,
128
+ updatedAt: true,
121
129
  },
122
130
  })
123
131
  .execute();
@@ -176,8 +184,10 @@ async function handleCreate(argv, prompter) {
176
184
  alias: true,
177
185
  apiId: true,
178
186
  config: true,
187
+ createdAt: true,
179
188
  functionDefinitionId: true,
180
189
  id: true,
190
+ updatedAt: true,
181
191
  },
182
192
  })
183
193
  .execute();
@@ -245,8 +255,10 @@ async function handleUpdate(argv, prompter) {
245
255
  alias: true,
246
256
  apiId: true,
247
257
  config: true,
258
+ createdAt: true,
248
259
  functionDefinitionId: true,
249
260
  id: true,
261
+ updatedAt: true,
250
262
  },
251
263
  })
252
264
  .execute();
@@ -14,6 +14,7 @@ const fieldSchema = {
14
14
  channel: 'string',
15
15
  completedAt: 'string',
16
16
  createdAt: 'string',
17
+ databaseId: 'uuid',
17
18
  definitionScope: 'string',
18
19
  durationMs: 'int',
19
20
  error: 'string',
@@ -76,6 +77,7 @@ async function handleList(argv, _prompter) {
76
77
  channel: true,
77
78
  completedAt: true,
78
79
  createdAt: true,
80
+ databaseId: true,
79
81
  definitionScope: true,
80
82
  durationMs: true,
81
83
  error: true,
@@ -112,6 +114,7 @@ async function handleFindFirst(argv, _prompter) {
112
114
  channel: true,
113
115
  completedAt: true,
114
116
  createdAt: true,
117
+ databaseId: true,
115
118
  definitionScope: true,
116
119
  durationMs: true,
117
120
  error: true,
@@ -160,6 +163,7 @@ async function handleGet(argv, prompter) {
160
163
  channel: true,
161
164
  completedAt: true,
162
165
  createdAt: true,
166
+ databaseId: true,
163
167
  definitionScope: true,
164
168
  durationMs: true,
165
169
  error: true,
@@ -218,6 +222,13 @@ async function handleCreate(argv, prompter) {
218
222
  required: false,
219
223
  skipPrompt: true,
220
224
  },
225
+ {
226
+ type: 'text',
227
+ name: 'databaseId',
228
+ message: 'databaseId',
229
+ required: false,
230
+ skipPrompt: true,
231
+ },
221
232
  {
222
233
  type: 'text',
223
234
  name: 'definitionScope',
@@ -319,6 +330,7 @@ async function handleCreate(argv, prompter) {
319
330
  apiBindingId: cleanedData.apiBindingId,
320
331
  channel: cleanedData.channel,
321
332
  completedAt: cleanedData.completedAt,
333
+ databaseId: cleanedData.databaseId,
322
334
  definitionScope: cleanedData.definitionScope,
323
335
  durationMs: cleanedData.durationMs,
324
336
  error: cleanedData.error,
@@ -339,6 +351,7 @@ async function handleCreate(argv, prompter) {
339
351
  channel: true,
340
352
  completedAt: true,
341
353
  createdAt: true,
354
+ databaseId: true,
342
355
  definitionScope: true,
343
356
  durationMs: true,
344
357
  error: true,
@@ -409,6 +422,13 @@ async function handleUpdate(argv, prompter) {
409
422
  required: false,
410
423
  skipPrompt: true,
411
424
  },
425
+ {
426
+ type: 'text',
427
+ name: 'databaseId',
428
+ message: 'databaseId',
429
+ required: false,
430
+ skipPrompt: true,
431
+ },
412
432
  {
413
433
  type: 'text',
414
434
  name: 'definitionScope',
@@ -514,6 +534,7 @@ async function handleUpdate(argv, prompter) {
514
534
  apiBindingId: cleanedData.apiBindingId,
515
535
  channel: cleanedData.channel,
516
536
  completedAt: cleanedData.completedAt,
537
+ databaseId: cleanedData.databaseId,
517
538
  definitionScope: cleanedData.definitionScope,
518
539
  durationMs: cleanedData.durationMs,
519
540
  error: cleanedData.error,
@@ -534,6 +555,7 @@ async function handleUpdate(argv, prompter) {
534
555
  channel: true,
535
556
  completedAt: true,
536
557
  createdAt: true,
558
+ databaseId: true,
537
559
  definitionScope: true,
538
560
  durationMs: true,
539
561
  error: true,