@carbonorm/carbonreact 3.4.1 → 3.4.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (111) hide show
  1. package/dist/CarbonReact.d.ts +0 -3
  2. package/dist/api/hoc/getStatefulObjectWithWhere.d.ts +11 -0
  3. package/dist/api/hoc/watchInputElementChangeEvent.d.ts +2 -0
  4. package/dist/api/rest/C6.d.ts +579 -0
  5. package/dist/api/rest/Carbons.d.ts +88 -0
  6. package/dist/api/rest/Carbons.test.d.ts +14 -0
  7. package/dist/api/rest/Chat_Messages.d.ts +88 -0
  8. package/dist/api/rest/Chat_Messages.test.d.ts +20 -0
  9. package/dist/api/rest/Documentation.d.ts +88 -0
  10. package/dist/api/rest/Documentation.test.d.ts +11 -0
  11. package/dist/api/rest/Feature_Group_References.d.ts +88 -0
  12. package/dist/api/rest/Feature_Group_References.test.d.ts +13 -0
  13. package/dist/api/rest/Features.d.ts +88 -0
  14. package/dist/api/rest/Features.test.d.ts +14 -0
  15. package/dist/api/rest/Group_References.d.ts +88 -0
  16. package/dist/api/rest/Group_References.test.d.ts +13 -0
  17. package/dist/api/rest/Groups.d.ts +88 -0
  18. package/dist/api/rest/Groups.test.d.ts +15 -0
  19. package/dist/api/rest/History_Logs.d.ts +88 -0
  20. package/dist/api/rest/History_Logs.test.d.ts +13 -0
  21. package/dist/api/rest/Likes.d.ts +88 -0
  22. package/dist/api/rest/Likes.test.d.ts +13 -0
  23. package/dist/api/rest/Location_References.d.ts +88 -0
  24. package/dist/api/rest/Location_References.test.d.ts +14 -0
  25. package/dist/api/rest/Locations.d.ts +88 -0
  26. package/dist/api/rest/Locations.test.d.ts +18 -0
  27. package/dist/api/rest/Photos.d.ts +88 -0
  28. package/dist/api/rest/Photos.test.d.ts +20 -0
  29. package/dist/api/rest/Posts.d.ts +88 -0
  30. package/dist/api/rest/Posts.test.d.ts +22 -0
  31. package/dist/api/rest/Projects.d.ts +88 -0
  32. package/dist/api/rest/Projects.test.d.ts +21 -0
  33. package/dist/api/rest/Reports.d.ts +88 -0
  34. package/dist/api/rest/Reports.test.d.ts +11 -0
  35. package/dist/api/rest/Sessions.d.ts +88 -0
  36. package/dist/api/rest/Sessions.test.d.ts +14 -0
  37. package/dist/api/rest/Subscription.d.ts +88 -0
  38. package/dist/api/rest/Subscription.test.d.ts +20 -0
  39. package/dist/api/rest/User_Followers.d.ts +88 -0
  40. package/dist/api/rest/User_Followers.test.d.ts +16 -0
  41. package/dist/api/rest/User_Groups.d.ts +88 -0
  42. package/dist/api/rest/User_Groups.test.d.ts +13 -0
  43. package/dist/api/rest/User_Messages.d.ts +88 -0
  44. package/dist/api/rest/User_Messages.test.d.ts +20 -0
  45. package/dist/api/rest/User_Sessions.d.ts +88 -0
  46. package/dist/api/rest/User_Sessions.test.d.ts +14 -0
  47. package/dist/api/rest/User_Tasks.d.ts +88 -0
  48. package/dist/api/rest/User_Tasks.test.d.ts +22 -0
  49. package/dist/api/rest/Users.d.ts +88 -0
  50. package/dist/api/rest/Users.test.d.ts +44 -0
  51. package/dist/api/rest/WsLiveUpdates.d.ts +3 -0
  52. package/dist/components/WebSocket/CarbonWebSocket.d.ts +8 -4
  53. package/dist/index.cjs.js +5056 -2124
  54. package/dist/index.cjs.js.map +1 -1
  55. package/dist/index.d.ts +53 -0
  56. package/dist/index.esm.js +4957 -2105
  57. package/dist/index.esm.js.map +1 -1
  58. package/package.json +2 -2
  59. package/src/CarbonReact.tsx +0 -3
  60. package/src/api/hoc/getStatefulObjectWithWhere.tsx +17 -0
  61. package/src/api/hoc/watchInputElementChangeEvent.tsx +24 -0
  62. package/src/api/rest/C6.tsx +2687 -0
  63. package/src/api/rest/Carbons.test.tsx +128 -0
  64. package/src/api/rest/Carbons.tsx +145 -0
  65. package/src/api/rest/Chat_Messages.test.tsx +138 -0
  66. package/src/api/rest/Chat_Messages.tsx +151 -0
  67. package/src/api/rest/Documentation.test.tsx +128 -0
  68. package/src/api/rest/Documentation.tsx +142 -0
  69. package/src/api/rest/Feature_Group_References.test.tsx +126 -0
  70. package/src/api/rest/Feature_Group_References.tsx +144 -0
  71. package/src/api/rest/Features.test.tsx +128 -0
  72. package/src/api/rest/Features.tsx +145 -0
  73. package/src/api/rest/Group_References.test.tsx +126 -0
  74. package/src/api/rest/Group_References.tsx +144 -0
  75. package/src/api/rest/Groups.test.tsx +130 -0
  76. package/src/api/rest/Groups.tsx +146 -0
  77. package/src/api/rest/History_Logs.test.tsx +130 -0
  78. package/src/api/rest/History_Logs.tsx +144 -0
  79. package/src/api/rest/Likes.test.tsx +126 -0
  80. package/src/api/rest/Likes.tsx +144 -0
  81. package/src/api/rest/Location_References.test.tsx +128 -0
  82. package/src/api/rest/Location_References.tsx +145 -0
  83. package/src/api/rest/Locations.test.tsx +137 -0
  84. package/src/api/rest/Locations.tsx +149 -0
  85. package/src/api/rest/Photos.test.tsx +139 -0
  86. package/src/api/rest/Photos.tsx +151 -0
  87. package/src/api/rest/Posts.test.tsx +142 -0
  88. package/src/api/rest/Posts.tsx +153 -0
  89. package/src/api/rest/Projects.test.tsx +144 -0
  90. package/src/api/rest/Projects.tsx +152 -0
  91. package/src/api/rest/Reports.test.tsx +128 -0
  92. package/src/api/rest/Reports.tsx +142 -0
  93. package/src/api/rest/Sessions.test.tsx +133 -0
  94. package/src/api/rest/Sessions.tsx +145 -0
  95. package/src/api/rest/Subscription.test.tsx +138 -0
  96. package/src/api/rest/Subscription.tsx +151 -0
  97. package/src/api/rest/User_Followers.test.tsx +130 -0
  98. package/src/api/rest/User_Followers.tsx +147 -0
  99. package/src/api/rest/User_Groups.test.tsx +126 -0
  100. package/src/api/rest/User_Groups.tsx +144 -0
  101. package/src/api/rest/User_Messages.test.tsx +137 -0
  102. package/src/api/rest/User_Messages.tsx +151 -0
  103. package/src/api/rest/User_Sessions.test.tsx +133 -0
  104. package/src/api/rest/User_Sessions.tsx +145 -0
  105. package/src/api/rest/User_Tasks.test.tsx +141 -0
  106. package/src/api/rest/User_Tasks.tsx +153 -0
  107. package/src/api/rest/Users.test.tsx +193 -0
  108. package/src/api/rest/Users.tsx +175 -0
  109. package/src/api/rest/WsLiveUpdates.tsx +150 -0
  110. package/src/components/WebSocket/CarbonWebSocket.tsx +22 -11
  111. package/src/index.ts +53 -0
