@carbonorm/carbonnode 3.5.9 → 3.6.0
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.
- package/dist/api/orm/builders/ConditionBuilder.d.ts +1 -0
- package/dist/index.cjs.js +1252 -1002
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm.js +1254 -1004
- package/dist/index.esm.js.map +1 -1
- package/package.json +2 -5
- package/scripts/generateRestBindings.cjs +1 -1
- package/scripts/generateRestBindings.ts +1 -1
- package/src/api/convertForRequestBody.ts +1 -7
- package/src/api/executors/HttpExecutor.ts +1 -3
- package/src/api/executors/SqlExecutor.ts +2 -1
- package/src/api/orm/builders/ConditionBuilder.ts +20 -9
- package/src/api/orm/queries/DeleteQueryBuilder.ts +1 -0
- package/src/api/orm/queries/PostQueryBuilder.ts +1 -0
- package/src/api/orm/queries/SelectQueryBuilder.ts +1 -0
- package/src/api/orm/queries/UpdateQueryBuilder.ts +1 -0
- package/dist/api/builders/queryHelpers.d.ts +0 -4
- package/dist/api/builders/sqlBuilder.d.ts +0 -33
- package/dist/api/carbonSqlExecutor.d.ts +0 -17
- package/dist/api/interfaces/ormInterfaces.d.ts +0 -87
- package/dist/api/orm/SqlBuilder.d.ts +0 -17
- package/dist/api/rest/Blog_Categories.d.ts +0 -37
- package/dist/api/rest/Blog_Categories.test.d.ts +0 -11
- package/dist/api/rest/Blog_Images.d.ts +0 -37
- package/dist/api/rest/Blog_Images.test.d.ts +0 -15
- package/dist/api/rest/Blog_Post_Categories.d.ts +0 -37
- package/dist/api/rest/Blog_Post_Categories.test.d.ts +0 -13
- package/dist/api/rest/Blog_Post_Tags.d.ts +0 -37
- package/dist/api/rest/Blog_Post_Tags.test.d.ts +0 -13
- package/dist/api/rest/Blog_Posts.d.ts +0 -37
- package/dist/api/rest/Blog_Posts.test.d.ts +0 -21
- package/dist/api/rest/Blog_Tags.d.ts +0 -37
- package/dist/api/rest/Blog_Tags.test.d.ts +0 -11
- package/dist/api/rest/C6.d.ts +0 -1000
- package/dist/api/rest/Cache.d.ts +0 -37
- package/dist/api/rest/Cache.test.d.ts +0 -12
- package/dist/api/rest/Cities.d.ts +0 -37
- package/dist/api/rest/Cities.test.d.ts +0 -17
- package/dist/api/rest/Counties.d.ts +0 -37
- package/dist/api/rest/Counties.test.d.ts +0 -18
- package/dist/api/rest/Countries.d.ts +0 -37
- package/dist/api/rest/Countries.test.d.ts +0 -24
- package/dist/api/rest/Geometries.d.ts +0 -37
- package/dist/api/rest/Geometries.test.d.ts +0 -16
- package/dist/api/rest/Images.d.ts +0 -37
- package/dist/api/rest/Images.test.d.ts +0 -16
- package/dist/api/rest/Land_Section_Info.d.ts +0 -37
- package/dist/api/rest/Land_Section_Info.test.d.ts +0 -15
- package/dist/api/rest/Neighborhoods.d.ts +0 -37
- package/dist/api/rest/Neighborhoods.test.d.ts +0 -12
- package/dist/api/rest/Parcel_Building_Details.d.ts +0 -37
- package/dist/api/rest/Parcel_Building_Details.test.d.ts +0 -40
- package/dist/api/rest/Parcel_Neighborhoods.d.ts +0 -37
- package/dist/api/rest/Parcel_Neighborhoods.test.d.ts +0 -15
- package/dist/api/rest/Parcel_Owners.d.ts +0 -37
- package/dist/api/rest/Parcel_Owners.test.d.ts +0 -23
- package/dist/api/rest/Parcel_Sales.d.ts +0 -37
- package/dist/api/rest/Parcel_Sales.test.d.ts +0 -19
- package/dist/api/rest/Parcel_Tax_History.d.ts +0 -37
- package/dist/api/rest/Parcel_Tax_History.test.d.ts +0 -24
- package/dist/api/rest/Parcels.d.ts +0 -37
- package/dist/api/rest/Parcels.test.d.ts +0 -42
- package/dist/api/rest/Payment_Charge_Logs.d.ts +0 -37
- package/dist/api/rest/Payment_Charge_Logs.test.d.ts +0 -17
- package/dist/api/rest/Payment_Subscriptions.d.ts +0 -37
- package/dist/api/rest/Payment_Subscriptions.test.d.ts +0 -20
- package/dist/api/rest/Property_Units.d.ts +0 -37
- package/dist/api/rest/Property_Units.test.d.ts +0 -55
- package/dist/api/rest/Sources.d.ts +0 -37
- package/dist/api/rest/Sources.test.d.ts +0 -17
- package/dist/api/rest/States.d.ts +0 -37
- package/dist/api/rest/States.test.d.ts +0 -20
- package/dist/api/rest/Tax_Districts.d.ts +0 -37
- package/dist/api/rest/Tax_Districts.test.d.ts +0 -12
- package/dist/api/rest/Users.d.ts +0 -37
- package/dist/api/rest/Users.test.d.ts +0 -14
- package/dist/api/rest/Valuation_Reports.d.ts +0 -37
- package/dist/api/rest/Valuation_Reports.test.d.ts +0 -36
- package/dist/api/rest/Zip_Codes.d.ts +0 -37
- package/dist/api/rest/Zip_Codes.test.d.ts +0 -15
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
import { iPostC6RestResponse, iDeleteC6RestResponse, iGetC6RestResponse, iPutC6RestResponse } from "@carbonorm/carbonnode";
|
|
2
|
-
import { iTax_Districts } from "./C6";
|
|
3
|
-
declare const Tax_Districts: {
|
|
4
|
-
Get: (request?: Omit<iTax_Districts, never> & {
|
|
5
|
-
dataInsertMultipleRows?: Omit<iTax_Districts, never>[] | undefined;
|
|
6
|
-
cacheResults?: boolean;
|
|
7
|
-
fetchDependencies?: number | import("@carbonorm/carbonnode").eFetchDependencies | Awaited<import("@carbonorm/carbonnode").apiReturn<iGetC6RestResponse<any>>>[];
|
|
8
|
-
debug?: boolean;
|
|
9
|
-
success?: string | ((r: import("axios").AxiosResponse) => (string | void));
|
|
10
|
-
error?: string | ((r: import("axios").AxiosResponse) => (string | void));
|
|
11
|
-
}) => Promise<(() => import("@carbonorm/carbonnode").apiReturn<iGetC6RestResponse<iTax_Districts>>) | import("axios").AxiosResponse<iGetC6RestResponse<iTax_Districts>, any> | null | undefined>;
|
|
12
|
-
Post: (request?: Omit<iTax_Districts, never> & {
|
|
13
|
-
dataInsertMultipleRows?: Omit<iTax_Districts, never>[] | undefined;
|
|
14
|
-
cacheResults?: boolean;
|
|
15
|
-
fetchDependencies?: number | import("@carbonorm/carbonnode").eFetchDependencies | Awaited<import("@carbonorm/carbonnode").apiReturn<iGetC6RestResponse<any>>>[];
|
|
16
|
-
debug?: boolean;
|
|
17
|
-
success?: string | ((r: import("axios").AxiosResponse) => (string | void));
|
|
18
|
-
error?: string | ((r: import("axios").AxiosResponse) => (string | void));
|
|
19
|
-
}) => Promise<import("axios").AxiosResponse<iPostC6RestResponse<iTax_Districts>, any> | null | undefined>;
|
|
20
|
-
Put: (request?: Omit<iTax_Districts, never> & {
|
|
21
|
-
dataInsertMultipleRows?: Omit<iTax_Districts, never>[] | undefined;
|
|
22
|
-
cacheResults?: boolean;
|
|
23
|
-
fetchDependencies?: number | import("@carbonorm/carbonnode").eFetchDependencies | Awaited<import("@carbonorm/carbonnode").apiReturn<iGetC6RestResponse<any>>>[];
|
|
24
|
-
debug?: boolean;
|
|
25
|
-
success?: string | ((r: import("axios").AxiosResponse) => (string | void));
|
|
26
|
-
error?: string | ((r: import("axios").AxiosResponse) => (string | void));
|
|
27
|
-
}) => Promise<import("axios").AxiosResponse<iPutC6RestResponse<iTax_Districts, any>, any> | null | undefined>;
|
|
28
|
-
Delete: (request?: Omit<iTax_Districts, never> & {
|
|
29
|
-
dataInsertMultipleRows?: Omit<iTax_Districts, never>[] | undefined;
|
|
30
|
-
cacheResults?: boolean;
|
|
31
|
-
fetchDependencies?: number | import("@carbonorm/carbonnode").eFetchDependencies | Awaited<import("@carbonorm/carbonnode").apiReturn<iGetC6RestResponse<any>>>[];
|
|
32
|
-
debug?: boolean;
|
|
33
|
-
success?: string | ((r: import("axios").AxiosResponse) => (string | void));
|
|
34
|
-
error?: string | ((r: import("axios").AxiosResponse) => (string | void));
|
|
35
|
-
}) => Promise<import("axios").AxiosResponse<iDeleteC6RestResponse<iTax_Districts, any>, any> | null | undefined>;
|
|
36
|
-
};
|
|
37
|
-
export default Tax_Districts;
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { iTax_Districts } from "api/rest/C6";
|
|
2
|
-
/**
|
|
3
|
-
CREATE TABLE `tax_districts` (
|
|
4
|
-
`tax_district_no` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
|
|
5
|
-
`name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
|
|
6
|
-
`reduced_mill_levy` decimal(8,2) DEFAULT NULL,
|
|
7
|
-
`reduced_tax_rate` decimal(8,4) DEFAULT NULL,
|
|
8
|
-
PRIMARY KEY (`tax_district_no`)
|
|
9
|
-
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
|
10
|
-
**/
|
|
11
|
-
declare const Test_Data: iTax_Districts;
|
|
12
|
-
export default Test_Data;
|
package/dist/api/rest/Users.d.ts
DELETED
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
import { iPostC6RestResponse, iDeleteC6RestResponse, iGetC6RestResponse, iPutC6RestResponse } from "@carbonorm/carbonnode";
|
|
2
|
-
import { iUsers } from "./C6";
|
|
3
|
-
declare const Users: {
|
|
4
|
-
Get: (request?: Omit<iUsers, never> & {
|
|
5
|
-
dataInsertMultipleRows?: Omit<iUsers, never>[] | undefined;
|
|
6
|
-
cacheResults?: boolean;
|
|
7
|
-
fetchDependencies?: number | import("@carbonorm/carbonnode").eFetchDependencies | Awaited<import("@carbonorm/carbonnode").apiReturn<iGetC6RestResponse<any>>>[];
|
|
8
|
-
debug?: boolean;
|
|
9
|
-
success?: string | ((r: import("axios").AxiosResponse) => (string | void));
|
|
10
|
-
error?: string | ((r: import("axios").AxiosResponse) => (string | void));
|
|
11
|
-
}) => Promise<(() => import("@carbonorm/carbonnode").apiReturn<iGetC6RestResponse<iUsers>>) | import("axios").AxiosResponse<iGetC6RestResponse<iUsers>, any> | null | undefined>;
|
|
12
|
-
Post: (request?: Omit<iUsers, never> & {
|
|
13
|
-
dataInsertMultipleRows?: Omit<iUsers, never>[] | undefined;
|
|
14
|
-
cacheResults?: boolean;
|
|
15
|
-
fetchDependencies?: number | import("@carbonorm/carbonnode").eFetchDependencies | Awaited<import("@carbonorm/carbonnode").apiReturn<iGetC6RestResponse<any>>>[];
|
|
16
|
-
debug?: boolean;
|
|
17
|
-
success?: string | ((r: import("axios").AxiosResponse) => (string | void));
|
|
18
|
-
error?: string | ((r: import("axios").AxiosResponse) => (string | void));
|
|
19
|
-
}) => Promise<import("axios").AxiosResponse<iPostC6RestResponse<iUsers>, any> | null | undefined>;
|
|
20
|
-
Put: (request?: Omit<iUsers, never> & {
|
|
21
|
-
dataInsertMultipleRows?: Omit<iUsers, never>[] | undefined;
|
|
22
|
-
cacheResults?: boolean;
|
|
23
|
-
fetchDependencies?: number | import("@carbonorm/carbonnode").eFetchDependencies | Awaited<import("@carbonorm/carbonnode").apiReturn<iGetC6RestResponse<any>>>[];
|
|
24
|
-
debug?: boolean;
|
|
25
|
-
success?: string | ((r: import("axios").AxiosResponse) => (string | void));
|
|
26
|
-
error?: string | ((r: import("axios").AxiosResponse) => (string | void));
|
|
27
|
-
}) => Promise<import("axios").AxiosResponse<iPutC6RestResponse<iUsers, any>, any> | null | undefined>;
|
|
28
|
-
Delete: (request?: Omit<iUsers, never> & {
|
|
29
|
-
dataInsertMultipleRows?: Omit<iUsers, never>[] | undefined;
|
|
30
|
-
cacheResults?: boolean;
|
|
31
|
-
fetchDependencies?: number | import("@carbonorm/carbonnode").eFetchDependencies | Awaited<import("@carbonorm/carbonnode").apiReturn<iGetC6RestResponse<any>>>[];
|
|
32
|
-
debug?: boolean;
|
|
33
|
-
success?: string | ((r: import("axios").AxiosResponse) => (string | void));
|
|
34
|
-
error?: string | ((r: import("axios").AxiosResponse) => (string | void));
|
|
35
|
-
}) => Promise<import("axios").AxiosResponse<iDeleteC6RestResponse<iUsers, any>, any> | null | undefined>;
|
|
36
|
-
};
|
|
37
|
-
export default Users;
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { iUsers } from "api/rest/C6";
|
|
2
|
-
/**
|
|
3
|
-
CREATE TABLE `users` (
|
|
4
|
-
`user_id` binary(16) NOT NULL,
|
|
5
|
-
`name` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
|
|
6
|
-
`email` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
|
|
7
|
-
`password` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
|
|
8
|
-
`created_at` timestamp NULL DEFAULT CURRENT_TIMESTAMP,
|
|
9
|
-
PRIMARY KEY (`user_id`),
|
|
10
|
-
UNIQUE KEY `email` (`email`)
|
|
11
|
-
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
|
12
|
-
**/
|
|
13
|
-
declare const Test_Data: iUsers;
|
|
14
|
-
export default Test_Data;
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
import { iPostC6RestResponse, iDeleteC6RestResponse, iGetC6RestResponse, iPutC6RestResponse } from "@carbonorm/carbonnode";
|
|
2
|
-
import { iValuation_Reports } from "./C6";
|
|
3
|
-
declare const Valuation_Reports: {
|
|
4
|
-
Get: (request?: Omit<iValuation_Reports, never> & {
|
|
5
|
-
dataInsertMultipleRows?: Omit<iValuation_Reports, never>[] | undefined;
|
|
6
|
-
cacheResults?: boolean;
|
|
7
|
-
fetchDependencies?: number | import("@carbonorm/carbonnode").eFetchDependencies | Awaited<import("@carbonorm/carbonnode").apiReturn<iGetC6RestResponse<any>>>[];
|
|
8
|
-
debug?: boolean;
|
|
9
|
-
success?: string | ((r: import("axios").AxiosResponse) => (string | void));
|
|
10
|
-
error?: string | ((r: import("axios").AxiosResponse) => (string | void));
|
|
11
|
-
}) => Promise<(() => import("@carbonorm/carbonnode").apiReturn<iGetC6RestResponse<iValuation_Reports>>) | import("axios").AxiosResponse<iGetC6RestResponse<iValuation_Reports>, any> | null | undefined>;
|
|
12
|
-
Post: (request?: Omit<iValuation_Reports, never> & {
|
|
13
|
-
dataInsertMultipleRows?: Omit<iValuation_Reports, never>[] | undefined;
|
|
14
|
-
cacheResults?: boolean;
|
|
15
|
-
fetchDependencies?: number | import("@carbonorm/carbonnode").eFetchDependencies | Awaited<import("@carbonorm/carbonnode").apiReturn<iGetC6RestResponse<any>>>[];
|
|
16
|
-
debug?: boolean;
|
|
17
|
-
success?: string | ((r: import("axios").AxiosResponse) => (string | void));
|
|
18
|
-
error?: string | ((r: import("axios").AxiosResponse) => (string | void));
|
|
19
|
-
}) => Promise<import("axios").AxiosResponse<iPostC6RestResponse<iValuation_Reports>, any> | null | undefined>;
|
|
20
|
-
Put: (request?: Omit<iValuation_Reports, never> & {
|
|
21
|
-
dataInsertMultipleRows?: Omit<iValuation_Reports, never>[] | undefined;
|
|
22
|
-
cacheResults?: boolean;
|
|
23
|
-
fetchDependencies?: number | import("@carbonorm/carbonnode").eFetchDependencies | Awaited<import("@carbonorm/carbonnode").apiReturn<iGetC6RestResponse<any>>>[];
|
|
24
|
-
debug?: boolean;
|
|
25
|
-
success?: string | ((r: import("axios").AxiosResponse) => (string | void));
|
|
26
|
-
error?: string | ((r: import("axios").AxiosResponse) => (string | void));
|
|
27
|
-
}) => Promise<import("axios").AxiosResponse<iPutC6RestResponse<iValuation_Reports, any>, any> | null | undefined>;
|
|
28
|
-
Delete: (request?: Omit<iValuation_Reports, never> & {
|
|
29
|
-
dataInsertMultipleRows?: Omit<iValuation_Reports, never>[] | undefined;
|
|
30
|
-
cacheResults?: boolean;
|
|
31
|
-
fetchDependencies?: number | import("@carbonorm/carbonnode").eFetchDependencies | Awaited<import("@carbonorm/carbonnode").apiReturn<iGetC6RestResponse<any>>>[];
|
|
32
|
-
debug?: boolean;
|
|
33
|
-
success?: string | ((r: import("axios").AxiosResponse) => (string | void));
|
|
34
|
-
error?: string | ((r: import("axios").AxiosResponse) => (string | void));
|
|
35
|
-
}) => Promise<import("axios").AxiosResponse<iDeleteC6RestResponse<iValuation_Reports, any>, any> | null | undefined>;
|
|
36
|
-
};
|
|
37
|
-
export default Valuation_Reports;
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
import { iValuation_Reports } from "api/rest/C6";
|
|
2
|
-
/**
|
|
3
|
-
CREATE TABLE `valuation_reports` (
|
|
4
|
-
`report_id` binary(16) NOT NULL DEFAULT (uuid_to_bin(uuid(),1)),
|
|
5
|
-
`unit_id` binary(16) NOT NULL,
|
|
6
|
-
`report_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
|
|
7
|
-
`report_data` json NOT NULL,
|
|
8
|
-
`sale_price` decimal(12,4) DEFAULT NULL,
|
|
9
|
-
`tax_amount` decimal(10,4) DEFAULT NULL,
|
|
10
|
-
`savings` decimal(12,4) DEFAULT NULL,
|
|
11
|
-
`agency` decimal(12,4) DEFAULT NULL,
|
|
12
|
-
`status` enum('Ordered','Assigned','Submitted','BOE Required','BOE Scheduled','BOE Complete','Successful','Failed','Refunded') COLLATE utf8mb4_unicode_ci DEFAULT NULL,
|
|
13
|
-
`assigned_to` binary(16) DEFAULT NULL,
|
|
14
|
-
`report_creator` binary(16) DEFAULT NULL,
|
|
15
|
-
`report_filler` binary(16) DEFAULT NULL,
|
|
16
|
-
`created_at` timestamp NULL DEFAULT CURRENT_TIMESTAMP,
|
|
17
|
-
`updated_at` timestamp NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
|
|
18
|
-
`assessment_year_start` datetime NOT NULL,
|
|
19
|
-
`assessment_year_end` datetime NOT NULL,
|
|
20
|
-
`sales_year_start` datetime NOT NULL,
|
|
21
|
-
`sales_year_end` datetime NOT NULL,
|
|
22
|
-
PRIMARY KEY (`report_id`),
|
|
23
|
-
KEY `idx_unit_id` (`unit_id`),
|
|
24
|
-
KEY `idx_status` (`status`),
|
|
25
|
-
KEY `idx_assigned_to` (`assigned_to`),
|
|
26
|
-
KEY `fk_valuation_reports_user_2` (`report_creator`),
|
|
27
|
-
CONSTRAINT `fk_valuation_reports_unit` FOREIGN KEY (`unit_id`) REFERENCES `property_units` (`unit_id`) ON DELETE CASCADE,
|
|
28
|
-
CONSTRAINT `fk_valuation_reports_user_1` FOREIGN KEY (`assigned_to`) REFERENCES `users` (`user_id`) ON DELETE CASCADE,
|
|
29
|
-
CONSTRAINT `fk_valuation_reports_user_2` FOREIGN KEY (`report_creator`) REFERENCES `users` (`user_id`) ON DELETE CASCADE,
|
|
30
|
-
CONSTRAINT `fk_valuation_reports_user_3` FOREIGN KEY (`assigned_to`) REFERENCES `users` (`user_id`) ON DELETE CASCADE,
|
|
31
|
-
CONSTRAINT `valuation_reports_chk_1` CHECK ((`assessment_year_start` <= `assessment_year_end`)),
|
|
32
|
-
CONSTRAINT `valuation_reports_chk_2` CHECK ((`sales_year_start` <= `sales_year_end`))
|
|
33
|
-
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
|
34
|
-
**/
|
|
35
|
-
declare const Test_Data: iValuation_Reports;
|
|
36
|
-
export default Test_Data;
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
import { iPostC6RestResponse, iDeleteC6RestResponse, iGetC6RestResponse, iPutC6RestResponse } from "@carbonorm/carbonnode";
|
|
2
|
-
import { iZip_Codes } from "./C6";
|
|
3
|
-
declare const Zip_Codes: {
|
|
4
|
-
Get: (request?: Omit<iZip_Codes, never> & {
|
|
5
|
-
dataInsertMultipleRows?: Omit<iZip_Codes, never>[] | undefined;
|
|
6
|
-
cacheResults?: boolean;
|
|
7
|
-
fetchDependencies?: number | import("@carbonorm/carbonnode").eFetchDependencies | Awaited<import("@carbonorm/carbonnode").apiReturn<iGetC6RestResponse<any>>>[];
|
|
8
|
-
debug?: boolean;
|
|
9
|
-
success?: string | ((r: import("axios").AxiosResponse) => (string | void));
|
|
10
|
-
error?: string | ((r: import("axios").AxiosResponse) => (string | void));
|
|
11
|
-
}) => Promise<(() => import("@carbonorm/carbonnode").apiReturn<iGetC6RestResponse<iZip_Codes>>) | import("axios").AxiosResponse<iGetC6RestResponse<iZip_Codes>, any> | null | undefined>;
|
|
12
|
-
Post: (request?: Omit<iZip_Codes, never> & {
|
|
13
|
-
dataInsertMultipleRows?: Omit<iZip_Codes, never>[] | undefined;
|
|
14
|
-
cacheResults?: boolean;
|
|
15
|
-
fetchDependencies?: number | import("@carbonorm/carbonnode").eFetchDependencies | Awaited<import("@carbonorm/carbonnode").apiReturn<iGetC6RestResponse<any>>>[];
|
|
16
|
-
debug?: boolean;
|
|
17
|
-
success?: string | ((r: import("axios").AxiosResponse) => (string | void));
|
|
18
|
-
error?: string | ((r: import("axios").AxiosResponse) => (string | void));
|
|
19
|
-
}) => Promise<import("axios").AxiosResponse<iPostC6RestResponse<iZip_Codes>, any> | null | undefined>;
|
|
20
|
-
Put: (request?: Omit<iZip_Codes, never> & {
|
|
21
|
-
dataInsertMultipleRows?: Omit<iZip_Codes, never>[] | undefined;
|
|
22
|
-
cacheResults?: boolean;
|
|
23
|
-
fetchDependencies?: number | import("@carbonorm/carbonnode").eFetchDependencies | Awaited<import("@carbonorm/carbonnode").apiReturn<iGetC6RestResponse<any>>>[];
|
|
24
|
-
debug?: boolean;
|
|
25
|
-
success?: string | ((r: import("axios").AxiosResponse) => (string | void));
|
|
26
|
-
error?: string | ((r: import("axios").AxiosResponse) => (string | void));
|
|
27
|
-
}) => Promise<import("axios").AxiosResponse<iPutC6RestResponse<iZip_Codes, any>, any> | null | undefined>;
|
|
28
|
-
Delete: (request?: Omit<iZip_Codes, never> & {
|
|
29
|
-
dataInsertMultipleRows?: Omit<iZip_Codes, never>[] | undefined;
|
|
30
|
-
cacheResults?: boolean;
|
|
31
|
-
fetchDependencies?: number | import("@carbonorm/carbonnode").eFetchDependencies | Awaited<import("@carbonorm/carbonnode").apiReturn<iGetC6RestResponse<any>>>[];
|
|
32
|
-
debug?: boolean;
|
|
33
|
-
success?: string | ((r: import("axios").AxiosResponse) => (string | void));
|
|
34
|
-
error?: string | ((r: import("axios").AxiosResponse) => (string | void));
|
|
35
|
-
}) => Promise<import("axios").AxiosResponse<iDeleteC6RestResponse<iZip_Codes, any>, any> | null | undefined>;
|
|
36
|
-
};
|
|
37
|
-
export default Zip_Codes;
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { iZip_Codes } from "api/rest/C6";
|
|
2
|
-
/**
|
|
3
|
-
CREATE TABLE `zip_codes` (
|
|
4
|
-
`zip_id` binary(16) NOT NULL DEFAULT (uuid_to_bin(uuid(),1)),
|
|
5
|
-
`zip_code` varchar(10) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
|
|
6
|
-
`geometry_id` binary(16) NOT NULL,
|
|
7
|
-
`created_at` timestamp NULL DEFAULT CURRENT_TIMESTAMP,
|
|
8
|
-
PRIMARY KEY (`zip_id`),
|
|
9
|
-
UNIQUE KEY `uq_zip_geometry` (`geometry_id`),
|
|
10
|
-
KEY `idx_zip_code` (`zip_code`),
|
|
11
|
-
CONSTRAINT `zip_codes_ibfk_1` FOREIGN KEY (`geometry_id`) REFERENCES `geometries` (`geometry_id`) ON DELETE RESTRICT
|
|
12
|
-
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
|
13
|
-
**/
|
|
14
|
-
declare const Test_Data: iZip_Codes;
|
|
15
|
-
export default Test_Data;
|