postgrid-node 0.1.0-alpha.3 → 0.1.0-alpha.4

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.
Files changed (238) hide show
  1. package/CHANGELOG.md +47 -0
  2. package/README.md +25 -39
  3. package/core.d.ts +7 -4
  4. package/core.d.ts.map +1 -1
  5. package/core.js +16 -9
  6. package/core.js.map +1 -1
  7. package/core.mjs +16 -9
  8. package/core.mjs.map +1 -1
  9. package/index.d.mts +21 -8
  10. package/index.d.ts +21 -8
  11. package/index.d.ts.map +1 -1
  12. package/index.js +28 -5
  13. package/index.js.map +1 -1
  14. package/index.mjs +28 -5
  15. package/index.mjs.map +1 -1
  16. package/internal/qs/formats.d.ts +6 -0
  17. package/internal/qs/formats.d.ts.map +1 -0
  18. package/internal/qs/formats.js +11 -0
  19. package/internal/qs/formats.js.map +1 -0
  20. package/internal/qs/formats.mjs +8 -0
  21. package/internal/qs/formats.mjs.map +1 -0
  22. package/internal/qs/index.d.ts +10 -0
  23. package/internal/qs/index.d.ts.map +1 -0
  24. package/internal/qs/index.js +14 -0
  25. package/internal/qs/index.js.map +1 -0
  26. package/internal/qs/index.mjs +10 -0
  27. package/internal/qs/index.mjs.map +1 -0
  28. package/internal/qs/stringify.d.ts +3 -0
  29. package/internal/qs/stringify.d.ts.map +1 -0
  30. package/internal/qs/stringify.js +280 -0
  31. package/internal/qs/stringify.js.map +1 -0
  32. package/internal/qs/stringify.mjs +276 -0
  33. package/internal/qs/stringify.mjs.map +1 -0
  34. package/internal/qs/types.d.ts +57 -0
  35. package/internal/qs/types.d.ts.map +1 -0
  36. package/internal/qs/types.js +3 -0
  37. package/internal/qs/types.js.map +1 -0
  38. package/internal/qs/types.mjs +2 -0
  39. package/internal/qs/types.mjs.map +1 -0
  40. package/internal/qs/utils.d.ts +14 -0
  41. package/internal/qs/utils.d.ts.map +1 -0
  42. package/internal/qs/utils.js +229 -0
  43. package/internal/qs/utils.js.map +1 -0
  44. package/internal/qs/utils.mjs +217 -0
  45. package/internal/qs/utils.mjs.map +1 -0
  46. package/package.json +1 -1
  47. package/pagination.d.ts +2 -0
  48. package/pagination.d.ts.map +1 -1
  49. package/pagination.js +2 -1
  50. package/pagination.js.map +1 -1
  51. package/pagination.mjs +2 -1
  52. package/pagination.mjs.map +1 -1
  53. package/resource.d.ts +1 -1
  54. package/resource.d.ts.map +1 -1
  55. package/resource.js.map +1 -1
  56. package/resource.mjs.map +1 -1
  57. package/resources/bank-accounts.d.ts +61 -4
  58. package/resources/bank-accounts.d.ts.map +1 -1
  59. package/resources/bank-accounts.js +25 -0
  60. package/resources/bank-accounts.js.map +1 -1
  61. package/resources/bank-accounts.mjs +25 -0
  62. package/resources/bank-accounts.mjs.map +1 -1
  63. package/resources/boxes.d.ts +80 -15
  64. package/resources/boxes.d.ts.map +1 -1
  65. package/resources/boxes.js +27 -0
  66. package/resources/boxes.js.map +1 -1
  67. package/resources/boxes.mjs +27 -0
  68. package/resources/boxes.mjs.map +1 -1
  69. package/resources/campaigns.d.ts +21 -7
  70. package/resources/campaigns.d.ts.map +1 -1
  71. package/resources/cheques/cheques.d.ts +43 -4
  72. package/resources/cheques/cheques.d.ts.map +1 -1
  73. package/resources/cheques/cheques.js +23 -0
  74. package/resources/cheques/cheques.js.map +1 -1
  75. package/resources/cheques/cheques.mjs +23 -0
  76. package/resources/cheques/cheques.mjs.map +1 -1
  77. package/resources/cheques/url.d.ts +5 -0
  78. package/resources/cheques/url.d.ts.map +1 -1
  79. package/resources/cheques/url.js +5 -0
  80. package/resources/cheques/url.js.map +1 -1
  81. package/resources/cheques/url.mjs +5 -0
  82. package/resources/cheques/url.mjs.map +1 -1
  83. package/resources/cheques/with-deposit-ready-pdf.d.ts +6 -0
  84. package/resources/cheques/with-deposit-ready-pdf.d.ts.map +1 -1
  85. package/resources/cheques/with-deposit-ready-pdf.js +6 -0
  86. package/resources/cheques/with-deposit-ready-pdf.js.map +1 -1
  87. package/resources/cheques/with-deposit-ready-pdf.mjs +6 -0
  88. package/resources/cheques/with-deposit-ready-pdf.mjs.map +1 -1
  89. package/resources/contacts.d.ts +37 -3
  90. package/resources/contacts.d.ts.map +1 -1
  91. package/resources/contacts.js +20 -0
  92. package/resources/contacts.js.map +1 -1
  93. package/resources/contacts.mjs +20 -0
  94. package/resources/contacts.mjs.map +1 -1
  95. package/resources/index.d.ts +5 -1
  96. package/resources/index.d.ts.map +1 -1
  97. package/resources/index.js +12 -1
  98. package/resources/index.js.map +1 -1
  99. package/resources/index.mjs +4 -0
  100. package/resources/index.mjs.map +1 -1
  101. package/resources/letters.d.ts +50 -6
  102. package/resources/letters.d.ts.map +1 -1
  103. package/resources/letters.js +24 -0
  104. package/resources/letters.js.map +1 -1
  105. package/resources/letters.mjs +24 -0
  106. package/resources/letters.mjs.map +1 -1
  107. package/resources/mailing-list-imports.d.ts +919 -0
  108. package/resources/mailing-list-imports.d.ts.map +1 -0
  109. package/resources/mailing-list-imports.js +95 -0
  110. package/resources/mailing-list-imports.js.map +1 -0
  111. package/resources/mailing-list-imports.mjs +90 -0
  112. package/resources/mailing-list-imports.mjs.map +1 -0
  113. package/resources/mailing-lists.d.ts +398 -0
  114. package/resources/mailing-lists.d.ts.map +1 -0
  115. package/resources/mailing-lists.js +101 -0
  116. package/resources/mailing-lists.js.map +1 -0
  117. package/resources/mailing-lists.mjs +96 -0
  118. package/resources/mailing-lists.mjs.map +1 -0
  119. package/resources/order-profiles/cheques.d.ts +588 -0
  120. package/resources/order-profiles/cheques.d.ts.map +1 -0
  121. package/resources/order-profiles/cheques.js +74 -0
  122. package/resources/order-profiles/cheques.js.map +1 -0
  123. package/resources/order-profiles/cheques.mjs +69 -0
  124. package/resources/order-profiles/cheques.mjs.map +1 -0
  125. package/resources/order-profiles/index.d.ts +6 -0
  126. package/resources/order-profiles/index.d.ts.map +1 -0
  127. package/resources/order-profiles/index.js +19 -0
  128. package/resources/order-profiles/index.js.map +1 -0
  129. package/resources/order-profiles/index.mjs +7 -0
  130. package/resources/order-profiles/index.mjs.map +1 -0
  131. package/resources/order-profiles/letters.d.ts +647 -0
  132. package/resources/order-profiles/letters.d.ts.map +1 -0
  133. package/resources/order-profiles/letters.js +80 -0
  134. package/resources/order-profiles/letters.js.map +1 -0
  135. package/resources/order-profiles/letters.mjs +75 -0
  136. package/resources/order-profiles/letters.mjs.map +1 -0
  137. package/resources/order-profiles/order-profiles.d.ts +22 -0
  138. package/resources/order-profiles/order-profiles.d.ts.map +1 -0
  139. package/resources/order-profiles/order-profiles.js +55 -0
  140. package/resources/order-profiles/order-profiles.js.map +1 -0
  141. package/resources/order-profiles/order-profiles.mjs +28 -0
  142. package/resources/order-profiles/order-profiles.mjs.map +1 -0
  143. package/resources/order-profiles/postcards.d.ts +423 -0
  144. package/resources/order-profiles/postcards.d.ts.map +1 -0
  145. package/resources/order-profiles/postcards.js +73 -0
  146. package/resources/order-profiles/postcards.js.map +1 -0
  147. package/resources/order-profiles/postcards.mjs +68 -0
  148. package/resources/order-profiles/postcards.mjs.map +1 -0
  149. package/resources/order-profiles/self-mailers.d.ts +435 -0
  150. package/resources/order-profiles/self-mailers.d.ts.map +1 -0
  151. package/resources/order-profiles/self-mailers.js +75 -0
  152. package/resources/order-profiles/self-mailers.js.map +1 -0
  153. package/resources/order-profiles/self-mailers.mjs +70 -0
  154. package/resources/order-profiles/self-mailers.mjs.map +1 -0
  155. package/resources/order-profiles.d.ts +2 -0
  156. package/resources/order-profiles.d.ts.map +1 -0
  157. package/resources/order-profiles.js +19 -0
  158. package/resources/order-profiles.js.map +1 -0
  159. package/resources/order-profiles.mjs +3 -0
  160. package/resources/order-profiles.mjs.map +1 -0
  161. package/resources/postcards.d.ts +58 -8
  162. package/resources/postcards.d.ts.map +1 -1
  163. package/resources/postcards.js +26 -0
  164. package/resources/postcards.js.map +1 -1
  165. package/resources/postcards.mjs +26 -0
  166. package/resources/postcards.mjs.map +1 -1
  167. package/resources/reports/exports.d.ts +36 -3
  168. package/resources/reports/exports.d.ts.map +1 -1
  169. package/resources/reports/exports.js +27 -0
  170. package/resources/reports/exports.js.map +1 -1
  171. package/resources/reports/exports.mjs +27 -0
  172. package/resources/reports/exports.mjs.map +1 -1
  173. package/resources/reports/reports.d.ts +76 -8
  174. package/resources/reports/reports.d.ts.map +1 -1
  175. package/resources/reports/reports.js +44 -0
  176. package/resources/reports/reports.js.map +1 -1
  177. package/resources/reports/reports.mjs +44 -0
  178. package/resources/reports/reports.mjs.map +1 -1
  179. package/resources/self-mailers.d.ts +99 -15
  180. package/resources/self-mailers.d.ts.map +1 -1
  181. package/resources/self-mailers.js +38 -0
  182. package/resources/self-mailers.js.map +1 -1
  183. package/resources/self-mailers.mjs +38 -0
  184. package/resources/self-mailers.mjs.map +1 -1
  185. package/resources/shared.d.ts +6 -2
  186. package/resources/shared.d.ts.map +1 -1
  187. package/resources/sub-organizations.d.ts +394 -0
  188. package/resources/sub-organizations.d.ts.map +1 -0
  189. package/resources/sub-organizations.js +63 -0
  190. package/resources/sub-organizations.js.map +1 -0
  191. package/resources/sub-organizations.mjs +58 -0
  192. package/resources/sub-organizations.mjs.map +1 -0
  193. package/resources/templates.d.ts +43 -3
  194. package/resources/templates.d.ts.map +1 -1
  195. package/resources/templates.js +26 -0
  196. package/resources/templates.js.map +1 -1
  197. package/resources/templates.mjs +26 -0
  198. package/resources/templates.mjs.map +1 -1
  199. package/src/core.ts +17 -8
  200. package/src/index.ts +112 -11
  201. package/src/internal/qs/LICENSE.md +13 -0
  202. package/src/internal/qs/README.md +3 -0
  203. package/src/internal/qs/formats.ts +9 -0
  204. package/src/internal/qs/index.ts +13 -0
  205. package/src/internal/qs/stringify.ts +388 -0
  206. package/src/internal/qs/types.ts +71 -0
  207. package/src/internal/qs/utils.ts +265 -0
  208. package/src/pagination.ts +6 -1
  209. package/src/resource.ts +1 -1
  210. package/src/resources/bank-accounts.ts +57 -4
  211. package/src/resources/boxes.ts +50 -15
  212. package/src/resources/campaigns.ts +7 -7
  213. package/src/resources/cheques/cheques.ts +35 -4
  214. package/src/resources/cheques/url.ts +5 -0
  215. package/src/resources/cheques/with-deposit-ready-pdf.ts +6 -0
  216. package/src/resources/contacts.ts +31 -3
  217. package/src/resources/index.ts +39 -0
  218. package/src/resources/letters.ts +38 -6
  219. package/src/resources/mailing-list-imports.ts +1076 -0
  220. package/src/resources/mailing-lists.ts +511 -0
  221. package/src/resources/order-profiles/cheques.ts +888 -0
  222. package/src/resources/order-profiles/index.ts +55 -0
  223. package/src/resources/order-profiles/letters.ts +956 -0
  224. package/src/resources/order-profiles/order-profiles.ts +133 -0
  225. package/src/resources/order-profiles/postcards.ts +694 -0
  226. package/src/resources/order-profiles/self-mailers.ts +707 -0
  227. package/src/resources/order-profiles.ts +3 -0
  228. package/src/resources/postcards.ts +42 -8
  229. package/src/resources/reports/exports.ts +30 -3
  230. package/src/resources/reports/reports.ts +60 -8
  231. package/src/resources/self-mailers.ts +80 -14
  232. package/src/resources/shared.ts +2 -2
  233. package/src/resources/sub-organizations.ts +518 -0
  234. package/src/resources/templates.ts +37 -3
  235. package/src/version.ts +1 -1
  236. package/version.d.ts +1 -1
  237. package/version.js +1 -1
  238. package/version.mjs +1 -1
