@risika/api-response-types-dev 1.243.0 → 1.244.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.
@@ -0,0 +1,6 @@
1
+ // @ts-nocheck
2
+ export type { Columns as TemplateColumns } from "./template/columns"
3
+ export type { Fields as TemplateVersionFields } from "./template/version/fields"
4
+ export type { Publish as TemplateVersionPublish } from "./template/version/publish"
5
+ export type { Version as TemplateVersion } from "./template/version"
6
+ export type { Template as Template } from "./template"
@@ -0,0 +1,16 @@
1
+ // @ts-nocheck
2
+ /* eslint-disable */
3
+ /**
4
+ * This file was automatically generated by json-schema-to-typescript.
5
+ * DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
6
+ * and run json-schema-to-typescript to regenerate this file.
7
+ */
8
+
9
+ export interface Columns {
10
+ columns: {
11
+ field_key: string;
12
+ label: string;
13
+ field_type: string;
14
+ display_order?: number | null;
15
+ }[];
16
+ }
@@ -0,0 +1,34 @@
1
+ // @ts-nocheck
2
+ /* eslint-disable */
3
+ /**
4
+ * This file was automatically generated by json-schema-to-typescript.
5
+ * DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
6
+ * and run json-schema-to-typescript to regenerate this file.
7
+ */
8
+
9
+ export interface Fields {
10
+ fields: {
11
+ id: number;
12
+ field_key: string;
13
+ label: string;
14
+ field_type:
15
+ | "short_text"
16
+ | "long_text"
17
+ | "number"
18
+ | "currency"
19
+ | "percentage"
20
+ | "date"
21
+ | "single_select"
22
+ | "multi_select"
23
+ | "boolean";
24
+ required?: boolean | null;
25
+ options?: {} | unknown[] | null;
26
+ validation?: {} | null;
27
+ help_text?: string | null;
28
+ is_reserved?: boolean | null;
29
+ is_sensitive?: boolean | null;
30
+ expose_to_dashboard?: boolean | null;
31
+ expose_to_email?: boolean | null;
32
+ display_order?: number | null;
33
+ }[];
34
+ }
@@ -0,0 +1,14 @@
1
+ // @ts-nocheck
2
+ /* eslint-disable */
3
+ /**
4
+ * This file was automatically generated by json-schema-to-typescript.
5
+ * DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
6
+ * and run json-schema-to-typescript to regenerate this file.
7
+ */
8
+
9
+ export interface Publish {
10
+ version_id: number;
11
+ version: number;
12
+ published_at?: string | null;
13
+ status: string;
14
+ }
@@ -0,0 +1,40 @@
1
+ // @ts-nocheck
2
+ /* eslint-disable */
3
+ /**
4
+ * This file was automatically generated by json-schema-to-typescript.
5
+ * DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
6
+ * and run json-schema-to-typescript to regenerate this file.
7
+ */
8
+
9
+ export interface Version {
10
+ id: number;
11
+ template_id: number;
12
+ version: number;
13
+ status: "draft" | "published";
14
+ published_at?: string | null;
15
+ created?: string | null;
16
+ fields: {
17
+ id: number;
18
+ field_key: string;
19
+ label: string;
20
+ field_type:
21
+ | "short_text"
22
+ | "long_text"
23
+ | "number"
24
+ | "currency"
25
+ | "percentage"
26
+ | "date"
27
+ | "single_select"
28
+ | "multi_select"
29
+ | "boolean";
30
+ required?: boolean | null;
31
+ options?: {} | unknown[] | null;
32
+ validation?: {} | null;
33
+ help_text?: string | null;
34
+ is_reserved?: boolean | null;
35
+ is_sensitive?: boolean | null;
36
+ expose_to_dashboard?: boolean | null;
37
+ expose_to_email?: boolean | null;
38
+ display_order?: number | null;
39
+ }[];
40
+ }
@@ -0,0 +1,27 @@
1
+ // @ts-nocheck
2
+ /* eslint-disable */
3
+ /**
4
+ * This file was automatically generated by json-schema-to-typescript.
5
+ * DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
6
+ * and run json-schema-to-typescript to regenerate this file.
7
+ */
8
+
9
+ export interface Template {
10
+ templates: {
11
+ id: number;
12
+ company_id?: number | null;
13
+ scope: "request" | "review";
14
+ name: string;
15
+ is_prebuilt?: boolean | null;
16
+ created?: string | null;
17
+ updated?: string | null;
18
+ versions: {
19
+ id: number;
20
+ template_id: number;
21
+ version: number;
22
+ status: "draft" | "published";
23
+ published_at?: string | null;
24
+ created?: string | null;
25
+ }[];
26
+ }[];
27
+ }
package/index.ts CHANGED
@@ -2,6 +2,7 @@
2
2
  export * as Account from "./account"
3
3
  export * as Company from "./company"
4
4
  export * as ConvertCurrency from "./convert_currency"
5
+ export * as CreditRequest from "./credit_request"
5
6
  export * as Export from "./export"
6
7
  export * as Financial from "./financial"
7
8
  export * as FraudPolicy from "./fraud_policy"
package/package.json CHANGED
@@ -1 +1 @@
1
- {"name":"@risika/api-response-types-dev","version":"1.243.0","main":"index.js","license":"MIT","type":"module"}
1
+ {"name":"@risika/api-response-types-dev","version":"1.244.0","main":"index.js","license":"MIT","type":"module"}