@ottoai/documents 1.3.1 → 1.3.3

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.
@@ -10,44 +10,32 @@ var __metadata = (this && this.__metadata) || function (k, v) {
10
10
  };
11
11
  Object.defineProperty(exports, "__esModule", { value: true });
12
12
  exports.W9FormDataDto = exports.RequesterDto = exports.AddressDto = void 0;
13
- const swagger_1 = require("@nestjs/swagger");
14
13
  const class_validator_1 = require("class-validator");
15
14
  const pdf_editor_1 = require("../../util/pdf-editor");
16
15
  class AddressDto {
17
16
  }
18
17
  exports.AddressDto = AddressDto;
19
18
  __decorate([
20
- (0, swagger_1.ApiProperty)({ description: "City", example: "New York" }),
21
19
  (0, class_validator_1.IsString)(),
22
20
  (0, class_validator_1.IsNotEmpty)(),
23
21
  __metadata("design:type", Object)
24
22
  ], AddressDto.prototype, "city", void 0);
25
23
  __decorate([
26
- (0, swagger_1.ApiProperty)({ description: "State", example: "NY" }),
27
24
  (0, class_validator_1.IsString)(),
28
25
  (0, class_validator_1.IsNotEmpty)(),
29
26
  __metadata("design:type", Object)
30
27
  ], AddressDto.prototype, "state", void 0);
31
28
  __decorate([
32
- (0, swagger_1.ApiProperty)({ description: "Postal code", example: "10001" }),
33
29
  (0, class_validator_1.IsString)(),
34
30
  (0, class_validator_1.IsNotEmpty)(),
35
31
  __metadata("design:type", Object)
36
32
  ], AddressDto.prototype, "postal_code", void 0);
37
33
  __decorate([
38
- (0, swagger_1.ApiProperty)({
39
- description: "Primary address line",
40
- example: "123 Main St",
41
- }),
42
34
  (0, class_validator_1.IsString)(),
43
35
  (0, class_validator_1.IsNotEmpty)(),
44
36
  __metadata("design:type", Object)
45
37
  ], AddressDto.prototype, "address_line_1", void 0);