@@ -0,0 +1,647 @@
1
+ import { APIResource } from "../../resource.js";
2
+ import * as Core from "../../core.js";
3
+ import { List, type ListParams } from "../../pagination.js";
4
+ export declare class Letters extends APIResource {
5
+ /**
6
+ * Creates a new Letter Profile. You must provide either a `template` ID or upload
7
+ * a `pdf` file for the content. If providing PDF files (`pdf` or
8
+ * `attachedPDFFile`), the request `Content-Type` must be `multipart/form-data`.
9
+ *
10
+ * @example
11
+ * ```ts
12
+ * const letter = await client.orderProfiles.letters.create({
13
+ * size: 'us_letter',
14
+ * color: true,
15
+ * description: 'Monthly Newsletter Profile',
16
+ * mailingClass: 'first_class',
17
+ * mergeVariables: { salutation: 'Valued Customer' },
18
+ * metadata: { campaign: 'Q1 Newsletter' },
19
+ * template: 'template_abc',
20
+ * });
21
+ * ```
22
+ */
23
+ create(params: LetterCreateParams, options?: Core.RequestOptions): Core.APIPromise<LetterCreateResponse>;
24
+ /**
25
+ * Retrieves the details of a specific Letter Profile by its ID.
26
+ *
27
+ * @example
28
+ * ```ts
29
+ * const letter = await client.orderProfiles.letters.retrieve(
30
+ * 'id',
31
+ * );
32
+ * ```
33
+ */
34
+ retrieve(id: string, query?: LetterRetrieveParams, options?: Core.RequestOptions): Core.APIPromise<LetterRetrieveResponse>;
35
+ retrieve(id: string, options?: Core.RequestOptions): Core.APIPromise<LetterRetrieveResponse>;
36
+ /**
37
+ * Updates specific fields of an existing Letter Profile. Only the fields provided
38
+ * in the request body will be updated. If providing PDF files (`pdf` or
39
+ * `attachedPDFFile`), the request `Content-Type` must be `multipart/form-data`.
40
+ *
41
+ * @example
42
+ * ```ts
43
+ * const letter = await client.orderProfiles.letters.update(
44
+ * 'id',
45
+ * { description: 'Updated Newsletter Profile' },
46
+ * );
47
+ * ```
48
+ */
49
+ update(id: string, params: LetterUpdateParams, options?: Core.RequestOptions): Core.APIPromise<LetterUpdateResponse>;
50
+ /**
51
+ * Retrieves a list of Letter Profiles. The profiles are returned sorted by
52
+ * creation date, with the most recent appearing first.
53
+ *
54
+ * @example
55
+ * ```ts
56
+ * // Automatically fetches more pages as needed.
57
+ * for await (const letterListResponse of client.orderProfiles.letters.list()) {
58
+ * // ...
59
+ * }
60
+ * ```
61
+ */
62
+ list(query?: LetterListParams, options?: Core.RequestOptions): Core.PagePromise<LetterListResponsesList, LetterListResponse>;
63
+ list(options?: Core.RequestOptions): Core.PagePromise<LetterListResponsesList, LetterListResponse>;
64
+ /**
65
+ * Deletes a Letter Profile. This action cannot be undone. Orders previously
66
+ * created using this profile are not affected.
67
+ *
68
+ * @example
69
+ * ```ts
70
+ * const letter = await client.orderProfiles.letters.delete(
71
+ * 'id',
72
+ * );
73
+ * ```
74
+ */
75
+ delete(id: string, options?: Core.RequestOptions): Core.APIPromise<LetterDeleteResponse>;
76
+ }
77
+ export declare class LetterListResponsesList extends List<LetterListResponse> {
78
+ }
79
+ export interface LetterCreateResponse {
80
+ /**
81
+ * Unique identifier for the order profile.
82
+ */
83
+ id: string;
84
+ /**
85
+ * Timestamp when the profile was created.
86
+ */
87
+ createdAt: string;
88
+ /**
89
+ * Indicates if the profile is associated with the live or test environment.
90
+ */
91
+ live: boolean;
92
+ /**
93
+ * Always `letter_profile`.
94
+ */
95
+ object: 'letter_profile';
96
+ /**
97
+ * Enum representing the supported letter sizes.
98
+ */
99
+ size: 'us_letter' | 'a4';
100
+ /**
101
+ * Timestamp when the profile was last updated.
102
+ */
103
+ updatedAt: string;
104
+ /**
105
+ * Enum representing the placement of the address on the letter.
106
+ */
107
+ addressPlacement?: 'top_first_page' | 'insert_blank_page';
108
+ /**
109
+ * Model representing an attached PDF.
110
+ */
111
+ attachedPDF?: LetterCreateResponse.AttachedPdf;
112
+ /**
113
+ * Specifies whether to print in color (true) or black and white (false).
114
+ */
115
+ color?: boolean;
116
+ /**
117
+ * An optional description for the profile. Set to `null` to remove during update.
118
+ */
119
+ description?: string | null;
120
+ /**
121
+ * Specifies whether to print on both sides of the paper.
122
+ */
123
+ doubleSided?: boolean;
124
+ /**
125
+ * ID of a custom envelope to use.
126
+ */
127
+ envelope?: string;
128
+ /**
129
+ * Mailing class.
130
+ */
131
+ mailingClass?: 'first_class' | 'standard_class' | 'express' | 'certified' | 'certified_return_receipt' | 'registered' | 'usps_first_class' | 'usps_standard_class' | 'usps_eddm' | 'usps_express_2_day' | 'usps_express_3_day' | 'usps_first_class_certified' | 'usps_first_class_certified_return_receipt' | 'usps_first_class_registered' | 'usps_express_3_day_signature_confirmation' | 'usps_express_3_day_certified' | 'usps_express_3_day_certified_return_receipt' | 'ca_post_lettermail' | 'ca_post_personalized' | 'ca_post_neighbourhood_mail' | 'ups_express_overnight' | 'ups_express_2_day' | 'ups_express_3_day' | 'royal_mail_first_class' | 'royal_mail_second_class' | 'au_post_second_class';
132
+ /**
133
+ * Default merge variables for orders created using this profile.
134
+ */
135
+ mergeVariables?: {
136
+ [key: string]: unknown;
137
+ } | null;
138
+ /**
139
+ * Optional key-value metadata.
140
+ */
141
+ metadata?: {
142
+ [key: string]: string;
143
+ } | null;
144
+ /**
145
+ * Specifies which page number should be perforated (if any).
146
+ */
147
+ perforatedPage?: 1;
148
+ /**
149
+ * ID of a template to use for the letter content. Cannot be used with `pdf`.
150
+ */
151
+ template?: string;
152
+ /**
153
+ * A temporary, signed URL to view the uploaded PDF, if any.
154
+ */
155
+ uploadedPDF?: string;
156
+ }
157
+ export declare namespace LetterCreateResponse {
158
+ /**
159
+ * Model representing an attached PDF.
160
+ */
161
+ interface AttachedPdf {
162
+ /**
163
+ * The file (multipart form upload) or URL pointing to a PDF for the attached PDF.
164
+ */
165
+ file: string;
166
+ /**
167
+ * Enum representing the placement of the attached PDF.
168
+ */
169
+ placement: 'before_template' | 'after_template';
170
+ }
171
+ }
172
+ export interface LetterRetrieveResponse {
173
+ /**
174
+ * Unique identifier for the order profile.
175
+ */
176
+ id: string;
177
+ /**
178
+ * Timestamp when the profile was created.
179
+ */
180
+ createdAt: string;
181
+ /**
182
+ * Indicates if the profile is associated with the live or test environment.
183
+ */
184
+ live: boolean;
185
+ /**
186
+ * Always `letter_profile`.
187
+ */
188
+ object: 'letter_profile';
189
+ /**
190
+ * Enum representing the supported letter sizes.
191
+ */
192
+ size: 'us_letter' | 'a4';
193
+ /**
194
+ * Timestamp when the profile was last updated.
195
+ */
196
+ updatedAt: string;
197
+ /**
198
+ * Enum representing the placement of the address on the letter.
199
+ */
200
+ addressPlacement?: 'top_first_page' | 'insert_blank_page';
201
+ /**
202
+ * Model representing an attached PDF.
203
+ */
204
+ attachedPDF?: LetterRetrieveResponse.AttachedPdf;
205
+ /**
206
+ * Specifies whether to print in color (true) or black and white (false).
207
+ */
208
+ color?: boolean;
209
+ /**
210
+ * An optional description for the profile. Set to `null` to remove during update.
211
+ */
212
+ description?: string | null;
213
+ /**
214
+ * Specifies whether to print on both sides of the paper.
215
+ */
216
+ doubleSided?: boolean;
217
+ /**
218
+ * ID of a custom envelope to use.
219
+ */
220
+ envelope?: string;
221
+ /**
222
+ * Mailing class.
223
+ */
224
+ mailingClass?: 'first_class' | 'standard_class' | 'express' | 'certified' | 'certified_return_receipt' | 'registered' | 'usps_first_class' | 'usps_standard_class' | 'usps_eddm' | 'usps_express_2_day' | 'usps_express_3_day' | 'usps_first_class_certified' | 'usps_first_class_certified_return_receipt' | 'usps_first_class_registered' | 'usps_express_3_day_signature_confirmation' | 'usps_express_3_day_certified' | 'usps_express_3_day_certified_return_receipt' | 'ca_post_lettermail' | 'ca_post_personalized' | 'ca_post_neighbourhood_mail' | 'ups_express_overnight' | 'ups_express_2_day' | 'ups_express_3_day' | 'royal_mail_first_class' | 'royal_mail_second_class' | 'au_post_second_class';
225
+ /**
226
+ * Default merge variables for orders created using this profile.
227
+ */
228
+ mergeVariables?: {
229
+ [key: string]: unknown;
230
+ } | null;
231
+ /**
232
+ * Optional key-value metadata.
233
+ */
234
+ metadata?: {
235
+ [key: string]: string;
236
+ } | null;
237
+ /**
238
+ * Specifies which page number should be perforated (if any).
239
+ */
240
+ perforatedPage?: 1;
241
+ /**
242
+ * ID of a template to use for the letter content. Cannot be used with `pdf`.
243
+ */
244
+ template?: string;
245
+ /**
246
+ * A temporary, signed URL to view the uploaded PDF, if any.
247
+ */
248
+ uploadedPDF?: string;
249
+ }
250
+ export declare namespace LetterRetrieveResponse {
251
+ /**
252
+ * Model representing an attached PDF.
253
+ */
254
+ interface AttachedPdf {
255
+ /**
256
+ * The file (multipart form upload) or URL pointing to a PDF for the attached PDF.
257
+ */
258
+ file: string;
259
+ /**
260
+ * Enum representing the placement of the attached PDF.
261
+ */
262
+ placement: 'before_template' | 'after_template';
263
+ }
264
+ }
265
+ export interface LetterUpdateResponse {
266
+ /**
267
+ * Unique identifier for the order profile.
268
+ */
269
+ id: string;
270
+ /**
271
+ * Timestamp when the profile was created.
272
+ */
273
+ createdAt: string;
274
+ /**
275
+ * Indicates if the profile is associated with the live or test environment.
276
+ */
277
+ live: boolean;
278
+ /**
279
+ * Always `letter_profile`.
280
+ */
281
+ object: 'letter_profile';
282
+ /**
283
+ * Enum representing the supported letter sizes.
284
+ */
285
+ size: 'us_letter' | 'a4';
286
+ /**
287
+ * Timestamp when the profile was last updated.
288
+ */
289
+ updatedAt: string;
290
+ /**
291
+ * Enum representing the placement of the address on the letter.
292
+ */
293
+ addressPlacement?: 'top_first_page' | 'insert_blank_page';
294
+ /**
295
+ * Model representing an attached PDF.
296
+ */
297
+ attachedPDF?: LetterUpdateResponse.AttachedPdf;
298
+ /**
299
+ * Specifies whether to print in color (true) or black and white (false).
300
+ */
301
+ color?: boolean;
302
+ /**
303
+ * An optional description for the profile. Set to `null` to remove during update.
304
+ */
305
+ description?: string | null;
306
+ /**
307
+ * Specifies whether to print on both sides of the paper.
308
+ */
309
+ doubleSided?: boolean;
310
+ /**
311
+ * ID of a custom envelope to use.
312
+ */
313
+ envelope?: string;
314
+ /**
315
+ * Mailing class.
316
+ */
317
+ mailingClass?: 'first_class' | 'standard_class' | 'express' | 'certified' | 'certified_return_receipt' | 'registered' | 'usps_first_class' | 'usps_standard_class' | 'usps_eddm' | 'usps_express_2_day' | 'usps_express_3_day' | 'usps_first_class_certified' | 'usps_first_class_certified_return_receipt' | 'usps_first_class_registered' | 'usps_express_3_day_signature_confirmation' | 'usps_express_3_day_certified' | 'usps_express_3_day_certified_return_receipt' | 'ca_post_lettermail' | 'ca_post_personalized' | 'ca_post_neighbourhood_mail' | 'ups_express_overnight' | 'ups_express_2_day' | 'ups_express_3_day' | 'royal_mail_first_class' | 'royal_mail_second_class' | 'au_post_second_class';
318
+ /**
319
+ * Default merge variables for orders created using this profile.
320
+ */
321
+ mergeVariables?: {
322
+ [key: string]: unknown;
323
+ } | null;
324
+ /**
325
+ * Optional key-value metadata.
326
+ */
327
+ metadata?: {
328
+ [key: string]: string;
329
+ } | null;
330
+ /**
331
+ * Specifies which page number should be perforated (if any).
332
+ */
333
+ perforatedPage?: 1;
334
+ /**
335
+ * ID of a template to use for the letter content. Cannot be used with `pdf`.
336
+ */
337
+ template?: string;
338
+ /**
339
+ * A temporary, signed URL to view the uploaded PDF, if any.
340
+ */
341
+ uploadedPDF?: string;
342
+ }
343
+ export declare namespace LetterUpdateResponse {
344
+ /**
345
+ * Model representing an attached PDF.
346
+ */
347
+ interface AttachedPdf {
348
+ /**
349
+ * The file (multipart form upload) or URL pointing to a PDF for the attached PDF.
350
+ */
351
+ file: string;
352
+ /**
353
+ * Enum representing the placement of the attached PDF.
354
+ */
355
+ placement: 'before_template' | 'after_template';
356
+ }
357
+ }
358
+ export interface LetterListResponse {
359
+ /**
360
+ * Unique identifier for the order profile.
361
+ */
362
+ id: string;
363
+ /**
364
+ * Timestamp when the profile was created.
365
+ */
366
+ createdAt: string;
367
+ /**
368
+ * Indicates if the profile is associated with the live or test environment.
369
+ */
370
+ live: boolean;
371
+ /**
372
+ * Always `letter_profile`.
373
+ */
374
+ object: 'letter_profile';
375
+ /**
376
+ * Enum representing the supported letter sizes.
377
+ */
378
+ size: 'us_letter' | 'a4';
379
+ /**
380
+ * Timestamp when the profile was last updated.
381
+ */
382
+ updatedAt: string;
383
+ /**
384
+ * Enum representing the placement of the address on the letter.
385
+ */
386
+ addressPlacement?: 'top_first_page' | 'insert_blank_page';
387
+ /**
388
+ * Model representing an attached PDF.
389
+ */
390
+ attachedPDF?: LetterListResponse.AttachedPdf;
391
+ /**
392
+ * Specifies whether to print in color (true) or black and white (false).
393
+ */
394
+ color?: boolean;
395
+ /**
396
+ * An optional description for the profile. Set to `null` to remove during update.
397
+ */
398
+ description?: string | null;
399
+ /**
400
+ * Specifies whether to print on both sides of the paper.
401
+ */
402
+ doubleSided?: boolean;
403
+ /**
404
+ * ID of a custom envelope to use.
405
+ */
406
+ envelope?: string;
407
+ /**
408
+ * Mailing class.
409
+ */
410
+ mailingClass?: 'first_class' | 'standard_class' | 'express' | 'certified' | 'certified_return_receipt' | 'registered' | 'usps_first_class' | 'usps_standard_class' | 'usps_eddm' | 'usps_express_2_day' | 'usps_express_3_day' | 'usps_first_class_certified' | 'usps_first_class_certified_return_receipt' | 'usps_first_class_registered' | 'usps_express_3_day_signature_confirmation' | 'usps_express_3_day_certified' | 'usps_express_3_day_certified_return_receipt' | 'ca_post_lettermail' | 'ca_post_personalized' | 'ca_post_neighbourhood_mail' | 'ups_express_overnight' | 'ups_express_2_day' | 'ups_express_3_day' | 'royal_mail_first_class' | 'royal_mail_second_class' | 'au_post_second_class';
411
+ /**
412
+ * Default merge variables for orders created using this profile.
413
+ */
414
+ mergeVariables?: {
415
+ [key: string]: unknown;
416
+ } | null;
417
+ /**
418
+ * Optional key-value metadata.
419
+ */
420
+ metadata?: {
421
+ [key: string]: string;
422
+ } | null;
423
+ /**
424
+ * Specifies which page number should be perforated (if any).
425
+ */
426
+ perforatedPage?: 1;
427
+ /**
428
+ * ID of a template to use for the letter content. Cannot be used with `pdf`.
429
+ */
430
+ template?: string;
431
+ /**
432
+ * A temporary, signed URL to view the uploaded PDF, if any.
433
+ */
434
+ uploadedPDF?: string;
435
+ }
436
+ export declare namespace LetterListResponse {
437
+ /**
438
+ * Model representing an attached PDF.
439
+ */
440
+ interface AttachedPdf {
441
+ /**
442
+ * The file (multipart form upload) or URL pointing to a PDF for the attached PDF.
443
+ */
444
+ file: string;
445
+ /**
446
+ * Enum representing the placement of the attached PDF.
447
+ */
448
+ placement: 'before_template' | 'after_template';
449
+ }
450
+ }
451
+ export interface LetterDeleteResponse {
452
+ /**
453
+ * Unique identifier for the order profile.
454
+ */
455
+ id: string;
456
+ deleted: true;
457
+ /**
458
+ * Always `letter_profile`.
459
+ */
460
+ object: 'letter_profile';
461
+ }
462
+ export interface LetterCreateParams {
463
+ /**
464
+ * Body param: Enum representing the supported letter sizes.
465
+ */
466
+ size: 'us_letter' | 'a4';
467
+ /**
468
+ * Query param: Optional list of related resources to expand in the response.
469
+ */
470
+ expand?: Array<string>;
471
+ /**
472
+ * Body param: Enum representing the placement of the address on the letter.
473
+ */
474
+ addressPlacement?: 'top_first_page' | 'insert_blank_page';
475
+ /**
476
+ * Body param: Model representing an attached PDF.
477
+ */
478
+ attachedPDF?: LetterCreateParams.AttachedPdf;
479
+ /**
480
+ * Body param: Specifies whether to print in color (true) or black and white
481
+ * (false).
482
+ */
483
+ color?: boolean;
484
+ /**
485
+ * Body param: An optional description for the profile. Set to `null` to remove
486
+ * during update.
487
+ */
488
+ description?: string | null;
489
+ /**
490
+ * Body param: Specifies whether to print on both sides of the paper.
491
+ */
492
+ doubleSided?: boolean;
493
+ /**
494
+ * Body param: ID of a custom envelope to use.
495
+ */
496
+ envelope?: string;
497
+ /**
498
+ * Body param: Mailing class.
499
+ */
500
+ mailingClass?: 'first_class' | 'standard_class' | 'express' | 'certified' | 'certified_return_receipt' | 'registered' | 'usps_first_class' | 'usps_standard_class' | 'usps_eddm' | 'usps_express_2_day' | 'usps_express_3_day' | 'usps_first_class_certified' | 'usps_first_class_certified_return_receipt' | 'usps_first_class_registered' | 'usps_express_3_day_signature_confirmation' | 'usps_express_3_day_certified' | 'usps_express_3_day_certified_return_receipt' | 'ca_post_lettermail' | 'ca_post_personalized' | 'ca_post_neighbourhood_mail' | 'ups_express_overnight' | 'ups_express_2_day' | 'ups_express_3_day' | 'royal_mail_first_class' | 'royal_mail_second_class' | 'au_post_second_class';
501
+ /**
502
+ * Body param: Default merge variables for orders created using this profile.
503
+ */
504
+ mergeVariables?: {
505
+ [key: string]: unknown;
506
+ } | null;
507
+ /**
508
+ * Body param: Optional key-value metadata.
509
+ */
510
+ metadata?: {
511
+ [key: string]: string;
512
+ } | null;
513
+ /**
514
+ * Body param: A PDF file containing the letter content. Cannot be used with
515
+ * `template`.
516
+ */
517
+ pdf?: string;
518
+ /**
519
+ * Body param: Specifies which page number should be perforated (if any).
520
+ */
521
+ perforatedPage?: 1;
522
+ /**
523
+ * Body param: ID of a return envelope to include.
524
+ */
525
+ returnEnvelope?: string;
526
+ /**
527
+ * Body param: ID of a template to use for the letter content. Cannot be used with
528
+ * `pdf`.
529
+ */
530
+ template?: string;
531
+ }
532
+ export declare namespace LetterCreateParams {
533
+ /**
534
+ * Model representing an attached PDF.
535
+ */
536
+ interface AttachedPdf {
537
+ /**
538
+ * The file (multipart form upload) or URL pointing to a PDF for the attached PDF.
539
+ */
540
+ file: string;
541
+ /**
542
+ * Enum representing the placement of the attached PDF.
543
+ */
544
+ placement: 'before_template' | 'after_template';
545
+ }
546
+ }
547
+ export interface LetterRetrieveParams {
548
+ /**
549
+ * Optional list of related resources to expand in the response.
550
+ */
551
+ expand?: Array<string>;
552
+ }
553
+ export interface LetterUpdateParams {
554
+ /**
555
+ * Query param: Optional list of related resources to expand in the response.
556
+ */
557
+ expand?: Array<string>;
558
+ /**
559
+ * Body param: Enum representing the placement of the address on the letter.
560
+ */
561
+ addressPlacement?: 'top_first_page' | 'insert_blank_page';
562
+ /**
563
+ * Body param: Model representing an attached PDF.
564
+ */
565
+ attachedPDF?: LetterUpdateParams.AttachedPdf;
566
+ /**
567
+ * Body param: Specifies whether to print in color (true) or black and white
568
+ * (false).
569
+ */
570
+ color?: boolean;
571
+ /**
572
+ * Body param: An optional description for the profile. Set to `null` to remove
573
+ * during update.
574
+ */
575
+ description?: string | null;
576
+ /**
577
+ * Body param: Specifies whether to print on both sides of the paper.
578
+ */
579
+ doubleSided?: boolean;
580
+ /**
581
+ * Body param: ID of a custom envelope to use.
582
+ */
583
+ envelope?: string;
584
+ /**
585
+ * Body param: Mailing class.
586
+ */
587
+ mailingClass?: 'first_class' | 'standard_class' | 'express' | 'certified' | 'certified_return_receipt' | 'registered' | 'usps_first_class' | 'usps_standard_class' | 'usps_eddm' | 'usps_express_2_day' | 'usps_express_3_day' | 'usps_first_class_certified' | 'usps_first_class_certified_return_receipt' | 'usps_first_class_registered' | 'usps_express_3_day_signature_confirmation' | 'usps_express_3_day_certified' | 'usps_express_3_day_certified_return_receipt' | 'ca_post_lettermail' | 'ca_post_personalized' | 'ca_post_neighbourhood_mail' | 'ups_express_overnight' | 'ups_express_2_day' | 'ups_express_3_day' | 'royal_mail_first_class' | 'royal_mail_second_class' | 'au_post_second_class';
588
+ /**
589
+ * Body param: Default merge variables for orders created using this profile.
590
+ */
591
+ mergeVariables?: {
592
+ [key: string]: unknown;
593
+ } | null;
594
+ /**
595
+ * Body param: Optional key-value metadata.
596
+ */
597
+ metadata?: {
598
+ [key: string]: string;
599
+ } | null;
600
+ /**
601
+ * Body param: A PDF file containing the letter content. Cannot be used with
602
+ * `template`.
603
+ */
604
+ pdf?: string;
605
+ /**
606
+ * Body param: Specifies which page number should be perforated (if any).
607
+ */
608
+ perforatedPage?: 1;
609
+ /**
610
+ * Body param: ID of a return envelope to include.
611
+ */
612
+ returnEnvelope?: string;
613
+ /**
614
+ * Body param: ID of a template to use for the letter content. Cannot be used with
615
+ * `pdf`.
616
+ */
617
+ template?: string;
618
+ }
619
+ export declare namespace LetterUpdateParams {
620
+ /**
621
+ * Model representing an attached PDF.
622
+ */
623
+ interface AttachedPdf {
624
+ /**
625
+ * The file (multipart form upload) or URL pointing to a PDF for the attached PDF.
626
+ */
627
+ file: string;
628
+ /**
629
+ * Enum representing the placement of the attached PDF.
630
+ */
631
+ placement: 'before_template' | 'after_template';
632
+ }
633
+ }
634
+ export interface LetterListParams extends ListParams {
635
+ /**
636
+ * You can supply any string to help narrow down the list of resources. For
637
+ * example, if you pass `"New York"` (quoted), it will return resources that have
638
+ * that string present somewhere in their response. Alternatively, you can supply a
639
+ * structured search query. See the documentation on `StructuredSearchQuery` for
640
+ * more details.
641
+ */
642
+ search?: string;
643
+ }
644
+ export declare namespace Letters {
645
+ export { type LetterCreateResponse as LetterCreateResponse, type LetterRetrieveResponse as LetterRetrieveResponse, type LetterUpdateResponse as LetterUpdateResponse, type LetterListResponse as LetterListResponse, type LetterDeleteResponse as LetterDeleteResponse, LetterListResponsesList as LetterListResponsesList, type LetterCreateParams as LetterCreateParams, type LetterRetrieveParams as LetterRetrieveParams, type LetterUpdateParams as LetterUpdateParams, type LetterListParams as LetterListParams, };
646
+ }
647
+ //# sourceMappingURL=letters.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"letters.d.ts","sourceRoot":"","sources":["../../src/resources/order-profiles/letters.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAE7C,OAAO,KAAK,IAAI,MAAM,YAAY,CAAC;AACnC,OAAO,EAAE,IAAI,EAAE,KAAK,UAAU,EAAE,MAAM,kBAAkB,CAAC;AAEzD,qBAAa,OAAQ,SAAQ,WAAW;IACtC;;;;;;;;;;;;;;;;;OAiBG;IACH,MAAM,CAAC,MAAM,EAAE,kBAAkB,EAAE,OAAO,CAAC,EAAE,IAAI,CAAC,cAAc,GAAG,IAAI,CAAC,UAAU,CAAC,oBAAoB,CAAC;IAKxG;;;;;;;;;OASG;IACH,QAAQ,CACN,EAAE,EAAE,MAAM,EACV,KAAK,CAAC,EAAE,oBAAoB,EAC5B,OAAO,CAAC,EAAE,IAAI,CAAC,cAAc,GAC5B,IAAI,CAAC,UAAU,CAAC,sBAAsB,CAAC;IAC1C,QAAQ,CAAC,EAAE,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,IAAI,CAAC,cAAc,GAAG,IAAI,CAAC,UAAU,CAAC,sBAAsB,CAAC;IAY5F;;;;;;;;;;;;OAYG;IACH,MAAM,CACJ,EAAE,EAAE,MAAM,EACV,MAAM,EAAE,kBAAkB,EAC1B,OAAO,CAAC,EAAE,IAAI,CAAC,cAAc,GAC5B,IAAI,CAAC,UAAU,CAAC,oBAAoB,CAAC;IAKxC;;;;;;;;;;;OAWG;IACH,IAAI,CACF,KAAK,CAAC,EAAE,gBAAgB,EACxB,OAAO,CAAC,EAAE,IAAI,CAAC,cAAc,GAC5B,IAAI,CAAC,WAAW,CAAC,uBAAuB,EAAE,kBAAkB,CAAC;IAChE,IAAI,CAAC,OAAO,CAAC,EAAE,IAAI,CAAC,cAA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