@greensecurity/javascript-sdk 0.30.51 → 0.30.55
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/bin/mcp-server.js +84 -11
- package/bin/mcp-server.js.map +12 -11
- package/dist/commonjs/__tests__/vendormanagedbycompanies.test.js +1 -1
- package/dist/commonjs/__tests__/vendormanagedbycompanies.test.js.map +1 -1
- package/dist/commonjs/__tests__/vendors.test.js +8 -8
- package/dist/commonjs/__tests__/vendors.test.js.map +1 -1
- package/dist/commonjs/__tests__/zones.test.js +3 -41
- package/dist/commonjs/__tests__/zones.test.js.map +1 -1
- package/dist/commonjs/lib/config.d.ts +2 -2
- package/dist/commonjs/lib/config.js +2 -2
- package/dist/commonjs/mcp-server/mcp-server.js +1 -1
- package/dist/commonjs/mcp-server/server.js +1 -1
- package/dist/commonjs/models/components/credential.d.ts +8 -0
- package/dist/commonjs/models/components/credential.d.ts.map +1 -1
- package/dist/commonjs/models/components/credential.js +16 -0
- package/dist/commonjs/models/components/credential.js.map +1 -1
- package/dist/commonjs/models/components/financialstatus.d.ts +70 -0
- package/dist/commonjs/models/components/financialstatus.d.ts.map +1 -0
- package/dist/commonjs/models/components/financialstatus.js +74 -0
- package/dist/commonjs/models/components/financialstatus.js.map +1 -0
- package/dist/commonjs/models/components/index.d.ts +1 -0
- package/dist/commonjs/models/components/index.d.ts.map +1 -1
- package/dist/commonjs/models/components/index.js +1 -0
- package/dist/commonjs/models/components/index.js.map +1 -1
- package/dist/commonjs/models/components/invoice.d.ts +2 -2
- package/dist/commonjs/models/components/invoice.d.ts.map +1 -1
- package/dist/commonjs/models/components/invoice.js +3 -2
- package/dist/commonjs/models/components/invoice.js.map +1 -1
- package/dist/commonjs/models/components/subscription.d.ts +16 -0
- package/dist/commonjs/models/components/subscription.d.ts.map +1 -1
- package/dist/commonjs/models/components/subscription.js +19 -0
- package/dist/commonjs/models/components/subscription.js.map +1 -1
- package/dist/commonjs/models/components/vendorcredentialsummary.d.ts +4 -0
- package/dist/commonjs/models/components/vendorcredentialsummary.d.ts.map +1 -1
- package/dist/commonjs/models/components/vendorcredentialsummary.js +8 -0
- package/dist/commonjs/models/components/vendorcredentialsummary.js.map +1 -1
- package/dist/esm/__tests__/vendormanagedbycompanies.test.js +1 -1
- package/dist/esm/__tests__/vendormanagedbycompanies.test.js.map +1 -1
- package/dist/esm/__tests__/vendors.test.js +8 -8
- package/dist/esm/__tests__/vendors.test.js.map +1 -1
- package/dist/esm/__tests__/zones.test.js +3 -41
- package/dist/esm/__tests__/zones.test.js.map +1 -1
- package/dist/esm/lib/config.d.ts +2 -2
- package/dist/esm/lib/config.js +2 -2
- package/dist/esm/mcp-server/mcp-server.js +1 -1
- package/dist/esm/mcp-server/server.js +1 -1
- package/dist/esm/models/components/credential.d.ts +8 -0
- package/dist/esm/models/components/credential.d.ts.map +1 -1
- package/dist/esm/models/components/credential.js +16 -0
- package/dist/esm/models/components/credential.js.map +1 -1
- package/dist/esm/models/components/financialstatus.d.ts +70 -0
- package/dist/esm/models/components/financialstatus.d.ts.map +1 -0
- package/dist/esm/models/components/financialstatus.js +38 -0
- package/dist/esm/models/components/financialstatus.js.map +1 -0
- package/dist/esm/models/components/index.d.ts +1 -0
- package/dist/esm/models/components/index.d.ts.map +1 -1
- package/dist/esm/models/components/index.js +1 -0
- package/dist/esm/models/components/index.js.map +1 -1
- package/dist/esm/models/components/invoice.d.ts +2 -2
- package/dist/esm/models/components/invoice.d.ts.map +1 -1
- package/dist/esm/models/components/invoice.js +3 -2
- package/dist/esm/models/components/invoice.js.map +1 -1
- package/dist/esm/models/components/subscription.d.ts +16 -0
- package/dist/esm/models/components/subscription.d.ts.map +1 -1
- package/dist/esm/models/components/subscription.js +19 -0
- package/dist/esm/models/components/subscription.js.map +1 -1
- package/dist/esm/models/components/vendorcredentialsummary.d.ts +4 -0
- package/dist/esm/models/components/vendorcredentialsummary.d.ts.map +1 -1
- package/dist/esm/models/components/vendorcredentialsummary.js +8 -0
- package/dist/esm/models/components/vendorcredentialsummary.js.map +1 -1
- package/jsr.json +1 -1
- package/package.json +1 -1
- package/src/__tests__/vendormanagedbycompanies.test.ts +1 -1
- package/src/__tests__/vendors.test.ts +8 -8
- package/src/__tests__/zones.test.ts +3 -41
- package/src/lib/config.ts +2 -2
- package/src/mcp-server/mcp-server.ts +1 -1
- package/src/mcp-server/server.ts +1 -1
- package/src/models/components/credential.ts +24 -0
- package/src/models/components/financialstatus.ts +47 -0
- package/src/models/components/index.ts +1 -0
- package/src/models/components/invoice.ts +5 -4
- package/src/models/components/subscription.ts +42 -0
- package/src/models/components/vendorcredentialsummary.ts +12 -0
|
@@ -36,44 +36,7 @@ test("Zones List Or Search Security Zones", async () => {
|
|
|
36
36
|
},
|
|
37
37
|
items: [
|
|
38
38
|
{
|
|
39
|
-
facility: {
|
|
40
|
-
contacts: {
|
|
41
|
-
contact: {
|
|
42
|
-
status: "Active",
|
|
43
|
-
department: {
|
|
44
|
-
id: 32010,
|
|
45
|
-
name: "<value>",
|
|
46
|
-
},
|
|
47
|
-
},
|
|
48
|
-
adminContact: {
|
|
49
|
-
status: "Deleted",
|
|
50
|
-
department: {
|
|
51
|
-
id: 692720,
|
|
52
|
-
name: "<value>",
|
|
53
|
-
},
|
|
54
|
-
},
|
|
55
|
-
techContact: {
|
|
56
|
-
status: "Deleted",
|
|
57
|
-
department: 123,
|
|
58
|
-
},
|
|
59
|
-
greenSecurityCsm: {
|
|
60
|
-
status: "Deleted",
|
|
61
|
-
department: 123,
|
|
62
|
-
},
|
|
63
|
-
accountManager: {
|
|
64
|
-
status: "Inactive",
|
|
65
|
-
department: {
|
|
66
|
-
id: 958708,
|
|
67
|
-
name: "<value>",
|
|
68
|
-
},
|
|
69
|
-
},
|
|
70
|
-
},
|
|
71
|
-
vendorGuestPolicy: {
|
|
72
|
-
enabled: false,
|
|
73
|
-
vendorGuestLimitAndOr: "or",
|
|
74
|
-
vendorGuestRequireEmail: false,
|
|
75
|
-
},
|
|
76
|
-
},
|
|
39
|
+
facility: {},
|
|
77
40
|
},
|
|
78
41
|
{
|
|
79
42
|
facility: {},
|
|
@@ -94,9 +57,8 @@ test("Zones Security Zone Checkin", async () => {
|
|
|
94
57
|
});
|
|
95
58
|
|
|
96
59
|
const result = await greenSecurity.zones.securityZoneCheckin({
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
latitude: "<value>",
|
|
60
|
+
qrCode: "<value>",
|
|
61
|
+
zoneId: 706643,
|
|
100
62
|
});
|
|
101
63
|
expect(result).toBeDefined();
|
|
102
64
|
expect(result).toEqual({});
|
package/src/lib/config.ts
CHANGED
|
@@ -72,8 +72,8 @@ export function serverURLFromOptions(options: SDKOptions): URL | null {
|
|
|
72
72
|
export const SDK_METADATA = {
|
|
73
73
|
language: "typescript",
|
|
74
74
|
openapiDocVersion: "0.0.3",
|
|
75
|
-
sdkVersion: "0.30.
|
|
75
|
+
sdkVersion: "0.30.55",
|
|
76
76
|
genVersion: "2.605.0",
|
|
77
77
|
userAgent:
|
|
78
|
-
"speakeasy-sdk/typescript 0.30.
|
|
78
|
+
"speakeasy-sdk/typescript 0.30.55 2.605.0 0.0.3 @greensecurity/javascript-sdk",
|
|
79
79
|
} as const;
|
package/src/mcp-server/server.ts
CHANGED
|
@@ -55,6 +55,10 @@ export type Credential = {
|
|
|
55
55
|
jsSchema?: string | null | undefined;
|
|
56
56
|
uiSchema?: string | null | undefined;
|
|
57
57
|
behavior?: string | null | undefined;
|
|
58
|
+
requireElectronicSignature?: boolean | undefined;
|
|
59
|
+
declineSubmittingText?: string | null | undefined;
|
|
60
|
+
declineDescription?: string | null | undefined;
|
|
61
|
+
requireDeclineFile?: boolean | undefined;
|
|
58
62
|
credentialDocuments?: Array<CredentialDocument | null> | undefined;
|
|
59
63
|
fileUrl?: string | null | undefined;
|
|
60
64
|
declineFileUrl?: string | null | undefined;
|
|
@@ -138,6 +142,10 @@ export const Credential$inboundSchema: z.ZodType<
|
|
|
138
142
|
js_schema: z.nullable(z.string()).optional(),
|
|
139
143
|
ui_schema: z.nullable(z.string()).optional(),
|
|
140
144
|
behavior: z.nullable(z.string()).optional(),
|
|
145
|
+
require_electronic_signature: z.boolean().optional(),
|
|
146
|
+
decline_submitting_text: z.nullable(z.string()).optional(),
|
|
147
|
+
decline_description: z.nullable(z.string()).optional(),
|
|
148
|
+
require_decline_file: z.boolean().optional(),
|
|
141
149
|
credential_documents: z.array(
|
|
142
150
|
z.nullable(z.lazy(() => CredentialDocument$inboundSchema)),
|
|
143
151
|
).optional(),
|
|
@@ -151,6 +159,10 @@ export const Credential$inboundSchema: z.ZodType<
|
|
|
151
159
|
"allow_decline": "allowDecline",
|
|
152
160
|
"js_schema": "jsSchema",
|
|
153
161
|
"ui_schema": "uiSchema",
|
|
162
|
+
"require_electronic_signature": "requireElectronicSignature",
|
|
163
|
+
"decline_submitting_text": "declineSubmittingText",
|
|
164
|
+
"decline_description": "declineDescription",
|
|
165
|
+
"require_decline_file": "requireDeclineFile",
|
|
154
166
|
"credential_documents": "credentialDocuments",
|
|
155
167
|
"file_url": "fileUrl",
|
|
156
168
|
"decline_file_url": "declineFileUrl",
|
|
@@ -170,6 +182,10 @@ export type Credential$Outbound = {
|
|
|
170
182
|
js_schema?: string | null | undefined;
|
|
171
183
|
ui_schema?: string | null | undefined;
|
|
172
184
|
behavior?: string | null | undefined;
|
|
185
|
+
require_electronic_signature?: boolean | undefined;
|
|
186
|
+
decline_submitting_text?: string | null | undefined;
|
|
187
|
+
decline_description?: string | null | undefined;
|
|
188
|
+
require_decline_file?: boolean | undefined;
|
|
173
189
|
credential_documents?: Array<CredentialDocument$Outbound | null> | undefined;
|
|
174
190
|
file_url?: string | null | undefined;
|
|
175
191
|
decline_file_url?: string | null | undefined;
|
|
@@ -192,6 +208,10 @@ export const Credential$outboundSchema: z.ZodType<
|
|
|
192
208
|
jsSchema: z.nullable(z.string()).optional(),
|
|
193
209
|
uiSchema: z.nullable(z.string()).optional(),
|
|
194
210
|
behavior: z.nullable(z.string()).optional(),
|
|
211
|
+
requireElectronicSignature: z.boolean().optional(),
|
|
212
|
+
declineSubmittingText: z.nullable(z.string()).optional(),
|
|
213
|
+
declineDescription: z.nullable(z.string()).optional(),
|
|
214
|
+
requireDeclineFile: z.boolean().optional(),
|
|
195
215
|
credentialDocuments: z.array(
|
|
196
216
|
z.nullable(z.lazy(() => CredentialDocument$outboundSchema)),
|
|
197
217
|
).optional(),
|
|
@@ -205,6 +225,10 @@ export const Credential$outboundSchema: z.ZodType<
|
|
|
205
225
|
allowDecline: "allow_decline",
|
|
206
226
|
jsSchema: "js_schema",
|
|
207
227
|
uiSchema: "ui_schema",
|
|
228
|
+
requireElectronicSignature: "require_electronic_signature",
|
|
229
|
+
declineSubmittingText: "decline_submitting_text",
|
|
230
|
+
declineDescription: "decline_description",
|
|
231
|
+
requireDeclineFile: "require_decline_file",
|
|
208
232
|
credentialDocuments: "credential_documents",
|
|
209
233
|
fileUrl: "file_url",
|
|
210
234
|
declineFileUrl: "decline_file_url",
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod";
|
|
6
|
+
import { ClosedEnum } from "../../types/enums.js";
|
|
7
|
+
|
|
8
|
+
export const FinancialStatus = {
|
|
9
|
+
Pending: "pending",
|
|
10
|
+
Authorized: "authorized",
|
|
11
|
+
Captured: "captured",
|
|
12
|
+
Refunded: "refunded",
|
|
13
|
+
RefundedToCredits: "refunded to credits",
|
|
14
|
+
Voided: "voided",
|
|
15
|
+
Waived: "waived",
|
|
16
|
+
Overdue: "overdue",
|
|
17
|
+
Paid: "paid",
|
|
18
|
+
PaidByCredits: "paid by credits",
|
|
19
|
+
PaidByCreditCard: "paid by credit card",
|
|
20
|
+
PaidByCheck: "paid by check",
|
|
21
|
+
PaidByShareback: "paid by shareback",
|
|
22
|
+
PaidByPo: "paid by po",
|
|
23
|
+
PaidByOtherMeans: "paid by other means",
|
|
24
|
+
Credited: "credited",
|
|
25
|
+
} as const;
|
|
26
|
+
export type FinancialStatus = ClosedEnum<typeof FinancialStatus>;
|
|
27
|
+
|
|
28
|
+
/** @internal */
|
|
29
|
+
export const FinancialStatus$inboundSchema: z.ZodNativeEnum<
|
|
30
|
+
typeof FinancialStatus
|
|
31
|
+
> = z.nativeEnum(FinancialStatus);
|
|
32
|
+
|
|
33
|
+
/** @internal */
|
|
34
|
+
export const FinancialStatus$outboundSchema: z.ZodNativeEnum<
|
|
35
|
+
typeof FinancialStatus
|
|
36
|
+
> = FinancialStatus$inboundSchema;
|
|
37
|
+
|
|
38
|
+
/**
|
|
39
|
+
* @internal
|
|
40
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
41
|
+
*/
|
|
42
|
+
export namespace FinancialStatus$ {
|
|
43
|
+
/** @deprecated use `FinancialStatus$inboundSchema` instead. */
|
|
44
|
+
export const inboundSchema = FinancialStatus$inboundSchema;
|
|
45
|
+
/** @deprecated use `FinancialStatus$outboundSchema` instead. */
|
|
46
|
+
export const outboundSchema = FinancialStatus$outboundSchema;
|
|
47
|
+
}
|
|
@@ -17,6 +17,7 @@ export * from "./desc.js";
|
|
|
17
17
|
export * from "./expand.js";
|
|
18
18
|
export * from "./facility.js";
|
|
19
19
|
export * from "./facilitysummary.js";
|
|
20
|
+
export * from "./financialstatus.js";
|
|
20
21
|
export * from "./handoff.js";
|
|
21
22
|
export * from "./imageset.js";
|
|
22
23
|
export * from "./invoice.js";
|
|
@@ -35,7 +35,7 @@ export type Invoice = {
|
|
|
35
35
|
convenienceFee?: number | null | undefined;
|
|
36
36
|
shipping?: number | null | undefined;
|
|
37
37
|
discount?: number | undefined;
|
|
38
|
-
lines?: Array<InvoiceItem> | null | undefined;
|
|
38
|
+
lines?: Array<InvoiceItem | null> | null | undefined;
|
|
39
39
|
transactions?: Array<InvoiceTransaction> | null | undefined;
|
|
40
40
|
};
|
|
41
41
|
|
|
@@ -53,7 +53,8 @@ export const Invoice$inboundSchema: z.ZodType<Invoice, z.ZodTypeDef, unknown> =
|
|
|
53
53
|
convenience_fee: z.nullable(z.number()).optional(),
|
|
54
54
|
shipping: z.nullable(z.number().int()).optional(),
|
|
55
55
|
discount: z.number().int().optional(),
|
|
56
|
-
lines: z.nullable(z.array(InvoiceItem$inboundSchema))
|
|
56
|
+
lines: z.nullable(z.array(z.nullable(InvoiceItem$inboundSchema)))
|
|
57
|
+
.optional(),
|
|
57
58
|
transactions: z.nullable(z.array(InvoiceTransaction$inboundSchema))
|
|
58
59
|
.optional(),
|
|
59
60
|
}).transform((v) => {
|
|
@@ -79,7 +80,7 @@ export type Invoice$Outbound = {
|
|
|
79
80
|
convenience_fee?: number | null | undefined;
|
|
80
81
|
shipping?: number | null | undefined;
|
|
81
82
|
discount?: number | undefined;
|
|
82
|
-
lines?: Array<InvoiceItem$Outbound> | null | undefined;
|
|
83
|
+
lines?: Array<InvoiceItem$Outbound | null> | null | undefined;
|
|
83
84
|
transactions?: Array<InvoiceTransaction$Outbound> | null | undefined;
|
|
84
85
|
};
|
|
85
86
|
|
|
@@ -100,7 +101,7 @@ export const Invoice$outboundSchema: z.ZodType<
|
|
|
100
101
|
convenienceFee: z.nullable(z.number()).optional(),
|
|
101
102
|
shipping: z.nullable(z.number().int()).optional(),
|
|
102
103
|
discount: z.number().int().optional(),
|
|
103
|
-
lines: z.nullable(z.array(InvoiceItem$outboundSchema)).optional(),
|
|
104
|
+
lines: z.nullable(z.array(z.nullable(InvoiceItem$outboundSchema))).optional(),
|
|
104
105
|
transactions: z.nullable(z.array(InvoiceTransaction$outboundSchema))
|
|
105
106
|
.optional(),
|
|
106
107
|
}).transform((v) => {
|
|
@@ -7,6 +7,17 @@ import { remap as remap$ } from "../../lib/primitives.js";
|
|
|
7
7
|
import { safeParse } from "../../lib/schemas.js";
|
|
8
8
|
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
9
9
|
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
10
|
+
import {
|
|
11
|
+
FinancialStatus,
|
|
12
|
+
FinancialStatus$inboundSchema,
|
|
13
|
+
FinancialStatus$outboundSchema,
|
|
14
|
+
} from "./financialstatus.js";
|
|
15
|
+
import {
|
|
16
|
+
InvoiceItem,
|
|
17
|
+
InvoiceItem$inboundSchema,
|
|
18
|
+
InvoiceItem$Outbound,
|
|
19
|
+
InvoiceItem$outboundSchema,
|
|
20
|
+
} from "./invoiceitem.js";
|
|
10
21
|
|
|
11
22
|
/**
|
|
12
23
|
* Reduced list of attributes of the Subscription record
|
|
@@ -18,6 +29,16 @@ export type Subscription = {
|
|
|
18
29
|
status?: string | null | undefined;
|
|
19
30
|
locked?: boolean | null | undefined;
|
|
20
31
|
variantTitle?: string | null | undefined;
|
|
32
|
+
/**
|
|
33
|
+
* Reduced list of attributes of the Invoice line item record
|
|
34
|
+
*/
|
|
35
|
+
currentLineItem?: InvoiceItem | null | undefined;
|
|
36
|
+
/**
|
|
37
|
+
* Reduced list of attributes of the Invoice line item record
|
|
38
|
+
*/
|
|
39
|
+
nextLineItem?: InvoiceItem | null | undefined;
|
|
40
|
+
currentFinancialStatus?: FinancialStatus | null | undefined;
|
|
41
|
+
nextFinancialStatus?: FinancialStatus | null | undefined;
|
|
21
42
|
};
|
|
22
43
|
|
|
23
44
|
/** @internal */
|
|
@@ -32,11 +53,20 @@ export const Subscription$inboundSchema: z.ZodType<
|
|
|
32
53
|
status: z.nullable(z.string()).optional(),
|
|
33
54
|
locked: z.nullable(z.boolean()).optional(),
|
|
34
55
|
variant_title: z.nullable(z.string()).optional(),
|
|
56
|
+
current_line_item: z.nullable(InvoiceItem$inboundSchema).optional(),
|
|
57
|
+
next_line_item: z.nullable(InvoiceItem$inboundSchema).optional(),
|
|
58
|
+
current_financial_status: z.nullable(FinancialStatus$inboundSchema)
|
|
59
|
+
.optional(),
|
|
60
|
+
next_financial_status: z.nullable(FinancialStatus$inboundSchema).optional(),
|
|
35
61
|
}).transform((v) => {
|
|
36
62
|
return remap$(v, {
|
|
37
63
|
"date_started": "dateStarted",
|
|
38
64
|
"date_ends": "dateEnds",
|
|
39
65
|
"variant_title": "variantTitle",
|
|
66
|
+
"current_line_item": "currentLineItem",
|
|
67
|
+
"next_line_item": "nextLineItem",
|
|
68
|
+
"current_financial_status": "currentFinancialStatus",
|
|
69
|
+
"next_financial_status": "nextFinancialStatus",
|
|
40
70
|
});
|
|
41
71
|
});
|
|
42
72
|
|
|
@@ -48,6 +78,10 @@ export type Subscription$Outbound = {
|
|
|
48
78
|
status?: string | null | undefined;
|
|
49
79
|
locked?: boolean | null | undefined;
|
|
50
80
|
variant_title?: string | null | undefined;
|
|
81
|
+
current_line_item?: InvoiceItem$Outbound | null | undefined;
|
|
82
|
+
next_line_item?: InvoiceItem$Outbound | null | undefined;
|
|
83
|
+
current_financial_status?: string | null | undefined;
|
|
84
|
+
next_financial_status?: string | null | undefined;
|
|
51
85
|
};
|
|
52
86
|
|
|
53
87
|
/** @internal */
|
|
@@ -62,11 +96,19 @@ export const Subscription$outboundSchema: z.ZodType<
|
|
|
62
96
|
status: z.nullable(z.string()).optional(),
|
|
63
97
|
locked: z.nullable(z.boolean()).optional(),
|
|
64
98
|
variantTitle: z.nullable(z.string()).optional(),
|
|
99
|
+
currentLineItem: z.nullable(InvoiceItem$outboundSchema).optional(),
|
|
100
|
+
nextLineItem: z.nullable(InvoiceItem$outboundSchema).optional(),
|
|
101
|
+
currentFinancialStatus: z.nullable(FinancialStatus$outboundSchema).optional(),
|
|
102
|
+
nextFinancialStatus: z.nullable(FinancialStatus$outboundSchema).optional(),
|
|
65
103
|
}).transform((v) => {
|
|
66
104
|
return remap$(v, {
|
|
67
105
|
dateStarted: "date_started",
|
|
68
106
|
dateEnds: "date_ends",
|
|
69
107
|
variantTitle: "variant_title",
|
|
108
|
+
currentLineItem: "current_line_item",
|
|
109
|
+
nextLineItem: "next_line_item",
|
|
110
|
+
currentFinancialStatus: "current_financial_status",
|
|
111
|
+
nextFinancialStatus: "next_financial_status",
|
|
70
112
|
});
|
|
71
113
|
});
|
|
72
114
|
|
|
@@ -85,6 +85,8 @@ export type VendorCredentialSummary = {
|
|
|
85
85
|
company?: Company | null | undefined;
|
|
86
86
|
dateDue?: string | null | undefined;
|
|
87
87
|
dateExpires?: string | null | undefined;
|
|
88
|
+
dateExpedited?: string | null | undefined;
|
|
89
|
+
dateValid?: string | null | undefined;
|
|
88
90
|
notes?: string | null | undefined;
|
|
89
91
|
expedited?: boolean | undefined;
|
|
90
92
|
jsonData?: string | null | undefined;
|
|
@@ -432,6 +434,8 @@ export const VendorCredentialSummary$inboundSchema: z.ZodType<
|
|
|
432
434
|
company: z.nullable(Company$inboundSchema).optional(),
|
|
433
435
|
date_due: z.nullable(z.string()).optional(),
|
|
434
436
|
date_expires: z.nullable(z.string()).optional(),
|
|
437
|
+
date_expedited: z.nullable(z.string()).optional(),
|
|
438
|
+
date_valid: z.nullable(z.string()).optional(),
|
|
435
439
|
notes: z.nullable(z.string()).optional(),
|
|
436
440
|
expedited: z.boolean().optional(),
|
|
437
441
|
json_data: z.nullable(z.string()).optional(),
|
|
@@ -468,6 +472,8 @@ export const VendorCredentialSummary$inboundSchema: z.ZodType<
|
|
|
468
472
|
return remap$(v, {
|
|
469
473
|
"date_due": "dateDue",
|
|
470
474
|
"date_expires": "dateExpires",
|
|
475
|
+
"date_expedited": "dateExpedited",
|
|
476
|
+
"date_valid": "dateValid",
|
|
471
477
|
"json_data": "jsonData",
|
|
472
478
|
"vendor_credential_files": "vendorCredentialFiles",
|
|
473
479
|
"latest_vendor_credential_id": "latestVendorCredentialId",
|
|
@@ -491,6 +497,8 @@ export type VendorCredentialSummary$Outbound = {
|
|
|
491
497
|
company?: Company$Outbound | null | undefined;
|
|
492
498
|
date_due?: string | null | undefined;
|
|
493
499
|
date_expires?: string | null | undefined;
|
|
500
|
+
date_expedited?: string | null | undefined;
|
|
501
|
+
date_valid?: string | null | undefined;
|
|
494
502
|
notes?: string | null | undefined;
|
|
495
503
|
expedited?: boolean | undefined;
|
|
496
504
|
json_data?: string | null | undefined;
|
|
@@ -530,6 +538,8 @@ export const VendorCredentialSummary$outboundSchema: z.ZodType<
|
|
|
530
538
|
company: z.nullable(Company$outboundSchema).optional(),
|
|
531
539
|
dateDue: z.nullable(z.string()).optional(),
|
|
532
540
|
dateExpires: z.nullable(z.string()).optional(),
|
|
541
|
+
dateExpedited: z.nullable(z.string()).optional(),
|
|
542
|
+
dateValid: z.nullable(z.string()).optional(),
|
|
533
543
|
notes: z.nullable(z.string()).optional(),
|
|
534
544
|
expedited: z.boolean().optional(),
|
|
535
545
|
jsonData: z.nullable(z.string()).optional(),
|
|
@@ -566,6 +576,8 @@ export const VendorCredentialSummary$outboundSchema: z.ZodType<
|
|
|
566
576
|
return remap$(v, {
|
|
567
577
|
dateDue: "date_due",
|
|
568
578
|
dateExpires: "date_expires",
|
|
579
|
+
dateExpedited: "date_expedited",
|
|
580
|
+
dateValid: "date_valid",
|
|
569
581
|
jsonData: "json_data",
|
|
570
582
|
vendorCredentialFiles: "vendor_credential_files",
|
|
571
583
|
latestVendorCredentialId: "latest_vendor_credential_id",
|