46
38
  __decorate([
47
- (0, swagger_1.ApiPropertyOptional)({
48
- description: "Secondary address line",
49
- example: "Apt 4B",
50
- }),
51
39
  (0, class_validator_1.IsOptional)(),
52
40
  (0, class_validator_1.IsString)(),
53
41
  __metadata("design:type", Object)
@@ -56,13 +44,11 @@ class RequesterDto {
56
44
  }
57
45
  exports.RequesterDto = RequesterDto;
58
46
  __decorate([
59
- (0, swagger_1.ApiProperty)({ description: "Requesting entity name", example: "ACME Corp" }),
60
47
  (0, class_validator_1.IsString)(),
61
48
  (0, class_validator_1.IsNotEmpty)(),
62
49
  __metadata("design:type", String)
63
50
  ], RequesterDto.prototype, "name", void 0);
64
51
  __decorate([
65
- (0, swagger_1.ApiPropertyOptional)({ description: "Requesting entity address" }),
66
52
  (0, class_validator_1.IsOptional)(),
67
53
  (0, class_validator_1.IsObject)(),
68
54
  __metadata("design:type", AddressDto)
@@ -71,53 +57,32 @@ class W9FormDataDto {
71
57
  }
72
58
  exports.W9FormDataDto = W9FormDataDto;
73
59
  __decorate([
74
- (0, swagger_1.ApiProperty)({ description: "Full legal name", example: "John Doe" }),
75
60
  (0, class_validator_1.IsString)(),
76
61
  (0, class_validator_1.IsNotEmpty)(),
77
62
  __metadata("design:type", String)
78
63
  ], W9FormDataDto.prototype, "name", void 0);
79
64
  __decorate([
80
- (0, swagger_1.ApiPropertyOptional)({
81
- description: "Business name if applicable",
82
- example: "John Doe Inc.",
83
- }),
84
65
  (0, class_validator_1.IsOptional)(),
85
66
  (0, class_validator_1.IsString)(),
86
67
  __metadata("design:type", String)
87
68
  ], W9FormDataDto.prototype, "businessName", void 0);
88
69
  __decorate([
89
- (0, swagger_1.ApiProperty)({
90
- description: "Federal tax classification",
91
- enum: pdf_editor_1.FedralTaxClassification,
92
- }),
93
70
  (0, class_validator_1.IsEnum)(pdf_editor_1.FedralTaxClassification),
94
71
  __metadata("design:type", String)
95
72
  ], W9FormDataDto.prototype, "fedralTaxClassification", void 0);
96
73
  __decorate([
97
- (0, swagger_1.ApiPropertyOptional)({
98
- description: "Tax classification, required if Federal Tax Classification is LLC",
99
- enum: pdf_editor_1.TaxClassification,
100
- }),
101
74
  (0, class_validator_1.ValidateIf)((obj) => obj.fedralTaxClassification === pdf_editor_1.FedralTaxClassification.LLC),
102
75
  (0, class_validator_1.IsEnum)(pdf_editor_1.TaxClassification),
103
76
  (0, class_validator_1.IsNotEmpty)(),
104
77
  __metadata("design:type", String)
105
78
  ], W9FormDataDto.prototype, "taxClassification", void 0);
106
79
  __decorate([
107
- (0, swagger_1.ApiPropertyOptional)({
108
- description: "Other tax classification",
109
- example: "Other Classification",
110
- }),
111
80
  (0, class_validator_1.ValidateIf)((o) => o.fedralTaxClassification === pdf_editor_1.FedralTaxClassification.Other),
112
81
  (0, class_validator_1.IsOptional)(),
113
82
  (0, class_validator_1.IsString)(),
114
83
  __metadata("design:type", String)
115
84
  ], W9FormDataDto.prototype, "otherTaxClassification", void 0);
116
85
  __decorate([
117
- (0, swagger_1.ApiPropertyOptional)({
118
- description: "Indicates whether there are foreign partners",
119
- example: true,
120
- }),
121
86
  (0, class_validator_1.ValidateIf)((o) => o.fedralTaxClassification === pdf_editor_1.FedralTaxClassification.Partnership ||
122
87
  o.fedralTaxClassification === pdf_editor_1.FedralTaxClassification.TrustEstate ||
123
88
  (o.fedralTaxClassification === pdf_editor_1.FedralTaxClassification.LLC &&
@@ -127,77 +92,48 @@ __decorate([
127
92
  __metadata("design:type", Boolean)
128
93
  ], W9FormDataDto.prototype, "isForeignPartners", void 0);
129
94
  __decorate([
130
- (0, swagger_1.ApiPropertyOptional)({
131
- description: "Exemption from backup withholding",
132
- example: "Exempt",
133
- }),
134
95
  (0, class_validator_1.IsOptional)(),
135
96
  (0, class_validator_1.IsString)(),
136
97
  __metadata("design:type", String)
137
98
  ], W9FormDataDto.prototype, "exemptionCode", void 0);
138
99
  __decorate([
139
- (0, swagger_1.ApiProperty)({ description: "Street address" }),
140
100
  (0, class_validator_1.IsObject)(),
141
101
  (0, class_validator_1.IsNotEmpty)(),
142
102
  __metadata("design:type", AddressDto)
143
103
  ], W9FormDataDto.prototype, "address", void 0);
144
104
  __decorate([
145
- (0, swagger_1.ApiPropertyOptional)({
146
- description: "Account number for specific requester",
147
- example: "123456789",
148
- }),
149
105
  (0, class_validator_1.IsOptional)(),
150
106
  (0, class_validator_1.IsString)(),
151
107
  __metadata("design:type", String)
152
108
  ], W9FormDataDto.prototype, "accountNumber", void 0);
153
109
  __decorate([
154
- (0, swagger_1.ApiPropertyOptional)({
155
- description: "SSN, required if individual",
156
- example: "123-45-6789",
157
- }),
158
110
  (0, class_validator_1.ValidateIf)((o) => !o.ein),
159
111
  (0, class_validator_1.IsOptional)(),
160
112
  (0, class_validator_1.IsString)(),
161
113
  __metadata("design:type", String)
162
114
  ], W9FormDataDto.prototype, "ssn", void 0);
163
115
  __decorate([
164
- (0, swagger_1.ApiPropertyOptional)({
165
- description: "EIN, required if business or entity",
166
- example: "12-3456789",
167
- }),
168
116
  (0, class_validator_1.ValidateIf)((o) => !o.ssn),
169
117
  (0, class_validator_1.IsOptional)(),
170
118
  (0, class_validator_1.IsString)(),
171
119
  __metadata("design:type", String)
172
120
  ], W9FormDataDto.prototype, "ein", void 0);
173
121
  __decorate([
174
- (0, swagger_1.ApiProperty)({
175
- description: "Base64-encoded signature image",
176
- example: "data:image/png;base64,iVBORw0...",
177
- }),
178
122
  (0, class_validator_1.IsString)(),
179
123
  (0, class_validator_1.IsNotEmpty)(),
180
124
  __metadata("design:type", String)
181
125
  ], W9FormDataDto.prototype, "signature", void 0);
182
126
  __decorate([
183
- (0, swagger_1.ApiProperty)({ description: "Date of signing", example: "2023-10-01" }),
184
127
  (0, class_validator_1.IsDateString)(),
185
128
  (0, class_validator_1.IsNotEmpty)(),
186
129
  __metadata("design:type", String)
187
130
  ], W9FormDataDto.prototype, "date", void 0);
188
131
  __decorate([
189
- (0, swagger_1.ApiPropertyOptional)({
190
- description: "FATCA reporting code if applicable",
191
- example: "A",
192
- }),
193
132
  (0, class_validator_1.IsOptional)(),
194
133
  (0, class_validator_1.IsString)(),
195
134
  __metadata("design:type", String)
196
135
  ], W9FormDataDto.prototype, "fatcaCode", void 0);
197
136
  __decorate([
198
- (0, swagger_1.ApiPropertyOptional)({
199
- description: "Details of the entity requesting the W-9 form",
200
- }),
201
137
  (0, class_validator_1.IsOptional)(),
202
138
  (0, class_validator_1.IsObject)(),
203
139
  __metadata("design:type", RequesterDto)
@@ -1 +1 @@
1
- {"version":3,"file":"form.dto.js","sourceRoot":"","sources":["../../../../../src/create/pdf/united-states/w9-form/form.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,6CAAmE;AACnE,qDASyB;AACzB,sDAG+B;AAG/B,MAAa,UAAU;CA+BtB;AA/BD,gCA+BC;AA3BC;IAHC,IAAA,qBAAW,EAAC,EAAE,WAAW,EAAE,MAAM,EAAE,OAAO,EAAE,UAAU,EAAE,CAAC;IACzD,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;wCACO;AAKpB;IAHC,IAAA,qBAAW,EAAC,EAAE,WAAW,EAAE,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC;IACpD,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;yCACQ;AAKrB;IAHC,IAAA,qBAAW,EAAC,EAAE,WAAW,EAAE,aAAa,EAAE,OAAO,EAAE,OAAO,EAAE,CAAC;IAC7D,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;+CACc;AAQ3B;IANC,IAAA,qBAAW,EAAC;QACX,WAAW,EAAE,sBAAsB;QACnC,OAAO,EAAE,aAAa;KACvB,CAAC;IACD,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;kDACiB;AAQ9B;IANC,IAAA,6BAAmB,EAAC;QACnB,WAAW,EAAE,wBAAwB;QACrC,OAAO,EAAE,QAAQ;KAClB,CAAC;IACD,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;kDACoB;AAIjC,MAAa,YAAY;CAUxB;AAVD,oCAUC;AANC;IAHC,IAAA,qBAAW,EAAC,EAAE,WAAW,EAAE,wBAAwB,EAAE,OAAO,EAAE,WAAW,EAAE,CAAC;IAC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AAU;8CAAC;AAIpB;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;oDACY;AAKvB;IAHC,IAAA,4BAAU,EAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC;IACzB,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;0CACE;AAKb;IAHC,IAAA,4BAAU,EAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC;IACzB,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;0CACE;AAIb;IAFC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;gDACK;AAIlB;IAFC,IAAA,8BAAY,GAAE;IACd,IAAA,4BAAU,GAAE;;2CACA;AAIb;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;gDACQ;AAInB;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;8BACC,YAAY;gDAAC"}
@@ -3,7 +3,7 @@ import type { TextSchema } from './types';
3
3
  export declare const uiRender: (arg: UIRenderProps<TextSchema>) => Promise<void>;
4
4
  export declare const buildStyledTextContainer: (arg: UIRenderProps<TextSchema>, value: string) => Promise<HTMLDivElement>;
5
5
  export declare const makeElementPlainTextContentEditable: (element: HTMLElement) => void;
6
- export declare const mapVerticalAlignToFlex: (verticalAlignmentValue: string | undefined) => "center" | "flex-end" | "flex-start";
6
+ export declare const mapVerticalAlignToFlex: (verticalAlignmentValue: string | undefined) => "center" | "flex-start" | "flex-end";
7
7
  export declare const getBackgroundColor: (value: string, schema: {
8
8
  backgroundColor?: string;
9
9
  }) => string;
@@ -26,6 +26,6 @@ export declare const rotatePoint: (point: {
26
26
  export declare const addAlphaToHex: (hex: string, alphaPercentage: number) => string;
27
27
  export declare const isEditable: (mode: Mode, schema: Schema) => boolean;
28
28
  export declare const hex2RgbColor: (hexString: string | undefined) => import("@pdfme/pdf-lib").RGB | undefined;
29
- export declare const hex2PrintingColor: (hexString: string | undefined, colorType?: ColorType) => import("@pdfme/pdf-lib").CMYK | import("@pdfme/pdf-lib").RGB | undefined;
29
+ export declare const hex2PrintingColor: (hexString: string | undefined, colorType?: ColorType) => import("@pdfme/pdf-lib").RGB | import("@pdfme/pdf-lib").CMYK | undefined;
30
30
  export declare const readFile: (input: File | FileList | null) => Promise<string | ArrayBuffer>;
31
31
  export declare const createErrorElm: () => HTMLDivElement;