@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 { iParcel_Owners } from "./C6";
|
|
3
|
-
declare const Parcel_Owners: {
|
|
4
|
-
Get: (request?: Omit<iParcel_Owners, never> & {
|
|
5
|
-
dataInsertMultipleRows?: Omit<iParcel_Owners, 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<iParcel_Owners>>) | import("axios").AxiosResponse<iGetC6RestResponse<iParcel_Owners>, any> | null | undefined>;
|
|
12
|
-
Post: (request?: Omit<iParcel_Owners, never> & {
|
|
13
|
-
dataInsertMultipleRows?: Omit<iParcel_Owners, 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<iParcel_Owners>, any> | null | undefined>;
|
|
20
|
-
Put: (request?: Omit<iParcel_Owners, never> & {
|
|
21
|
-
dataInsertMultipleRows?: Omit<iParcel_Owners, 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<iParcel_Owners, any>, any> | null | undefined>;
|
|
28
|
-
Delete: (request?: Omit<iParcel_Owners, never> & {
|
|
29
|
-
dataInsertMultipleRows?: Omit<iParcel_Owners, 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<iParcel_Owners, any>, any> | null | undefined>;
|
|
36
|
-
};
|
|
37
|
-
export default Parcel_Owners;
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import { iParcel_Owners } from "api/rest/C6";
|
|
2
|
-
/**
|
|
3
|
-
CREATE TABLE `parcel_owners` (
|
|
4
|
-
`owner_id` binary(16) NOT NULL DEFAULT (uuid_to_bin(uuid(),1)),
|
|
5
|
-
`parcel_id` binary(16) NOT NULL,
|
|
6
|
-
`owner_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
|
|
7
|
-
`street_address` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
|
|
8
|
-
`city` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
|
|
9
|
-
`state` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
|
|
10
|
-
`zip` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
|
|
11
|
-
`country` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
|
|
12
|
-
`start_date` date DEFAULT NULL,
|
|
13
|
-
`end_date` date DEFAULT NULL,
|
|
14
|
-
`is_primary` tinyint(1) DEFAULT '1',
|
|
15
|
-
`created_at` timestamp NULL DEFAULT CURRENT_TIMESTAMP,
|
|
16
|
-
`source_id` binary(16) DEFAULT NULL,
|
|
17
|
-
PRIMARY KEY (`owner_id`),
|
|
18
|
-
KEY `parcel_id` (`parcel_id`),
|
|
19
|
-
CONSTRAINT `parcel_owners_ibfk_1` FOREIGN KEY (`parcel_id`) REFERENCES `parcels` (`parcel_id`) ON DELETE CASCADE
|
|
20
|
-
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
|
21
|
-
**/
|
|
22
|
-
declare const Test_Data: iParcel_Owners;
|
|
23
|
-
export default Test_Data;
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
import { iPostC6RestResponse, iDeleteC6RestResponse, iGetC6RestResponse, iPutC6RestResponse } from "@carbonorm/carbonnode";
|
|
2
|
-
import { iParcel_Sales } from "./C6";
|
|
3
|
-
declare const Parcel_Sales: {
|
|
4
|
-
Get: (request?: Omit<iParcel_Sales, never> & {
|
|
5
|
-
dataInsertMultipleRows?: Omit<iParcel_Sales, 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<iParcel_Sales>>) | import("axios").AxiosResponse<iGetC6RestResponse<iParcel_Sales>, any> | null | undefined>;
|
|
12
|
-
Post: (request?: Omit<iParcel_Sales, never> & {
|
|
13
|
-
dataInsertMultipleRows?: Omit<iParcel_Sales, 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<iParcel_Sales>, any> | null | undefined>;
|
|
20
|
-
Put: (request?: Omit<iParcel_Sales, never> & {
|
|
21
|
-
dataInsertMultipleRows?: Omit<iParcel_Sales, 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<iParcel_Sales, any>, any> | null | undefined>;
|
|
28
|
-
Delete: (request?: Omit<iParcel_Sales, never> & {
|
|
29
|
-
dataInsertMultipleRows?: Omit<iParcel_Sales, 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<iParcel_Sales, any>, any> | null | undefined>;
|
|
36
|
-
};
|
|
37
|
-
export default Parcel_Sales;
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { iParcel_Sales } from "api/rest/C6";
|
|
2
|
-
/**
|
|
3
|
-
CREATE TABLE `parcel_sales` (
|
|
4
|
-
`sale_id` binary(16) NOT NULL DEFAULT (uuid_to_bin(uuid(),1)),
|
|
5
|
-
`parcel_id` binary(16) NOT NULL,
|
|
6
|
-
`sale_date` date DEFAULT NULL,
|
|
7
|
-
`sale_price` decimal(14,2) DEFAULT NULL,
|
|
8
|
-
`sale_type` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
|
|
9
|
-
`document_type` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
|
|
10
|
-
`document_url` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci,
|
|
11
|
-
`created_at` timestamp NULL DEFAULT CURRENT_TIMESTAMP,
|
|
12
|
-
`source_id` binary(16) DEFAULT NULL,
|
|
13
|
-
PRIMARY KEY (`sale_id`),
|
|
14
|
-
KEY `parcel_id` (`parcel_id`),
|
|
15
|
-
CONSTRAINT `parcel_sales_ibfk_1` FOREIGN KEY (`parcel_id`) REFERENCES `parcels` (`parcel_id`) ON DELETE CASCADE
|
|
16
|
-
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
|
17
|
-
**/
|
|
18
|
-
declare const Test_Data: iParcel_Sales;
|
|
19
|
-
export default Test_Data;
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
import { iPostC6RestResponse, iDeleteC6RestResponse, iGetC6RestResponse, iPutC6RestResponse } from "@carbonorm/carbonnode";
|
|
2
|
-
import { iParcel_Tax_History } from "./C6";
|
|
3
|
-
declare const Parcel_Tax_History: {
|
|
4
|
-
Get: (request?: Omit<iParcel_Tax_History, never> & {
|
|
5
|
-
dataInsertMultipleRows?: Omit<iParcel_Tax_History, 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<iParcel_Tax_History>>) | import("axios").AxiosResponse<iGetC6RestResponse<iParcel_Tax_History>, any> | null | undefined>;
|
|
12
|
-
Post: (request?: Omit<iParcel_Tax_History, never> & {
|
|
13
|
-
dataInsertMultipleRows?: Omit<iParcel_Tax_History, 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<iParcel_Tax_History>, any> | null | undefined>;
|
|
20
|
-
Put: (request?: Omit<iParcel_Tax_History, never> & {
|
|
21
|
-
dataInsertMultipleRows?: Omit<iParcel_Tax_History, 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<iParcel_Tax_History, any>, any> | null | undefined>;
|
|
28
|
-
Delete: (request?: Omit<iParcel_Tax_History, never> & {
|
|
29
|
-
dataInsertMultipleRows?: Omit<iParcel_Tax_History, 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<iParcel_Tax_History, any>, any> | null | undefined>;
|
|
36
|
-
};
|
|
37
|
-
export default Parcel_Tax_History;
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import { iParcel_Tax_History } from "api/rest/C6";
|
|
2
|
-
/**
|
|
3
|
-
CREATE TABLE `parcel_tax_history` (
|
|
4
|
-
`tax_id` binary(16) NOT NULL DEFAULT (uuid_to_bin(uuid(),1)),
|
|
5
|
-
`parcel_id` binary(16) NOT NULL,
|
|
6
|
-
`tax_year` year NOT NULL,
|
|
7
|
-
`actual_value_source` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
|
|
8
|
-
`assessed_value_source` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
|
|
9
|
-
`taxes_paid_source` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
|
|
10
|
-
`notes` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci,
|
|
11
|
-
`actual_value` decimal(14,2) DEFAULT NULL,
|
|
12
|
-
`assessed_value` decimal(14,2) DEFAULT NULL,
|
|
13
|
-
`taxes_paid` decimal(14,2) DEFAULT NULL,
|
|
14
|
-
`mill_levy` decimal(8,2) DEFAULT NULL,
|
|
15
|
-
`taxable_value` decimal(14,2) DEFAULT NULL,
|
|
16
|
-
`created_at` timestamp NULL DEFAULT CURRENT_TIMESTAMP,
|
|
17
|
-
`source_id` binary(16) DEFAULT NULL,
|
|
18
|
-
PRIMARY KEY (`tax_id`),
|
|
19
|
-
KEY `parcel_tax_history_ibfk_1` (`parcel_id`),
|
|
20
|
-
CONSTRAINT `parcel_tax_history_ibfk_1` FOREIGN KEY (`parcel_id`) REFERENCES `parcels` (`parcel_id`) ON DELETE CASCADE
|
|
21
|
-
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
|
22
|
-
**/
|
|
23
|
-
declare const Test_Data: iParcel_Tax_History;
|
|
24
|
-
export default Test_Data;
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
import { iPostC6RestResponse, iDeleteC6RestResponse, iGetC6RestResponse, iPutC6RestResponse } from "@carbonorm/carbonnode";
|
|
2
|
-
import { iParcels } from "./C6";
|
|
3
|
-
declare const Parcels: {
|
|
4
|
-
Get: (request?: Omit<iParcels, never> & {
|
|
5
|
-
dataInsertMultipleRows?: Omit<iParcels, 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<iParcels>>) | import("axios").AxiosResponse<iGetC6RestResponse<iParcels>, any> | null | undefined>;
|
|
12
|
-
Post: (request?: Omit<iParcels, never> & {
|
|
13
|
-
dataInsertMultipleRows?: Omit<iParcels, 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<iParcels>, any> | null | undefined>;
|
|
20
|
-
Put: (request?: Omit<iParcels, never> & {
|
|
21
|
-
dataInsertMultipleRows?: Omit<iParcels, 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<iParcels, any>, any> | null | undefined>;
|
|
28
|
-
Delete: (request?: Omit<iParcels, never> & {
|
|
29
|
-
dataInsertMultipleRows?: Omit<iParcels, 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<iParcels, any>, any> | null | undefined>;
|
|
36
|
-
};
|
|
37
|
-
export default Parcels;
|
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
import { iParcels } from "api/rest/C6";
|
|
2
|
-
/**
|
|
3
|
-
CREATE TABLE `parcels` (
|
|
4
|
-
`parcel_id` binary(16) NOT NULL DEFAULT (uuid_to_bin(uuid(),1)),
|
|
5
|
-
`state_parcel_number` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
|
|
6
|
-
`land_use_code` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
|
|
7
|
-
`land_use_desc` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
|
|
8
|
-
`deeded_area` decimal(12,2) DEFAULT NULL,
|
|
9
|
-
`calc_area` decimal(12,2) DEFAULT NULL,
|
|
10
|
-
`geometry_id` binary(16) DEFAULT NULL,
|
|
11
|
-
`created_at` timestamp NULL DEFAULT CURRENT_TIMESTAMP,
|
|
12
|
-
`account_number` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
|
|
13
|
-
`subdivision_filing_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
|
|
14
|
-
`filing_no` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
|
|
15
|
-
`filing_descr` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci,
|
|
16
|
-
`subdivision_no` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
|
|
17
|
-
`parcel_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
|
|
18
|
-
`misc_anno` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci,
|
|
19
|
-
`legal_block` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
|
|
20
|
-
`legal_description_gis` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci,
|
|
21
|
-
`legal_description_cama` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci,
|
|
22
|
-
`parcel_type_code` varchar(10) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
|
|
23
|
-
`parcel_type` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
|
|
24
|
-
`account_type_code` varchar(40) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
|
|
25
|
-
`account_subtype_code` varchar(10) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
|
|
26
|
-
`land_economic_area_code` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
|
|
27
|
-
`valuation_class_code` varchar(10) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
|
|
28
|
-
`valuation_description` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci,
|
|
29
|
-
`exempt_flag` varchar(10) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
|
|
30
|
-
`valuation_type_code` varchar(10) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
|
|
31
|
-
`total_net_acres` decimal(12,4) DEFAULT NULL,
|
|
32
|
-
`federal_id_no` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
|
|
33
|
-
`tract` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
|
|
34
|
-
`legal_description` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci,
|
|
35
|
-
PRIMARY KEY (`parcel_id`),
|
|
36
|
-
UNIQUE KEY `state_parcel_number` (`state_parcel_number`),
|
|
37
|
-
KEY `parcels_ibfk_6` (`geometry_id`),
|
|
38
|
-
CONSTRAINT `parcels_ibfk_6` FOREIGN KEY (`geometry_id`) REFERENCES `geometries` (`geometry_id`)
|
|
39
|
-
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
|
40
|
-
**/
|
|
41
|
-
declare const Test_Data: iParcels;
|
|
42
|
-
export default Test_Data;
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
import { iPostC6RestResponse, iDeleteC6RestResponse, iGetC6RestResponse, iPutC6RestResponse } from "@carbonorm/carbonnode";
|
|
2
|
-
import { iPayment_Charge_Logs } from "./C6";
|
|
3
|
-
declare const Payment_Charge_Logs: {
|
|
4
|
-
Get: (request?: Omit<iPayment_Charge_Logs, never> & {
|
|
5
|
-
dataInsertMultipleRows?: Omit<iPayment_Charge_Logs, 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<iPayment_Charge_Logs>>) | import("axios").AxiosResponse<iGetC6RestResponse<iPayment_Charge_Logs>, any> | null | undefined>;
|
|
12
|
-
Post: (request?: Omit<iPayment_Charge_Logs, never> & {
|
|
13
|
-
dataInsertMultipleRows?: Omit<iPayment_Charge_Logs, 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<iPayment_Charge_Logs>, any> | null | undefined>;
|
|
20
|
-
Put: (request?: Omit<iPayment_Charge_Logs, never> & {
|
|
21
|
-
dataInsertMultipleRows?: Omit<iPayment_Charge_Logs, 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<iPayment_Charge_Logs, any>, any> | null | undefined>;
|
|
28
|
-
Delete: (request?: Omit<iPayment_Charge_Logs, never> & {
|
|
29
|
-
dataInsertMultipleRows?: Omit<iPayment_Charge_Logs, 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<iPayment_Charge_Logs, any>, any> | null | undefined>;
|
|
36
|
-
};
|
|
37
|
-
export default Payment_Charge_Logs;
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { iPayment_Charge_Logs } from "api/rest/C6";
|
|
2
|
-
/**
|
|
3
|
-
CREATE TABLE `payment_charge_logs` (
|
|
4
|
-
`log_id` binary(16) NOT NULL DEFAULT (uuid_to_bin(uuid(),1)),
|
|
5
|
-
`subscription_id` binary(16) DEFAULT NULL,
|
|
6
|
-
`attempted_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
|
|
7
|
-
`status` enum('success','pending','failure') COLLATE utf8mb4_unicode_ci NOT NULL,
|
|
8
|
-
`amount_usd` decimal(10,2) NOT NULL,
|
|
9
|
-
`transaction_id` varchar(64) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
|
|
10
|
-
`error_message` text COLLATE utf8mb4_unicode_ci,
|
|
11
|
-
PRIMARY KEY (`log_id`),
|
|
12
|
-
KEY `fk_charge_log` (`subscription_id`),
|
|
13
|
-
CONSTRAINT `fk_charge_log` FOREIGN KEY (`subscription_id`) REFERENCES `payment_subscriptions` (`subscription_id`) ON DELETE CASCADE
|
|
14
|
-
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
|
15
|
-
**/
|
|
16
|
-
declare const Test_Data: iPayment_Charge_Logs;
|
|
17
|
-
export default Test_Data;
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
import { iPostC6RestResponse, iDeleteC6RestResponse, iGetC6RestResponse, iPutC6RestResponse } from "@carbonorm/carbonnode";
|
|
2
|
-
import { iPayment_Subscriptions } from "./C6";
|
|
3
|
-
declare const Payment_Subscriptions: {
|
|
4
|
-
Get: (request?: Omit<iPayment_Subscriptions, never> & {
|
|
5
|
-
dataInsertMultipleRows?: Omit<iPayment_Subscriptions, 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<iPayment_Subscriptions>>) | import("axios").AxiosResponse<iGetC6RestResponse<iPayment_Subscriptions>, any> | null | undefined>;
|
|
12
|
-
Post: (request?: Omit<iPayment_Subscriptions, never> & {
|
|
13
|
-
dataInsertMultipleRows?: Omit<iPayment_Subscriptions, 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<iPayment_Subscriptions>, any> | null | undefined>;
|
|
20
|
-
Put: (request?: Omit<iPayment_Subscriptions, never> & {
|
|
21
|
-
dataInsertMultipleRows?: Omit<iPayment_Subscriptions, 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<iPayment_Subscriptions, any>, any> | null | undefined>;
|
|
28
|
-
Delete: (request?: Omit<iPayment_Subscriptions, never> & {
|
|
29
|
-
dataInsertMultipleRows?: Omit<iPayment_Subscriptions, 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<iPayment_Subscriptions, any>, any> | null | undefined>;
|
|
36
|
-
};
|
|
37
|
-
export default Payment_Subscriptions;
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import { iPayment_Subscriptions } from "api/rest/C6";
|
|
2
|
-
/**
|
|
3
|
-
CREATE TABLE `payment_subscriptions` (
|
|
4
|
-
`subscription_id` binary(16) NOT NULL DEFAULT (uuid_to_bin(uuid(),1)),
|
|
5
|
-
`unit_id` binary(16) NOT NULL,
|
|
6
|
-
`customer_profile_id` varchar(64) COLLATE utf8mb4_unicode_ci NOT NULL,
|
|
7
|
-
`payment_profile_id` varchar(64) COLLATE utf8mb4_unicode_ci NOT NULL,
|
|
8
|
-
`interval_years` tinyint unsigned NOT NULL,
|
|
9
|
-
`first_charge_date` date NOT NULL,
|
|
10
|
-
`next_charge_date` date GENERATED ALWAYS AS ((`first_charge_date` + interval `interval_years` year)) STORED,
|
|
11
|
-
`amount_usd` decimal(10,2) NOT NULL,
|
|
12
|
-
`updated_at` timestamp NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
|
|
13
|
-
`created_at` timestamp NULL DEFAULT CURRENT_TIMESTAMP,
|
|
14
|
-
PRIMARY KEY (`subscription_id`),
|
|
15
|
-
KEY `customer_subscription_unit` (`unit_id`),
|
|
16
|
-
CONSTRAINT `customer_subscription_unit` FOREIGN KEY (`unit_id`) REFERENCES `property_units` (`unit_id`) ON DELETE RESTRICT
|
|
17
|
-
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
|
18
|
-
**/
|
|
19
|
-
declare const Test_Data: iPayment_Subscriptions;
|
|
20
|
-
export default Test_Data;
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
import { iPostC6RestResponse, iDeleteC6RestResponse, iGetC6RestResponse, iPutC6RestResponse } from "@carbonorm/carbonnode";
|
|
2
|
-
import { iProperty_Units } from "./C6";
|
|
3
|
-
declare const Property_Units: {
|
|
4
|
-
Get: (request?: Omit<iProperty_Units, never> & {
|
|
5
|
-
dataInsertMultipleRows?: Omit<iProperty_Units, 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<iProperty_Units>>) | import("axios").AxiosResponse<iGetC6RestResponse<iProperty_Units>, any> | null | undefined>;
|
|
12
|
-
Post: (request?: Omit<iProperty_Units, never> & {
|
|
13
|
-
dataInsertMultipleRows?: Omit<iProperty_Units, 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<iProperty_Units>, any> | null | undefined>;
|
|
20
|
-
Put: (request?: Omit<iProperty_Units, never> & {
|
|
21
|
-
dataInsertMultipleRows?: Omit<iProperty_Units, 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<iProperty_Units, any>, any> | null | undefined>;
|
|
28
|
-
Delete: (request?: Omit<iProperty_Units, never> & {
|
|
29
|
-
dataInsertMultipleRows?: Omit<iProperty_Units, 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<iProperty_Units, any>, any> | null | undefined>;
|
|
36
|
-
};
|
|
37
|
-
export default Property_Units;
|
|
@@ -1,55 +0,0 @@
|
|
|
1
|
-
import { iProperty_Units } from "api/rest/C6";
|
|
2
|
-
/**
|
|
3
|
-
CREATE TABLE `property_units` (
|
|
4
|
-
`unit_id` binary(16) NOT NULL DEFAULT (uuid_to_bin(uuid(),1)),
|
|
5
|
-
`parcel_id` binary(16) DEFAULT NULL,
|
|
6
|
-
`city_id` binary(16) DEFAULT NULL,
|
|
7
|
-
`state_id` binary(16) DEFAULT NULL,
|
|
8
|
-
`county_id` binary(16) DEFAULT NULL,
|
|
9
|
-
`zip_id` binary(16) DEFAULT NULL,
|
|
10
|
-
`tax_district_no` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
|
|
11
|
-
`owner_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
|
|
12
|
-
`address_number` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
|
|
13
|
-
`address_number_suffix` varchar(10) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
|
|
14
|
-
`num_suffix` varchar(10) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
|
|
15
|
-
`pre_mod` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
|
|
16
|
-
`pre_direction` varchar(10) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
|
|
17
|
-
`pre_type` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
|
|
18
|
-
`street_name` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
|
|
19
|
-
`street_type` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
|
|
20
|
-
`post_type` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
|
|
21
|
-
`post_direction` varchar(10) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
|
|
22
|
-
`post_modifier` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
|
|
23
|
-
`full_address` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
|
|
24
|
-
`unit` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
|
|
25
|
-
`unit_designator` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
|
|
26
|
-
`building_name` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
|
|
27
|
-
`floor` varchar(10) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
|
|
28
|
-
`place_name` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
|
|
29
|
-
`neighborhood` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
|
|
30
|
-
`additional_loc` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
|
|
31
|
-
`place_type` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
|
|
32
|
-
`mod_date` timestamp NULL DEFAULT NULL,
|
|
33
|
-
`active_status` enum('public','private','restricted') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT 'public',
|
|
34
|
-
`location` point NOT NULL /!* SRID 4326 *!/,
|
|
35
|
-
`latitude` decimal(9,6) GENERATED ALWAYS AS (st_y(`location`)) STORED,
|
|
36
|
-
`longitude` decimal(9,6) GENERATED ALWAYS AS (st_x(`location`)) STORED,
|
|
37
|
-
`source_id` binary(16) DEFAULT NULL,
|
|
38
|
-
PRIMARY KEY (`unit_id`),
|
|
39
|
-
KEY `parcel_id` (`parcel_id`),
|
|
40
|
-
KEY `city_id` (`city_id`),
|
|
41
|
-
KEY `state_id` (`state_id`),
|
|
42
|
-
KEY `county_id` (`county_id`),
|
|
43
|
-
KEY `zip_id` (`zip_id`),
|
|
44
|
-
KEY `tax_district_no` (`tax_district_no`),
|
|
45
|
-
SPATIAL KEY `location` (`location`),
|
|
46
|
-
CONSTRAINT `property_units_ibfk_1` FOREIGN KEY (`parcel_id`) REFERENCES `parcels` (`parcel_id`) ON DELETE CASCADE,
|
|
47
|
-
CONSTRAINT `property_units_ibfk_2` FOREIGN KEY (`city_id`) REFERENCES `cities` (`city_id`),
|
|
48
|
-
CONSTRAINT `property_units_ibfk_3` FOREIGN KEY (`state_id`) REFERENCES `states` (`state_id`),
|
|
49
|
-
CONSTRAINT `property_units_ibfk_4` FOREIGN KEY (`county_id`) REFERENCES `counties` (`county_id`),
|
|
50
|
-
CONSTRAINT `property_units_ibfk_5` FOREIGN KEY (`zip_id`) REFERENCES `zip_codes` (`zip_id`),
|
|
51
|
-
CONSTRAINT `property_units_ibfk_6` FOREIGN KEY (`tax_district_no`) REFERENCES `tax_districts` (`tax_district_no`)
|
|
52
|
-
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
|
53
|
-
**/
|
|
54
|
-
declare const Test_Data: iProperty_Units;
|
|
55
|
-
export default Test_Data;
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
import { iPostC6RestResponse, iDeleteC6RestResponse, iGetC6RestResponse, iPutC6RestResponse } from "@carbonorm/carbonnode";
|
|
2
|
-
import { iSources } from "./C6";
|
|
3
|
-
declare const Sources: {
|
|
4
|
-
Get: (request?: Omit<iSources, never> & {
|
|
5
|
-
dataInsertMultipleRows?: Omit<iSources, 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<iSources>>) | import("axios").AxiosResponse<iGetC6RestResponse<iSources>, any> | null | undefined>;
|
|
12
|
-
Post: (request?: Omit<iSources, never> & {
|
|
13
|
-
dataInsertMultipleRows?: Omit<iSources, 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<iSources>, any> | null | undefined>;
|
|
20
|
-
Put: (request?: Omit<iSources, never> & {
|
|
21
|
-
dataInsertMultipleRows?: Omit<iSources, 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<iSources, any>, any> | null | undefined>;
|
|
28
|
-
Delete: (request?: Omit<iSources, never> & {
|
|
29
|
-
dataInsertMultipleRows?: Omit<iSources, 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<iSources, any>, any> | null | undefined>;
|
|
36
|
-
};
|
|
37
|
-
export default Sources;
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { iSources } from "api/rest/C6";
|
|
2
|
-
/**
|
|
3
|
-
CREATE TABLE `sources` (
|
|
4
|
-
`id` binary(16) NOT NULL DEFAULT (uuid_to_bin(uuid(),1)),
|
|
5
|
-
`name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL COMMENT 'e.g., "Douglas County Assessor JSON API"',
|
|
6
|
-
`url` text COLLATE utf8mb4_unicode_ci COMMENT 'Canonical source or download endpoint',
|
|
7
|
-
`jurisdiction` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL COMMENT 'e.g., "Douglas County, CO"',
|
|
8
|
-
`type` enum('API','HTML Scrape','FTP','PDF','Manual Entry','Other') COLLATE utf8mb4_unicode_ci DEFAULT 'Other' COMMENT 'Type of data acquisition',
|
|
9
|
-
`data` text COLLATE utf8mb4_unicode_ci COMMENT 'Optional JSON blob (e.g., {"scraped_at": "...", ...})',
|
|
10
|
-
`created_at` timestamp NULL DEFAULT CURRENT_TIMESTAMP,
|
|
11
|
-
PRIMARY KEY (`id`),
|
|
12
|
-
KEY `idx_name` (`name`),
|
|
13
|
-
KEY `idx_type` (`type`)
|
|
14
|
-
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC;
|
|
15
|
-
**/
|
|
16
|
-
declare const Test_Data: iSources;
|
|
17
|
-
export default Test_Data;
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
import { iPostC6RestResponse, iDeleteC6RestResponse, iGetC6RestResponse, iPutC6RestResponse } from "@carbonorm/carbonnode";
|
|
2
|
-
import { iStates } from "./C6";
|
|
3
|
-
declare const States: {
|
|
4
|
-
Get: (request?: Omit<iStates, never> & {
|
|
5
|
-
dataInsertMultipleRows?: Omit<iStates, 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<iStates>>) | import("axios").AxiosResponse<iGetC6RestResponse<iStates>, any> | null | undefined>;
|
|
12
|
-
Post: (request?: Omit<iStates, never> & {
|
|
13
|
-
dataInsertMultipleRows?: Omit<iStates, 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<iStates>, any> | null | undefined>;
|
|
20
|
-
Put: (request?: Omit<iStates, never> & {
|
|
21
|
-
dataInsertMultipleRows?: Omit<iStates, 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<iStates, any>, any> | null | undefined>;
|
|
28
|
-
Delete: (request?: Omit<iStates, never> & {
|
|
29
|
-
dataInsertMultipleRows?: Omit<iStates, 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<iStates, any>, any> | null | undefined>;
|
|
36
|
-
};
|
|
37
|
-
export default States;
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import { iStates } from "api/rest/C6";
|
|
2
|
-
/**
|
|
3
|
-
CREATE TABLE `states` (
|
|
4
|
-
`state_id` binary(16) NOT NULL,
|
|
5
|
-
`state_code` char(2) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
|
|
6
|
-
`name` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
|
|
7
|
-
`country_code` char(4) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
|
|
8
|
-
`geometry_id` binary(16) DEFAULT NULL,
|
|
9
|
-
`created_at` timestamp NULL DEFAULT CURRENT_TIMESTAMP,
|
|
10
|
-
PRIMARY KEY (`state_id`),
|
|
11
|
-
UNIQUE KEY `state_code` (`state_code`),
|
|
12
|
-
UNIQUE KEY `uq_state_name` (`name`,`country_code`),
|
|
13
|
-
UNIQUE KEY `uq_state_geometry` (`geometry_id`),
|
|
14
|
-
KEY `country_code` (`country_code`),
|
|
15
|
-
CONSTRAINT `states_ibfk_1` FOREIGN KEY (`country_code`) REFERENCES `countries` (`country_code`) ON DELETE RESTRICT,
|
|
16
|
-
CONSTRAINT `states_ibfk_2` FOREIGN KEY (`geometry_id`) REFERENCES `geometries` (`geometry_id`) ON DELETE RESTRICT
|
|
17
|
-
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
|
18
|
-
**/
|
|
19
|
-
declare const Test_Data: iStates;
|
|
20
|
-
export default Test_Data;
|