@@ -0,0 +1,88 @@
1
+ import { iPostC6RestResponse, iDeleteC6RestResponse, iGetC6RestResponse, iPutC6RestResponse } from "@carbonorm/carbonnode";
2
+ import { AxiosResponse } from "axios";
3
+ import { iAPI, Modify } from "restRequest";
4
+ import { iCarbons } from "./C6";
5
+ export declare const Get: (request?: (Omit<iCarbons, never> & {
6
+ dataInsertMultipleRows?: Omit<iCarbons, never>[] | undefined;
7
+ cacheResults?: boolean | undefined;
8
+ fetchDependencies?: boolean | undefined;
9
+ debug?: boolean | undefined;
10
+ success?: string | ((r: AxiosResponse<any, any>) => string | void) | undefined;
11
+ error?: string | ((r: AxiosResponse<any, any>) => string | void) | undefined;
12
+ blocking?: boolean | undefined;
13
+ }) | undefined) => import("@carbonorm/carbonnode").apiReturn<iGetC6RestResponse<iCarbons>>;
14
+ type PutCustomAndRequiredFields = {};
15
+ type PutRequestTableOverrides = {};
16
+ export declare function putStateCarbons(response: AxiosResponse<iPutC6RestResponse<iCarbons>>, request: iAPI<Modify<iCarbons, PutRequestTableOverrides>> & PutCustomAndRequiredFields): void;
17
+ export declare const Put: (request?: (Omit<iCarbons, never> & {
18
+ dataInsertMultipleRows?: Omit<iCarbons, never>[] | undefined;
19
+ cacheResults?: boolean | undefined;
20
+ fetchDependencies?: boolean | undefined;
21
+ debug?: boolean | undefined;
22
+ success?: string | ((r: AxiosResponse<any, any>) => string | void) | undefined;
23
+ error?: string | ((r: AxiosResponse<any, any>) => string | void) | undefined;
24
+ blocking?: boolean | undefined;
25
+ }) | undefined) => import("@carbonorm/carbonnode").apiReturn<iPutC6RestResponse<iCarbons, any>>;
26
+ type PostCustomAndRequiredFields = {};
27
+ type PostRequestTableOverrides = {};
28
+ export declare function postStateCarbons(response: AxiosResponse<iPostC6RestResponse<iCarbons>>, request: iAPI<Modify<iCarbons, PostRequestTableOverrides>> & PostCustomAndRequiredFields, id: string | number | boolean): void;
29
+ export declare const Post: (request?: (Omit<iCarbons, never> & {
30
+ dataInsertMultipleRows?: Omit<iCarbons, never>[] | undefined;
31
+ cacheResults?: boolean | undefined;
32
+ fetchDependencies?: boolean | undefined;
33
+ debug?: boolean | undefined;
34
+ success?: string | ((r: AxiosResponse<any, any>) => string | void) | undefined;
35
+ error?: string | ((r: AxiosResponse<any, any>) => string | void) | undefined;
36
+ blocking?: boolean | undefined;
37
+ }) | undefined) => import("@carbonorm/carbonnode").apiReturn<iPostC6RestResponse<iCarbons>>;
38
+ type DeleteCustomAndRequiredFields = {};
39
+ type DeleteRequestTableOverrides = {};
40
+ export declare function deleteStateCarbons(_response: AxiosResponse<iDeleteC6RestResponse<iCarbons>>, request: iAPI<Modify<iCarbons, DeleteRequestTableOverrides>> & DeleteCustomAndRequiredFields): void;
41
+ export declare const Delete: (request?: (Omit<iCarbons, never> & {
42
+ dataInsertMultipleRows?: Omit<iCarbons, never>[] | undefined;
43
+ cacheResults?: boolean | undefined;
44
+ fetchDependencies?: boolean | undefined;
45
+ debug?: boolean | undefined;
46
+ success?: string | ((r: AxiosResponse<any, any>) => string | void) | undefined;
47
+ error?: string | ((r: AxiosResponse<any, any>) => string | void) | undefined;
48
+ blocking?: boolean | undefined;
49
+ }) | undefined) => import("@carbonorm/carbonnode").apiReturn<iDeleteC6RestResponse<iCarbons, any>>;
50
+ declare const _default: {
51
+ Get: (request?: (Omit<iCarbons, never> & {
52
+ dataInsertMultipleRows?: Omit<iCarbons, never>[] | undefined;
53
+ cacheResults?: boolean | undefined;
54
+ fetchDependencies?: boolean | undefined;
55
+ debug?: boolean | undefined;
56
+ success?: string | ((r: AxiosResponse<any, any>) => string | void) | undefined;
57
+ error?: string | ((r: AxiosResponse<any, any>) => string | void) | undefined;
58
+ blocking?: boolean | undefined;
59
+ }) | undefined) => import("@carbonorm/carbonnode").apiReturn<iGetC6RestResponse<iCarbons>>;
60
+ Post: (request?: (Omit<iCarbons, never> & {
61
+ dataInsertMultipleRows?: Omit<iCarbons, never>[] | undefined;
62
+ cacheResults?: boolean | undefined;
63
+ fetchDependencies?: boolean | undefined;
64
+ debug?: boolean | undefined;
65
+ success?: string | ((r: AxiosResponse<any, any>) => string | void) | undefined;
66
+ error?: string | ((r: AxiosResponse<any, any>) => string | void) | undefined;
67
+ blocking?: boolean | undefined;
68
+ }) | undefined) => import("@carbonorm/carbonnode").apiReturn<iPostC6RestResponse<iCarbons>>;
69
+ Put: (request?: (Omit<iCarbons, never> & {
70
+ dataInsertMultipleRows?: Omit<iCarbons, never>[] | undefined;
71
+ cacheResults?: boolean | undefined;
72
+ fetchDependencies?: boolean | undefined;
73
+ debug?: boolean | undefined;
74
+ success?: string | ((r: AxiosResponse<any, any>) => string | void) | undefined;
75
+ error?: string | ((r: AxiosResponse<any, any>) => string | void) | undefined;
76
+ blocking?: boolean | undefined;
77
+ }) | undefined) => import("@carbonorm/carbonnode").apiReturn<iPutC6RestResponse<iCarbons, any>>;
78
+ Delete: (request?: (Omit<iCarbons, never> & {
79
+ dataInsertMultipleRows?: Omit<iCarbons, never>[] | undefined;
80
+ cacheResults?: boolean | undefined;
81
+ fetchDependencies?: boolean | undefined;
82
+ debug?: boolean | undefined;
83
+ success?: string | ((r: AxiosResponse<any, any>) => string | void) | undefined;
84
+ error?: string | ((r: AxiosResponse<any, any>) => string | void) | undefined;
85
+ blocking?: boolean | undefined;
86
+ }) | undefined) => import("@carbonorm/carbonnode").apiReturn<iDeleteC6RestResponse<iCarbons, any>>;
87
+ };
88
+ export default _default;
@@ -0,0 +1,14 @@
1
+ import { iCarbons } from "api/rest/C6";
2
+ /**
3
+ CREATE TABLE `carbon_carbons` (
4
+ `entity_pk` binary(16) NOT NULL,
5
+ `entity_fk` binary(16) DEFAULT NULL,
6
+ `entity_tag` varchar(100) NOT NULL DEFAULT 'manually',
7
+ PRIMARY KEY (`entity_pk`),
8
+ UNIQUE KEY `entity_entity_pk_uindex` (`entity_pk`),
9
+ KEY `entity_entity_entity_pk_fk` (`entity_fk`),
10
+ CONSTRAINT `entity_entity_entity_pk_fk` FOREIGN KEY (`entity_fk`) REFERENCES `carbon_carbons` (`entity_pk`) ON DELETE CASCADE ON UPDATE CASCADE
11
+ ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
12
+ **/
13
+ declare const Test_Data: iCarbons;
14
+ export default Test_Data;
@@ -0,0 +1,88 @@
1
+ import { iPostC6RestResponse, iDeleteC6RestResponse, iGetC6RestResponse, iPutC6RestResponse } from "@carbonorm/carbonnode";
2
+ import { AxiosResponse } from "axios";
3
+ import { iAPI, Modify } from "restRequest";
4
+ import { iChat_Messages } from "./C6";
5
+ export declare const Get: (request?: (Omit<iChat_Messages, never> & {
6
+ dataInsertMultipleRows?: Omit<iChat_Messages, never>[] | undefined;
7
+ cacheResults?: boolean | undefined;
8
+ fetchDependencies?: boolean | undefined;
9
+ debug?: boolean | undefined;
10
+ success?: string | ((r: AxiosResponse<any, any>) => string | void) | undefined;
11
+ error?: string | ((r: AxiosResponse<any, any>) => string | void) | undefined;
12
+ blocking?: boolean | undefined;
13
+ }) | undefined) => import("@carbonorm/carbonnode").apiReturn<iGetC6RestResponse<iChat_Messages>>;
14
+ type PutCustomAndRequiredFields = {};
15
+ type PutRequestTableOverrides = {};
16
+ export declare function putStateChat_Messages(response: AxiosResponse<iPutC6RestResponse<iChat_Messages>>, request: iAPI<Modify<iChat_Messages, PutRequestTableOverrides>> & PutCustomAndRequiredFields): void;
17
+ export declare const Put: (request?: (Omit<iChat_Messages, never> & {
18
+ dataInsertMultipleRows?: Omit<iChat_Messages, never>[] | undefined;
19
+ cacheResults?: boolean | undefined;
20
+ fetchDependencies?: boolean | undefined;
21
+ debug?: boolean | undefined;
22
+ success?: string | ((r: AxiosResponse<any, any>) => string | void) | undefined;
23
+ error?: string | ((r: AxiosResponse<any, any>) => string | void) | undefined;
24
+ blocking?: boolean | undefined;
25
+ }) | undefined) => import("@carbonorm/carbonnode").apiReturn<iPutC6RestResponse<iChat_Messages, any>>;
26
+ type PostCustomAndRequiredFields = {};
27
+ type PostRequestTableOverrides = {};
28
+ export declare function postStateChat_Messages(response: AxiosResponse<iPostC6RestResponse<iChat_Messages>>, request: iAPI<Modify<iChat_Messages, PostRequestTableOverrides>> & PostCustomAndRequiredFields, id: string | number | boolean): void;
29
+ export declare const Post: (request?: (Omit<iChat_Messages, never> & {
30
+ dataInsertMultipleRows?: Omit<iChat_Messages, never>[] | undefined;
31
+ cacheResults?: boolean | undefined;
32
+ fetchDependencies?: boolean | undefined;
33
+ debug?: boolean | undefined;
34
+ success?: string | ((r: AxiosResponse<any, any>) => string | void) | undefined;
35
+ error?: string | ((r: AxiosResponse<any, any>) => string | void) | undefined;
36
+ blocking?: boolean | undefined;
37
+ }) | undefined) => import("@carbonorm/carbonnode").apiReturn<iPostC6RestResponse<iChat_Messages>>;
38
+ type DeleteCustomAndRequiredFields = {};
39
+ type DeleteRequestTableOverrides = {};
40
+ export declare function deleteStateChat_Messages(_response: AxiosResponse<iDeleteC6RestResponse<iChat_Messages>>, request: iAPI<Modify<iChat_Messages, DeleteRequestTableOverrides>> & DeleteCustomAndRequiredFields): void;
41
+ export declare const Delete: (request?: (Omit<iChat_Messages, never> & {
42
+ dataInsertMultipleRows?: Omit<iChat_Messages, never>[] | undefined;
43
+ cacheResults?: boolean | undefined;
44
+ fetchDependencies?: boolean | undefined;
45
+ debug?: boolean | undefined;
46
+ success?: string | ((r: AxiosResponse<any, any>) => string | void) | undefined;
47
+ error?: string | ((r: AxiosResponse<any, any>) => string | void) | undefined;
48
+ blocking?: boolean | undefined;
49
+ }) | undefined) => import("@carbonorm/carbonnode").apiReturn<iDeleteC6RestResponse<iChat_Messages, any>>;
50
+ declare const _default: {
51
+ Get: (request?: (Omit<iChat_Messages, never> & {
52
+ dataInsertMultipleRows?: Omit<iChat_Messages, never>[] | undefined;
53
+ cacheResults?: boolean | undefined;
54
+ fetchDependencies?: boolean | undefined;
55
+ debug?: boolean | undefined;
56
+ success?: string | ((r: AxiosResponse<any, any>) => string | void) | undefined;
57
+ error?: string | ((r: AxiosResponse<any, any>) => string | void) | undefined;
58
+ blocking?: boolean | undefined;
59
+ }) | undefined) => import("@carbonorm/carbonnode").apiReturn<iGetC6RestResponse<iChat_Messages>>;
60
+ Post: (request?: (Omit<iChat_Messages, never> & {
61
+ dataInsertMultipleRows?: Omit<iChat_Messages, never>[] | undefined;
62
+ cacheResults?: boolean | undefined;
63
+ fetchDependencies?: boolean | undefined;
64
+ debug?: boolean | undefined;
65
+ success?: string | ((r: AxiosResponse<any, any>) => string | void) | undefined;
66
+ error?: string | ((r: AxiosResponse<any, any>) => string | void) | undefined;
67
+ blocking?: boolean | undefined;
68
+ }) | undefined) => import("@carbonorm/carbonnode").apiReturn<iPostC6RestResponse<iChat_Messages>>;
69
+ Put: (request?: (Omit<iChat_Messages, never> & {
70
+ dataInsertMultipleRows?: Omit<iChat_Messages, never>[] | undefined;
71
+ cacheResults?: boolean | undefined;
72
+ fetchDependencies?: boolean | undefined;
73
+ debug?: boolean | undefined;
74
+ success?: string | ((r: AxiosResponse<any, any>) => string | void) | undefined;
75
+ error?: string | ((r: AxiosResponse<any, any>) => string | void) | undefined;
76
+ blocking?: boolean | undefined;
77
+ }) | undefined) => import("@carbonorm/carbonnode").apiReturn<iPutC6RestResponse<iChat_Messages, any>>;
78
+ Delete: (request?: (Omit<iChat_Messages, never> & {
79
+ dataInsertMultipleRows?: Omit<iChat_Messages, never>[] | undefined;
80
+ cacheResults?: boolean | undefined;
81
+ fetchDependencies?: boolean | undefined;
82
+ debug?: boolean | undefined;
83
+ success?: string | ((r: AxiosResponse<any, any>) => string | void) | undefined;
84
+ error?: string | ((r: AxiosResponse<any, any>) => string | void) | undefined;
85
+ blocking?: boolean | undefined;
86
+ }) | undefined) => import("@carbonorm/carbonnode").apiReturn<iDeleteC6RestResponse<iChat_Messages, any>>;
87
+ };
88
+ export default _default;
@@ -0,0 +1,20 @@
1
+ import { iChat_Messages } from "api/rest/C6";
2
+ /**
3
+ CREATE TABLE `carbon_chat_messages` (
4
+ `chat_message_id` binary(16) NOT NULL,
5
+ `chat_message_from_user` binary(16) NOT NULL,
6
+ `chat_private_group` binary(16) DEFAULT NULL,
7
+ `chat_message` varchar(255) NOT NULL,
8
+ `chat_message_datetime` datetime DEFAULT CURRENT_TIMESTAMP,
9
+ `chat_message_advertisement` smallint DEFAULT '0',
10
+ `chat_message_unfiltered` varchar(255) DEFAULT NULL,
11
+ PRIMARY KEY (`chat_message_id`),
12
+ UNIQUE KEY `chat_chat_messages_chat_message_id_uindex` (`chat_message_id`),
13
+ KEY `chat_chat_messages_dig_chat_advertisements_advertisement_id_fk` (`chat_message_advertisement`),
14
+ KEY `chat_chat_messages_users_ID_fk_2` (`chat_message_from_user`),
15
+ CONSTRAINT `carbon_chat_messages_carbon_carbons_entity_pk_fk` FOREIGN KEY (`chat_message_id`) REFERENCES `carbon_carbons` (`entity_pk`) ON DELETE CASCADE ON UPDATE CASCADE,
16
+ CONSTRAINT `chat_chat_messages_users_ID_fk` FOREIGN KEY (`chat_message_from_user`) REFERENCES `carbon_users` (`user_id`) ON DELETE CASCADE ON UPDATE CASCADE
17
+ ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
18
+ **/
19
+ declare const Test_Data: iChat_Messages;
20
+ export default Test_Data;
@@ -0,0 +1,88 @@
1
+ import { iPostC6RestResponse, iDeleteC6RestResponse, iGetC6RestResponse, iPutC6RestResponse } from "@carbonorm/carbonnode";
2
+ import { AxiosResponse } from "axios";
3
+ import { iAPI, Modify } from "restRequest";
4
+ import { iDocumentation } from "./C6";
5
+ export declare const Get: (request?: (Omit<iDocumentation, never> & {
6
+ dataInsertMultipleRows?: Omit<iDocumentation, never>[] | undefined;
7
+ cacheResults?: boolean | undefined;
8
+ fetchDependencies?: boolean | undefined;
9
+ debug?: boolean | undefined;
10
+ success?: string | ((r: AxiosResponse<any, any>) => string | void) | undefined;
11
+ error?: string | ((r: AxiosResponse<any, any>) => string | void) | undefined;
12
+ blocking?: boolean | undefined;
13
+ }) | undefined) => import("@carbonorm/carbonnode").apiReturn<iGetC6RestResponse<iDocumentation>>;
14
+ type PutCustomAndRequiredFields = {};
15
+ type PutRequestTableOverrides = {};
16
+ export declare function putStateDocumentation(response: AxiosResponse<iPutC6RestResponse<iDocumentation>>, request: iAPI<Modify<iDocumentation, PutRequestTableOverrides>> & PutCustomAndRequiredFields): void;
17
+ export declare const Put: (request?: (Omit<iDocumentation, never> & {
18
+ dataInsertMultipleRows?: Omit<iDocumentation, never>[] | undefined;
19
+ cacheResults?: boolean | undefined;
20
+ fetchDependencies?: boolean | undefined;
21
+ debug?: boolean | undefined;
22
+ success?: string | ((r: AxiosResponse<any, any>) => string | void) | undefined;
23
+ error?: string | ((r: AxiosResponse<any, any>) => string | void) | undefined;
24
+ blocking?: boolean | undefined;
25
+ }) | undefined) => import("@carbonorm/carbonnode").apiReturn<iPutC6RestResponse<iDocumentation, any>>;
26
+ type PostCustomAndRequiredFields = {};
27
+ type PostRequestTableOverrides = {};
28
+ export declare function postStateDocumentation(response: AxiosResponse<iPostC6RestResponse<iDocumentation>>, request: iAPI<Modify<iDocumentation, PostRequestTableOverrides>> & PostCustomAndRequiredFields, id: string | number | boolean): void;
29
+ export declare const Post: (request?: (Omit<iDocumentation, never> & {
30
+ dataInsertMultipleRows?: Omit<iDocumentation, never>[] | undefined;
31
+ cacheResults?: boolean | undefined;
32
+ fetchDependencies?: boolean | undefined;
33
+ debug?: boolean | undefined;
34
+ success?: string | ((r: AxiosResponse<any, any>) => string | void) | undefined;
35
+ error?: string | ((r: AxiosResponse<any, any>) => string | void) | undefined;
36
+ blocking?: boolean | undefined;
37
+ }) | undefined) => import("@carbonorm/carbonnode").apiReturn<iPostC6RestResponse<iDocumentation>>;
38
+ type DeleteCustomAndRequiredFields = {};
39
+ type DeleteRequestTableOverrides = {};
40
+ export declare function deleteStateDocumentation(_response: AxiosResponse<iDeleteC6RestResponse<iDocumentation>>, request: iAPI<Modify<iDocumentation, DeleteRequestTableOverrides>> & DeleteCustomAndRequiredFields): void;
41
+ export declare const Delete: (request?: (Omit<iDocumentation, never> & {
42
+ dataInsertMultipleRows?: Omit<iDocumentation, never>[] | undefined;
43
+ cacheResults?: boolean | undefined;
44
+ fetchDependencies?: boolean | undefined;
45
+ debug?: boolean | undefined;
46
+ success?: string | ((r: AxiosResponse<any, any>) => string | void) | undefined;
47
+ error?: string | ((r: AxiosResponse<any, any>) => string | void) | undefined;
48
+ blocking?: boolean | undefined;
49
+ }) | undefined) => import("@carbonorm/carbonnode").apiReturn<iDeleteC6RestResponse<iDocumentation, any>>;
50
+ declare const _default: {
51
+ Get: (request?: (Omit<iDocumentation, never> & {
52
+ dataInsertMultipleRows?: Omit<iDocumentation, never>[] | undefined;
53
+ cacheResults?: boolean | undefined;
54
+ fetchDependencies?: boolean | undefined;
55
+ debug?: boolean | undefined;
56
+ success?: string | ((r: AxiosResponse<any, any>) => string | void) | undefined;
57
+ error?: string | ((r: AxiosResponse<any, any>) => string | void) | undefined;
58
+ blocking?: boolean | undefined;
59
+ }) | undefined) => import("@carbonorm/carbonnode").apiReturn<iGetC6RestResponse<iDocumentation>>;
60
+ Post: (request?: (Omit<iDocumentation, never> & {
61
+ dataInsertMultipleRows?: Omit<iDocumentation, never>[] | undefined;
62
+ cacheResults?: boolean | undefined;
63
+ fetchDependencies?: boolean | undefined;
64
+ debug?: boolean | undefined;
65
+ success?: string | ((r: AxiosResponse<any, any>) => string | void) | undefined;
66
+ error?: string | ((r: AxiosResponse<any, any>) => string | void) | undefined;
67
+ blocking?: boolean | undefined;
68
+ }) | undefined) => import("@carbonorm/carbonnode").apiReturn<iPostC6RestResponse<iDocumentation>>;
69
+ Put: (request?: (Omit<iDocumentation, never> & {
70
+ dataInsertMultipleRows?: Omit<iDocumentation, never>[] | undefined;
71
+ cacheResults?: boolean | undefined;
72
+ fetchDependencies?: boolean | undefined;
73
+ debug?: boolean | undefined;
74
+ success?: string | ((r: AxiosResponse<any, any>) => string | void) | undefined;
75
+ error?: string | ((r: AxiosResponse<any, any>) => string | void) | undefined;
76
+ blocking?: boolean | undefined;
77
+ }) | undefined) => import("@carbonorm/carbonnode").apiReturn<iPutC6RestResponse<iDocumentation, any>>;
78
+ Delete: (request?: (Omit<iDocumentation, never> & {
79
+ dataInsertMultipleRows?: Omit<iDocumentation, never>[] | undefined;
80
+ cacheResults?: boolean | undefined;
81
+ fetchDependencies?: boolean | undefined;
82
+ debug?: boolean | undefined;
83
+ success?: string | ((r: AxiosResponse<any, any>) => string | void) | undefined;
84
+ error?: string | ((r: AxiosResponse<any, any>) => string | void) | undefined;
85
+ blocking?: boolean | undefined;
86
+ }) | undefined) => import("@carbonorm/carbonnode").apiReturn<iDeleteC6RestResponse<iDocumentation, any>>;
87
+ };
88
+ export default _default;
@@ -0,0 +1,11 @@
1
+ import { iDocumentation } from "api/rest/C6";
2
+ /**
3
+ CREATE TABLE `carbon_documentation` (
4
+ `documentation_uri` varchar(255) NOT NULL,
5
+ `documentation_data` longblob,
6
+ `documentation_version` varchar(40) NOT NULL,
7
+ `documentation_active` tinyint NOT NULL
8
+ ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
9
+ **/
10
+ declare const Test_Data: iDocumentation;
11
+ export default Test_Data;
@@ -0,0 +1,88 @@
1
+ import { iPostC6RestResponse, iDeleteC6RestResponse, iGetC6RestResponse, iPutC6RestResponse } from "@carbonorm/carbonnode";
2
+ import { AxiosResponse } from "axios";
3
+ import { iAPI, Modify } from "restRequest";
4
+ import { iFeature_Group_References } from "./C6";
5
+ export declare const Get: (request?: (Omit<iFeature_Group_References, never> & {
6
+ dataInsertMultipleRows?: Omit<iFeature_Group_References, never>[] | undefined;
7
+ cacheResults?: boolean | undefined;
8
+ fetchDependencies?: boolean | undefined;
9
+ debug?: boolean | undefined;
10
+ success?: string | ((r: AxiosResponse<any, any>) => string | void) | undefined;
11
+ error?: string | ((r: AxiosResponse<any, any>) => string | void) | undefined;
12
+ blocking?: boolean | undefined;
13
+ }) | undefined) => import("@carbonorm/carbonnode").apiReturn<iGetC6RestResponse<iFeature_Group_References>>;
14
+ type PutCustomAndRequiredFields = {};
15
+ type PutRequestTableOverrides = {};
16
+ export declare function putStateFeature_Group_References(response: AxiosResponse<iPutC6RestResponse<iFeature_Group_References>>, request: iAPI<Modify<iFeature_Group_References, PutRequestTableOverrides>> & PutCustomAndRequiredFields): void;
17
+ export declare const Put: (request?: (Omit<iFeature_Group_References, never> & {
18
+ dataInsertMultipleRows?: Omit<iFeature_Group_References, never>[] | undefined;
19
+ cacheResults?: boolean | undefined;
20
+ fetchDependencies?: boolean | undefined;
21
+ debug?: boolean | undefined;
22
+ success?: string | ((r: AxiosResponse<any, any>) => string | void) | undefined;
23
+ error?: string | ((r: AxiosResponse<any, any>) => string | void) | undefined;
24
+ blocking?: boolean | undefined;
25
+ }) | undefined) => import("@carbonorm/carbonnode").apiReturn<iPutC6RestResponse<iFeature_Group_References, any>>;
26
+ type PostCustomAndRequiredFields = {};
27
+ type PostRequestTableOverrides = {};
28
+ export declare function postStateFeature_Group_References(response: AxiosResponse<iPostC6RestResponse<iFeature_Group_References>>, request: iAPI<Modify<iFeature_Group_References, PostRequestTableOverrides>> & PostCustomAndRequiredFields, id: string | number | boolean): void;
29
+ export declare const Post: (request?: (Omit<iFeature_Group_References, never> & {
30
+ dataInsertMultipleRows?: Omit<iFeature_Group_References, never>[] | undefined;
31
+ cacheResults?: boolean | undefined;
32
+ fetchDependencies?: boolean | undefined;
33
+ debug?: boolean | undefined;
34
+ success?: string | ((r: AxiosResponse<any, any>) => string | void) | undefined;
35
+ error?: string | ((r: AxiosResponse<any, any>) => string | void) | undefined;
36
+ blocking?: boolean | undefined;
37
+ }) | undefined) => import("@carbonorm/carbonnode").apiReturn<iPostC6RestResponse<iFeature_Group_References>>;
38
+ type DeleteCustomAndRequiredFields = {};
39
+ type DeleteRequestTableOverrides = {};
40
+ export declare function deleteStateFeature_Group_References(_response: AxiosResponse<iDeleteC6RestResponse<iFeature_Group_References>>, request: iAPI<Modify<iFeature_Group_References, DeleteRequestTableOverrides>> & DeleteCustomAndRequiredFields): void;
41
+ export declare const Delete: (request?: (Omit<iFeature_Group_References, never> & {
42
+ dataInsertMultipleRows?: Omit<iFeature_Group_References, never>[] | undefined;
43
+ cacheResults?: boolean | undefined;
44
+ fetchDependencies?: boolean | undefined;
45
+ debug?: boolean | undefined;
46
+ success?: string | ((r: AxiosResponse<any, any>) => string | void) | undefined;
47
+ error?: string | ((r: AxiosResponse<any, any>) => string | void) | undefined;
48
+ blocking?: boolean | undefined;
49
+ }) | undefined) => import("@carbonorm/carbonnode").apiReturn<iDeleteC6RestResponse<iFeature_Group_References, any>>;
50
+ declare const _default: {
51
+ Get: (request?: (Omit<iFeature_Group_References, never> & {
52
+ dataInsertMultipleRows?: Omit<iFeature_Group_References, never>[] | undefined;
53
+ cacheResults?: boolean | undefined;
54
+ fetchDependencies?: boolean | undefined;
55
+ debug?: boolean | undefined;
56
+ success?: string | ((r: AxiosResponse<any, any>) => string | void) | undefined;
57
+ error?: string | ((r: AxiosResponse<any, any>) => string | void) | undefined;
58
+ blocking?: boolean | undefined;
59
+ }) | undefined) => import("@carbonorm/carbonnode").apiReturn<iGetC6RestResponse<iFeature_Group_References>>;
60
+ Post: (request?: (Omit<iFeature_Group_References, never> & {
61
+ dataInsertMultipleRows?: Omit<iFeature_Group_References, never>[] | undefined;
62
+ cacheResults?: boolean | undefined;
63
+ fetchDependencies?: boolean | undefined;
64
+ debug?: boolean | undefined;
65
+ success?: string | ((r: AxiosResponse<any, any>) => string | void) | undefined;
66
+ error?: string | ((r: AxiosResponse<any, any>) => string | void) | undefined;
67
+ blocking?: boolean | undefined;
68
+ }) | undefined) => import("@carbonorm/carbonnode").apiReturn<iPostC6RestResponse<iFeature_Group_References>>;
69
+ Put: (request?: (Omit<iFeature_Group_References, never> & {
70
+ dataInsertMultipleRows?: Omit<iFeature_Group_References, never>[] | undefined;
71
+ cacheResults?: boolean | undefined;
72
+ fetchDependencies?: boolean | undefined;
73
+ debug?: boolean | undefined;
74
+ success?: string | ((r: AxiosResponse<any, any>) => string | void) | undefined;
75
+ error?: string | ((r: AxiosResponse<any, any>) => string | void) | undefined;
76
+ blocking?: boolean | undefined;
77
+ }) | undefined) => import("@carbonorm/carbonnode").apiReturn<iPutC6RestResponse<iFeature_Group_References, any>>;
78
+ Delete: (request?: (Omit<iFeature_Group_References, never> & {
79
+ dataInsertMultipleRows?: Omit<iFeature_Group_References, never>[] | undefined;
80
+ cacheResults?: boolean | undefined;
81
+ fetchDependencies?: boolean | undefined;
82
+ debug?: boolean | undefined;
83
+ success?: string | ((r: AxiosResponse<any, any>) => string | void) | undefined;
84
+ error?: string | ((r: AxiosResponse<any, any>) => string | void) | undefined;
85
+ blocking?: boolean | undefined;
86
+ }) | undefined) => import("@carbonorm/carbonnode").apiReturn<iDeleteC6RestResponse<iFeature_Group_References, any>>;
87
+ };
88
+ export default _default;
@@ -0,0 +1,13 @@
1
+ import { iFeature_Group_References } from "api/rest/C6";
2
+ /**
3
+ CREATE TABLE `carbon_feature_group_references` (
4
+ `feature_entity_id` binary(16) DEFAULT NULL,
5
+ `group_entity_id` binary(16) DEFAULT NULL,
6
+ KEY `carbon_feature_references_carbons_entity_pk_fk_2` (`feature_entity_id`),
7
+ KEY `carbon_feature_group_references_carbons_entity_pk_fk` (`group_entity_id`),
8
+ CONSTRAINT `carbon_feature_group_references_carbons_entity_pk_fk` FOREIGN KEY (`group_entity_id`) REFERENCES `carbon_carbons` (`entity_pk`) ON DELETE CASCADE ON UPDATE CASCADE,
9
+ CONSTRAINT `carbon_feature_references_carbons_entity_pk_fk` FOREIGN KEY (`feature_entity_id`) REFERENCES `carbon_carbons` (`entity_pk`) ON DELETE CASCADE ON UPDATE CASCADE
10
+ ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
11
+ **/
12
+ declare const Test_Data: iFeature_Group_References;
13
+ export default Test_Data;
@@ -0,0 +1,88 @@
1
+ import { iPostC6RestResponse, iDeleteC6RestResponse, iGetC6RestResponse, iPutC6RestResponse } from "@carbonorm/carbonnode";
2
+ import { AxiosResponse } from "axios";
3
+ import { iAPI, Modify } from "restRequest";
4
+ import { iFeatures } from "./C6";
5
+ export declare const Get: (request?: (Omit<iFeatures, never> & {
6
+ dataInsertMultipleRows?: Omit<iFeatures, never>[] | undefined;
7
+ cacheResults?: boolean | undefined;
8
+ fetchDependencies?: boolean | undefined;
9
+ debug?: boolean | undefined;
10
+ success?: string | ((r: AxiosResponse<any, any>) => string | void) | undefined;
11
+ error?: string | ((r: AxiosResponse<any, any>) => string | void) | undefined;
12
+ blocking?: boolean | undefined;
13
+ }) | undefined) => import("@carbonorm/carbonnode").apiReturn<iGetC6RestResponse<iFeatures>>;
14
+ type PutCustomAndRequiredFields = {};
15
+ type PutRequestTableOverrides = {};
16
+ export declare function putStateFeatures(response: AxiosResponse<iPutC6RestResponse<iFeatures>>, request: iAPI<Modify<iFeatures, PutRequestTableOverrides>> & PutCustomAndRequiredFields): void;
17
+ export declare const Put: (request?: (Omit<iFeatures, never> & {
18
+ dataInsertMultipleRows?: Omit<iFeatures, never>[] | undefined;
19
+ cacheResults?: boolean | undefined;
20
+ fetchDependencies?: boolean | undefined;
21
+ debug?: boolean | undefined;
22
+ success?: string | ((r: AxiosResponse<any, any>) => string | void) | undefined;
23
+ error?: string | ((r: AxiosResponse<any, any>) => string | void) | undefined;
24
+ blocking?: boolean | undefined;
25
+ }) | undefined) => import("@carbonorm/carbonnode").apiReturn<iPutC6RestResponse<iFeatures, any>>;
26
+ type PostCustomAndRequiredFields = {};
27
+ type PostRequestTableOverrides = {};
28
+ export declare function postStateFeatures(response: AxiosResponse<iPostC6RestResponse<iFeatures>>, request: iAPI<Modify<iFeatures, PostRequestTableOverrides>> & PostCustomAndRequiredFields, id: string | number | boolean): void;
29
+ export declare const Post: (request?: (Omit<iFeatures, never> & {
30
+ dataInsertMultipleRows?: Omit<iFeatures, never>[] | undefined;
31
+ cacheResults?: boolean | undefined;
32
+ fetchDependencies?: boolean | undefined;
33
+ debug?: boolean | undefined;
34
+ success?: string | ((r: AxiosResponse<any, any>) => string | void) | undefined;
35
+ error?: string | ((r: AxiosResponse<any, any>) => string | void) | undefined;
36
+ blocking?: boolean | undefined;
37
+ }) | undefined) => import("@carbonorm/carbonnode").apiReturn<iPostC6RestResponse<iFeatures>>;
38
+ type DeleteCustomAndRequiredFields = {};
39
+ type DeleteRequestTableOverrides = {};
40
+ export declare function deleteStateFeatures(_response: AxiosResponse<iDeleteC6RestResponse<iFeatures>>, request: iAPI<Modify<iFeatures, DeleteRequestTableOverrides>> & DeleteCustomAndRequiredFields): void;
41
+ export declare const Delete: (request?: (Omit<iFeatures, never> & {
42
+ dataInsertMultipleRows?: Omit<iFeatures, never>[] | undefined;
43
+ cacheResults?: boolean | undefined;
44
+ fetchDependencies?: boolean | undefined;
45
+ debug?: boolean | undefined;
46
+ success?: string | ((r: AxiosResponse<any, any>) => string | void) | undefined;
47
+ error?: string | ((r: AxiosResponse<any, any>) => string | void) | undefined;
48
+ blocking?: boolean | undefined;
49
+ }) | undefined) => import("@carbonorm/carbonnode").apiReturn<iDeleteC6RestResponse<iFeatures, any>>;
50
+ declare const _default: {
51
+ Get: (request?: (Omit<iFeatures, never> & {
52
+ dataInsertMultipleRows?: Omit<iFeatures, never>[] | undefined;
53
+ cacheResults?: boolean | undefined;
54
+ fetchDependencies?: boolean | undefined;
55
+ debug?: boolean | undefined;
56
+ success?: string | ((r: AxiosResponse<any, any>) => string | void) | undefined;
57
+ error?: string | ((r: AxiosResponse<any, any>) => string | void) | undefined;
58
+ blocking?: boolean | undefined;
59
+ }) | undefined) => import("@carbonorm/carbonnode").apiReturn<iGetC6RestResponse<iFeatures>>;
60
+ Post: (request?: (Omit<iFeatures, never> & {
61
+ dataInsertMultipleRows?: Omit<iFeatures, never>[] | undefined;
62
+ cacheResults?: boolean | undefined;
63
+ fetchDependencies?: boolean | undefined;
64
+ debug?: boolean | undefined;
65
+ success?: string | ((r: AxiosResponse<any, any>) => string | void) | undefined;
66
+ error?: string | ((r: AxiosResponse<any, any>) => string | void) | undefined;
67
+ blocking?: boolean | undefined;
68
+ }) | undefined) => import("@carbonorm/carbonnode").apiReturn<iPostC6RestResponse<iFeatures>>;
69
+ Put: (request?: (Omit<iFeatures, never> & {
70
+ dataInsertMultipleRows?: Omit<iFeatures, never>[] | undefined;
71
+ cacheResults?: boolean | undefined;
72
+ fetchDependencies?: boolean | undefined;
73
+ debug?: boolean | undefined;
74
+ success?: string | ((r: AxiosResponse<any, any>) => string | void) | undefined;
75
+ error?: string | ((r: AxiosResponse<any, any>) => string | void) | undefined;
76
+ blocking?: boolean | undefined;
77
+ }) | undefined) => import("@carbonorm/carbonnode").apiReturn<iPutC6RestResponse<iFeatures, any>>;
78
+ Delete: (request?: (Omit<iFeatures, never> & {
79
+ dataInsertMultipleRows?: Omit<iFeatures, never>[] | undefined;
80
+ cacheResults?: boolean | undefined;
81
+ fetchDependencies?: boolean | undefined;
82
+ debug?: boolean | undefined;
83
+ success?: string | ((r: AxiosResponse<any, any>) => string | void) | undefined;
84
+ error?: string | ((r: AxiosResponse<any, any>) => string | void) | undefined;
85
+ blocking?: boolean | undefined;
86
+ }) | undefined) => import("@carbonorm/carbonnode").apiReturn<iDeleteC6RestResponse<iFeatures, any>>;
87
+ };
88
+ export default _default;
@@ -0,0 +1,14 @@
1
+ import { iFeatures } from "api/rest/C6";
2
+ /**
3
+ CREATE TABLE `carbon_features` (
4
+ `feature_entity_id` binary(16) NOT NULL,
5
+ `feature_code` varchar(30) NOT NULL,
6
+ `feature_creation_date` datetime DEFAULT CURRENT_TIMESTAMP,
7
+ PRIMARY KEY (`feature_entity_id`),
8
+ UNIQUE KEY `carbon_features_feature_code_uindex` (`feature_code`),
9
+ UNIQUE KEY `carbon_features_feature_entity_id_uindex` (`feature_entity_id`),
10
+ CONSTRAINT `carbon_features_carbons_entity_pk_fk` FOREIGN KEY (`feature_entity_id`) REFERENCES `carbon_carbons` (`entity_pk`) ON DELETE CASCADE ON UPDATE CASCADE
11
+ ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
12
+ **/
13
+ declare const Test_Data: iFeatures;
14
+ export default Test_Data;
@@ -0,0 +1,88 @@
1
+ import { iPostC6RestResponse, iDeleteC6RestResponse, iGetC6RestResponse, iPutC6RestResponse } from "@carbonorm/carbonnode";
2
+ import { AxiosResponse } from "axios";
3
+ import { iAPI, Modify } from "restRequest";
4
+ import { iGroup_References } from "./C6";
5
+ export declare const Get: (request?: (Omit<iGroup_References, never> & {
6
+ dataInsertMultipleRows?: Omit<iGroup_References, never>[] | undefined;
7
+ cacheResults?: boolean | undefined;
8
+ fetchDependencies?: boolean | undefined;
9
+ debug?: boolean | undefined;
10
+ success?: string | ((r: AxiosResponse<any, any>) => string | void) | undefined;
11
+ error?: string | ((r: AxiosResponse<any, any>) => string | void) | undefined;
12
+ blocking?: boolean | undefined;
13
+ }) | undefined) => import("@carbonorm/carbonnode").apiReturn<iGetC6RestResponse<iGroup_References>>;
14
+ type PutCustomAndRequiredFields = {};
15
+ type PutRequestTableOverrides = {};
16
+ export declare function putStateGroup_References(response: AxiosResponse<iPutC6RestResponse<iGroup_References>>, request: iAPI<Modify<iGroup_References, PutRequestTableOverrides>> & PutCustomAndRequiredFields): void;
17
+ export declare const Put: (request?: (Omit<iGroup_References, never> & {
18
+ dataInsertMultipleRows?: Omit<iGroup_References, never>[] | undefined;
19
+ cacheResults?: boolean | undefined;
20
+ fetchDependencies?: boolean | undefined;
21
+ debug?: boolean | undefined;
22
+ success?: string | ((r: AxiosResponse<any, any>) => string | void) | undefined;
23
+ error?: string | ((r: AxiosResponse<any, any>) => string | void) | undefined;
24
+ blocking?: boolean | undefined;
25
+ }) | undefined) => import("@carbonorm/carbonnode").apiReturn<iPutC6RestResponse<iGroup_References, any>>;
26
+ type PostCustomAndRequiredFields = {};
27
+ type PostRequestTableOverrides = {};
28
+ export declare function postStateGroup_References(response: AxiosResponse<iPostC6RestResponse<iGroup_References>>, request: iAPI<Modify<iGroup_References, PostRequestTableOverrides>> & PostCustomAndRequiredFields, id: string | number | boolean): void;
29
+ export declare const Post: (request?: (Omit<iGroup_References, never> & {
30
+ dataInsertMultipleRows?: Omit<iGroup_References, never>[] | undefined;
31
+ cacheResults?: boolean | undefined;
32
+ fetchDependencies?: boolean | undefined;
33
+ debug?: boolean | undefined;
34
+ success?: string | ((r: AxiosResponse<any, any>) => string | void) | undefined;
35
+ error?: string | ((r: AxiosResponse<any, any>) => string | void) | undefined;
36
+ blocking?: boolean | undefined;
37
+ }) | undefined) => import("@carbonorm/carbonnode").apiReturn<iPostC6RestResponse<iGroup_References>>;
38
+ type DeleteCustomAndRequiredFields = {};
39
+ type DeleteRequestTableOverrides = {};
40
+ export declare function deleteStateGroup_References(_response: AxiosResponse<iDeleteC6RestResponse<iGroup_References>>, request: iAPI<Modify<iGroup_References, DeleteRequestTableOverrides>> & DeleteCustomAndRequiredFields): void;
41
+ export declare const Delete: (request?: (Omit<iGroup_References, never> & {
42
+ dataInsertMultipleRows?: Omit<iGroup_References, never>[] | undefined;
43
+ cacheResults?: boolean | undefined;
44
+ fetchDependencies?: boolean | undefined;
45
+ debug?: boolean | undefined;
46
+ success?: string | ((r: AxiosResponse<any, any>) => string | void) | undefined;
47
+ error?: string | ((r: AxiosResponse<any, any>) => string | void) | undefined;
48
+ blocking?: boolean | undefined;
49
+ }) | undefined) => import("@carbonorm/carbonnode").apiReturn<iDeleteC6RestResponse<iGroup_References, any>>;
50
+ declare const _default: {
51
+ Get: (request?: (Omit<iGroup_References, never> & {
52
+ dataInsertMultipleRows?: Omit<iGroup_References, never>[] | undefined;
53
+ cacheResults?: boolean | undefined;
54
+ fetchDependencies?: boolean | undefined;
55
+ debug?: boolean | undefined;
56
+ success?: string | ((r: AxiosResponse<any, any>) => string | void) | undefined;
57
+ error?: string | ((r: AxiosResponse<any, any>) => string | void) | undefined;
58
+ blocking?: boolean | undefined;
59
+ }) | undefined) => import("@carbonorm/carbonnode").apiReturn<iGetC6RestResponse<iGroup_References>>;
60
+ Post: (request?: (Omit<iGroup_References, never> & {
61
+ dataInsertMultipleRows?: Omit<iGroup_References, never>[] | undefined;
62
+ cacheResults?: boolean | undefined;
63
+ fetchDependencies?: boolean | undefined;
64
+ debug?: boolean | undefined;
65
+ success?: string | ((r: AxiosResponse<any, any>) => string | void) | undefined;
66
+ error?: string | ((r: AxiosResponse<any, any>) => string | void) | undefined;
67
+ blocking?: boolean | undefined;
68
+ }) | undefined) => import("@carbonorm/carbonnode").apiReturn<iPostC6RestResponse<iGroup_References>>;
69
+ Put: (request?: (Omit<iGroup_References, never> & {
70
+ dataInsertMultipleRows?: Omit<iGroup_References, never>[] | undefined;
71
+ cacheResults?: boolean | undefined;
72
+ fetchDependencies?: boolean | undefined;
73
+ debug?: boolean | undefined;
74
+ success?: string | ((r: AxiosResponse<any, any>) => string | void) | undefined;
75
+ error?: string | ((r: AxiosResponse<any, any>) => string | void) | undefined;
76
+ blocking?: boolean | undefined;
77
+ }) | undefined) => import("@carbonorm/carbonnode").apiReturn<iPutC6RestResponse<iGroup_References, any>>;
78
+ Delete: (request?: (Omit<iGroup_References, never> & {
79
+ dataInsertMultipleRows?: Omit<iGroup_References, never>[] | undefined;
80
+ cacheResults?: boolean | undefined;
81
+ fetchDependencies?: boolean | undefined;
82
+ debug?: boolean | undefined;
83
+ success?: string | ((r: AxiosResponse<any, any>) => string | void) | undefined;
84
+ error?: string | ((r: AxiosResponse<any, any>) => string | void) | undefined;
85
+ blocking?: boolean | undefined;
86
+ }) | undefined) => import("@carbonorm/carbonnode").apiReturn<iDeleteC6RestResponse<iGroup_References, any>>;
87
+ };
88
+ export default _default;
@@ -0,0 +1,13 @@
1
+ import { iGroup_References } from "api/rest/C6";
2
+ /**
3
+ CREATE TABLE `carbon_group_references` (
4
+ `group_id` binary(16) DEFAULT NULL,
5
+ `allowed_to_grant_group_id` binary(16) DEFAULT NULL,
6
+ KEY `carbon_group_references_carbons_entity_pk_fk` (`group_id`),
7
+ KEY `carbon_group_references_carbons_entity_pk_fk_2` (`allowed_to_grant_group_id`),
8
+ CONSTRAINT `carbon_group_references_carbons_entity_pk_fk` FOREIGN KEY (`group_id`) REFERENCES `carbon_carbons` (`entity_pk`) ON DELETE CASCADE ON UPDATE CASCADE,
9
+ CONSTRAINT `carbon_group_references_carbons_entity_pk_fk_2` FOREIGN KEY (`allowed_to_grant_group_id`) REFERENCES `carbon_carbons` (`entity_pk`) ON DELETE CASCADE ON UPDATE CASCADE
10
+ ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
11
+ **/
12
+ declare const Test_Data: iGroup_References;
13
+ export default Test_Data;