@surgeapi/node 0.26.0 → 0.27.1

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 (77) hide show
  1. package/CHANGELOG.md +44 -0
  2. package/client.d.mts +16 -16
  3. package/client.d.mts.map +1 -1
  4. package/client.d.ts +16 -16
  5. package/client.d.ts.map +1 -1
  6. package/client.js.map +1 -1
  7. package/client.mjs +2 -2
  8. package/client.mjs.map +1 -1
  9. package/internal/to-file.d.mts +1 -1
  10. package/internal/to-file.d.ts +1 -1
  11. package/internal/to-file.js +1 -1
  12. package/internal/to-file.mjs +1 -1
  13. package/package.json +1 -1
  14. package/resources/accounts.d.mts +306 -191
  15. package/resources/accounts.d.mts.map +1 -1
  16. package/resources/accounts.d.ts +306 -191
  17. package/resources/accounts.d.ts.map +1 -1
  18. package/resources/blasts.d.mts +11 -32
  19. package/resources/blasts.d.mts.map +1 -1
  20. package/resources/blasts.d.ts +11 -32
  21. package/resources/blasts.d.ts.map +1 -1
  22. package/resources/blasts.js.map +1 -1
  23. package/resources/blasts.mjs.map +1 -1
  24. package/resources/campaigns.d.mts +108 -201
  25. package/resources/campaigns.d.mts.map +1 -1
  26. package/resources/campaigns.d.ts +108 -201
  27. package/resources/campaigns.d.ts.map +1 -1
  28. package/resources/contacts.d.mts +1 -28
  29. package/resources/contacts.d.mts.map +1 -1
  30. package/resources/contacts.d.ts +1 -28
  31. package/resources/contacts.d.ts.map +1 -1
  32. package/resources/index.d.mts +8 -8
  33. package/resources/index.d.mts.map +1 -1
  34. package/resources/index.d.ts +8 -8
  35. package/resources/index.d.ts.map +1 -1
  36. package/resources/index.js.map +1 -1
  37. package/resources/index.mjs +2 -2
  38. package/resources/index.mjs.map +1 -1
  39. package/resources/messages.d.mts +49 -81
  40. package/resources/messages.d.mts.map +1 -1
  41. package/resources/messages.d.ts +49 -81
  42. package/resources/messages.d.ts.map +1 -1
  43. package/resources/messages.js.map +1 -1
  44. package/resources/messages.mjs.map +1 -1
  45. package/resources/phone-numbers.d.mts +0 -30
  46. package/resources/phone-numbers.d.mts.map +1 -1
  47. package/resources/phone-numbers.d.ts +0 -30
  48. package/resources/phone-numbers.d.ts.map +1 -1
  49. package/resources/users.d.mts +1 -33
  50. package/resources/users.d.mts.map +1 -1
  51. package/resources/users.d.ts +1 -33
  52. package/resources/users.d.ts.map +1 -1
  53. package/resources/verifications.d.mts +1 -19
  54. package/resources/verifications.d.mts.map +1 -1
  55. package/resources/verifications.d.ts +1 -19
  56. package/resources/verifications.d.ts.map +1 -1
  57. package/resources/webhooks.d.mts +60 -41
  58. package/resources/webhooks.d.mts.map +1 -1
  59. package/resources/webhooks.d.ts +60 -41
  60. package/resources/webhooks.d.ts.map +1 -1
  61. package/src/client.ts +12 -43
  62. package/src/internal/to-file.ts +1 -1
  63. package/src/resources/accounts.ts +489 -284
  64. package/src/resources/blasts.ts +11 -42
  65. package/src/resources/campaigns.ts +121 -234
  66. package/src/resources/contacts.ts +0 -31
  67. package/src/resources/index.ts +8 -23
  68. package/src/resources/messages.ts +54 -99
  69. package/src/resources/phone-numbers.ts +0 -34
  70. package/src/resources/users.ts +0 -37
  71. package/src/resources/verifications.ts +1 -22
  72. package/src/resources/webhooks.ts +72 -39
  73. package/src/version.ts +1 -1
  74. package/version.d.mts +1 -1
  75. package/version.d.ts +1 -1
  76. package/version.js +1 -1
  77. package/version.mjs +1 -1
@@ -67,34 +67,6 @@ export interface Account {
67
67
  */
68
68
  time_zone: string | null;
69
69
  }
70
- /**
71
- * Parameters for creating a new account.
72
- */
73
- export interface AccountParams {
74
- /**
75
- * The name of the account that will be visible for your internal organizational
76
- * purposes. This will also be the default public-facing brand name unless you also
77
- * set a `brand_name`, but otherwise the account name will never be displayed
78
- * anywhere outside of Surge HQ, and may include your ID for the account or
79
- * anything else that may help you.
80
- */
81
- name: string;
82
- /**
83
- * The name by which the people this account communicates with know it. If not
84
- * provided, this will match the name field.
85
- */
86
- brand_name?: string | null;
87
- /**
88
- * Parameters describing the legal entity on whose behalf the account will be
89
- * operated.
90
- */
91
- organization?: OrganizationParams;
92
- /**
93
- * This is the time zone in which the account is headquartered. This time zone may
94
- * be used for compliance with TCPA restrictions on when messages may be sent.
95
- */
96
- time_zone?: string;
97
- }
98
70
  /**
99
71
  * Response containing account status information
100
72
  */
@@ -144,33 +116,6 @@ export declare namespace AccountStatus {
144
116
  }
145
117
  }
146
118
  }
147
- /**
148
- * Parameters for updating an existing account.
149
- */
150
- export interface AccountUpdateParams {
151
- /**
152
- * The name by which the people this account communicates with know it. If not
153
- * provided, this will match the name field.
154
- */
155
- brand_name?: string;
156
- /**
157
- * The name of the account that will be visible for your internal organizational
158
- * purposes. This will also be the default public-facing brand name unless you also
159
- * set a `brand_name`, but otherwise the account name will never be displayed
160
- * anywhere outside of Surge HQ, and may include your ID for the account or
161
- * anything else that may help you.
162
- */
163
- name?: string;
164
- /**
165
- * Parameters describing the legal entity on whose behalf the account will be
166
- * operated.
167
- */
168
- organization?: OrganizationParams;
169
- /**
170
- * The time zone for the account
171
- */
172
- time_zone?: string | null;
173
- }
174
119
  /**
175
120
  * The legal entity on whose behalf the account will be operated.
176
121
  */
@@ -319,180 +264,189 @@ export declare namespace Organization {
319
264
  title_other: string | null;
320
265
  }
321
266
  }
322
- /**
323
- * Parameters describing the legal entity on whose behalf the account will be
324
- * operated.
325
- */
326
- export interface OrganizationParams {
327
- /**
328
- * The address of the organization's headquarters.
329
- */
330
- address?: OrganizationParams.Address;
331
- /**
332
- * An object representing an individual who can be contacted if the carriers have
333
- * any questions about the business.
334
- */
335
- contact?: OrganizationParams.Contact | null;
336
- /**
337
- * The two character ISO 3166 country code for the country in which the
338
- * organization is headquartered.
339
- */
340
- country?: string | null;
341
- /**
342
- * For publicly traded companies, an email for a representative of the company to
343
- * whom a verification email will be sent. This must be an email on the same domain
344
- * as the company's website (e.g. with a website domain of
345
- * `https://dtprecisionauto.com`, the email must use the same
346
- * `@dtprecisionauto.com`)
347
- */
348
- email?: string | null;
349
- /**
350
- * The value of the identifier whose type is specified in the identifier_type
351
- * field. Typically this will be an EIN, and can be formatted with or without the
352
- * hyphen.
353
- */
354
- identifier?: string | null;
355
- /**
356
- * The type of identifier being provided for the organization. Support for more
357
- * values will be added in the future.
358
- */
359
- identifier_type?: 'ein' | null;
360
- /**
361
- * The industry in which the organization operates.
362
- */
363
- industry?: 'agriculture' | 'automotive' | 'banking' | 'construction' | 'consumer' | 'education' | 'electronics' | 'energy' | 'engineering' | 'fast_moving_consumer_goods' | 'financial' | 'fintech' | 'food_and_beverage' | 'government' | 'healthcare' | 'hospitality' | 'insurance' | 'jewelry' | 'legal' | 'manufacturing' | 'media' | 'not_for_profit' | 'oil_and_gas' | 'online' | 'professional_services' | 'raw_materials' | 'real_estate' | 'religion' | 'retail' | 'technology' | 'telecommunications' | 'transportation' | 'travel' | null;
364
- /**
365
- * For sole proprietors, this must be a valid US mobile phone number to which a
366
- * verification text message will be sent. (E.164 format)
367
- */
368
- mobile_number?: string | null;
369
- /**
370
- * An array of regions in which the organization operates.
371
- */
372
- regions_of_operation?: Array<'africa' | 'asia' | 'australia' | 'europe' | 'latin_america' | 'usa_and_canada'> | null;
373
- /**
374
- * The legal name of the organization as registered with the IRS or other relevant
375
- * authorities. For some applications, this will be matched against government
376
- * records and should include all punctuation and everything else as well.
377
- */
378
- registered_name?: string | null;
267
+ export interface AccountCreateParams {
379
268
  /**
380
- * For publicly traded companies, this is the exchange on which the company's stock
381
- * is traded.
269
+ * The name of the account that will be visible for your internal organizational
270
+ * purposes. This will also be the default public-facing brand name unless you also
271
+ * set a `brand_name`, but otherwise the account name will never be displayed
272
+ * anywhere outside of Surge HQ, and may include your ID for the account or
273
+ * anything else that may help you.
382
274
  */
383
- stock_exchange?: 'amex' | 'amx' | 'asx' | 'b3' | 'bme' | 'bse' | 'fra' | 'icex' | 'jpx' | 'jse' | 'krx' | 'lon' | 'nasdaq' | 'none' | 'nyse' | 'nse' | 'omx' | 'other' | 'sehk' | 'sgx' | 'sse' | 'sto' | 'swx' | 'szse' | 'tsx' | 'twse' | 'vse' | null;
275
+ name: string;
384
276
  /**
385
- * For publicly traded companies, the ticker symbol for the company's stock
277
+ * The name by which the people this account communicates with know it. If not
278
+ * provided, this will match the name field.
386
279
  */
387
- stock_symbol?: string | null;
280
+ brand_name?: string | null;
388
281
  /**
389
- * The type of organization
282
+ * Parameters describing the legal entity on whose behalf the account will be
283
+ * operated.
390
284
  */
391
- type?: 'co_op' | 'government' | 'llc' | 'non_profit' | 'partnership' | 'private_corporation' | 'public_corporation' | 'sole_proprietor' | null;
285
+ organization?: AccountCreateParams.Organization;
392
286
  /**
393
- * The URL of the website for this organization. The website should be publicly
394
- * available, clearly reflect the organization's purpose, and the URL should start
395
- * with `https://`
287
+ * This is the time zone in which the account is headquartered. This time zone may
288
+ * be used for compliance with TCPA restrictions on when messages may be sent.
396
289
  */
397
- website?: string | null;
290
+ time_zone?: string;
398
291
  }
399
- export declare namespace OrganizationParams {
292
+ export declare namespace AccountCreateParams {
400
293
  /**
401
- * The address of the organization's headquarters.
294
+ * Parameters describing the legal entity on whose behalf the account will be
295
+ * operated.
402
296
  */
403
- interface Address {
297
+ interface Organization {
404
298
  /**
405
- * The two character ISO 3166 country code. If none is provided, the organization's
406
- * country code will be used.
299
+ * The address of the organization's headquarters.
300
+ */
301
+ address?: Organization.Address;
302
+ /**
303
+ * An object representing an individual who can be contacted if Surge or our
304
+ * carrier partners have any questions about the business. If you are registering
305
+ * on behalf of your customer, this must be a contact from your customer's company
306
+ * rather than your own. The individual will likely never be contacted unless there
307
+ * are issues with spam.
308
+ */
309
+ contact?: Organization.Contact | null;
310
+ /**
311
+ * The two character ISO 3166 country code for the country in which the
312
+ * organization is headquartered.
407
313
  */
408
314
  country?: string | null;
409
315
  /**
410
- * The first line of the address, typically the number and street name
316
+ * For publicly traded companies, an email for a representative of the company to
317
+ * whom a verification email will be sent. This must be an email on the same domain
318
+ * as the company's website (e.g. with a website domain of
319
+ * `https://dtprecisionauto.com`, the email must use the same
320
+ * `@dtprecisionauto.com`)
411
321
  */
412
- line1?: string | null;
322
+ email?: string | null;
413
323
  /**
414
- * The second line of the address if needed, typically an apartment or suite number
324
+ * The value of the identifier whose type is specified in the identifier_type
325
+ * field. Typically this will be an EIN, and can be formatted with or without the
326
+ * hyphen.
415
327
  */
416
- line2?: string | null;
328
+ identifier?: string | null;
417
329
  /**
418
- * The city or locality
330
+ * The type of identifier being provided for the organization. Support for more
331
+ * values will be added in the future.
419
332
  */
420
- locality?: string | null;
333
+ identifier_type?: 'ein' | null;
421
334
  /**
422
- * The name to which any mail should be addressed. If none is provided, this will
423
- * default to the organization's registered_name
335
+ * The industry in which the organization operates.
424
336
  */
425
- name?: string | null;
337
+ industry?: 'agriculture' | 'automotive' | 'banking' | 'construction' | 'consumer' | 'education' | 'electronics' | 'energy' | 'engineering' | 'fast_moving_consumer_goods' | 'financial' | 'fintech' | 'food_and_beverage' | 'government' | 'healthcare' | 'hospitality' | 'insurance' | 'jewelry' | 'legal' | 'manufacturing' | 'media' | 'not_for_profit' | 'oil_and_gas' | 'online' | 'professional_services' | 'raw_materials' | 'real_estate' | 'religion' | 'retail' | 'technology' | 'telecommunications' | 'transportation' | 'travel' | null;
426
338
  /**
427
- * The postal code
339
+ * For sole proprietors, this must be a valid US mobile phone number to which a
340
+ * verification text message will be sent. (E.164 format)
428
341
  */
429
- postal_code?: string | null;
342
+ mobile_number?: string | null;
430
343
  /**
431
- * The state or region
344
+ * An array of regions in which the organization operates.
432
345
  */
433
- region?: string | null;
434
- }
435
- /**
436
- * An object representing an individual who can be contacted if the carriers have
437
- * any questions about the business.
438
- */
439
- interface Contact {
346
+ regions_of_operation?: Array<'africa' | 'asia' | 'australia' | 'europe' | 'latin_america' | 'usa_and_canada'> | null;
440
347
  /**
441
- * An email address at which the individual can be reached. Typically an email
442
- * using the same domain name as the website URL will be preferred (e.g. with a
443
- * website domain of `https://dtprecisionauto.com`, an email like
444
- * `dom@dtprecisionauto.com` will be preferred over one like
445
- * `dom@anothergarage.com` or `dom.toretto@gmail.com`)
348
+ * The legal name of the organization as registered with the IRS or other relevant
349
+ * authorities. For some applications, this will be matched against government
350
+ * records and should include all punctuation and everything else as well.
446
351
  */
447
- email?: string | null;
352
+ registered_name?: string | null;
448
353
  /**
449
- * The first name (or given name) of the individual
354
+ * For publicly traded companies, this is the exchange on which the company's stock
355
+ * is traded.
450
356
  */
451
- first_name?: string | null;
357
+ stock_exchange?: 'amex' | 'amx' | 'asx' | 'b3' | 'bme' | 'bse' | 'fra' | 'icex' | 'jpx' | 'jse' | 'krx' | 'lon' | 'nasdaq' | 'none' | 'nyse' | 'nse' | 'omx' | 'other' | 'sehk' | 'sgx' | 'sse' | 'sto' | 'swx' | 'szse' | 'tsx' | 'twse' | 'vse' | null;
452
358
  /**
453
- * The last name (or family name) of the individual
359
+ * For publicly traded companies, the ticker symbol for the company's stock
454
360
  */
455
- last_name?: string | null;
361
+ stock_symbol?: string | null;
456
362
  /**
457
- * A phone number at which the individual can be reached (E.164 format)
363
+ * The type of organization
458
364
  */
459
- phone_number?: string | null;
365
+ type?: 'co_op' | 'government' | 'llc' | 'non_profit' | 'partnership' | 'private_corporation' | 'public_corporation' | 'sole_proprietor' | null;
460
366
  /**
461
- * The job title of the individual.
367
+ * The URL of the website for this organization. The website should be publicly
368
+ * available, clearly reflect the organization's purpose, and the URL should start
369
+ * with `https://`
462
370
  */
463
- title?: 'ceo' | 'cfo' | 'director' | 'gm' | 'vp' | 'general_counsel' | 'other' | null;
371
+ website?: string | null;
372
+ }
373
+ namespace Organization {
464
374
  /**
465
- * If `other` is provided for the `title` field, this field should be used to
466
- * provide the title of the individual
375
+ * The address of the organization's headquarters.
467
376
  */
468
- title_other?: string | null;
377
+ interface Address {
378
+ /**
379
+ * The two character ISO 3166 country code. If none is provided, the organization's
380
+ * country code will be used.
381
+ */
382
+ country?: string | null;
383
+ /**
384
+ * The first line of the address, typically the number and street name
385
+ */
386
+ line1?: string | null;
387
+ /**
388
+ * The second line of the address if needed, typically an apartment or suite number
389
+ */
390
+ line2?: string | null;
391
+ /**
392
+ * The city or locality
393
+ */
394
+ locality?: string | null;
395
+ /**
396
+ * The name to which any mail should be addressed. If none is provided, this will
397
+ * default to the organization's registered_name
398
+ */
399
+ name?: string | null;
400
+ /**
401
+ * The postal code
402
+ */
403
+ postal_code?: string | null;
404
+ /**
405
+ * The state or region
406
+ */
407
+ region?: string | null;
408
+ }
409
+ /**
410
+ * An object representing an individual who can be contacted if Surge or our
411
+ * carrier partners have any questions about the business. If you are registering
412
+ * on behalf of your customer, this must be a contact from your customer's company
413
+ * rather than your own. The individual will likely never be contacted unless there
414
+ * are issues with spam.
415
+ */
416
+ interface Contact {
417
+ /**
418
+ * An email address at which the individual can be reached. Typically an email
419
+ * using the same domain name as the website URL will be preferred (e.g. with a
420
+ * website domain of `https://dtprecisionauto.com`, an email like
421
+ * `dom@dtprecisionauto.com` will be preferred over one like
422
+ * `dom@anothergarage.com` or `dom.toretto@gmail.com`. `dtprecisionauto@gmail.com`
423
+ * would also be acceptable, but not preferred)
424
+ */
425
+ email?: string | null;
426
+ /**
427
+ * The first name (or given name) of the individual
428
+ */
429
+ first_name?: string | null;
430
+ /**
431
+ * The last name (or family name) of the individual
432
+ */
433
+ last_name?: string | null;
434
+ /**
435
+ * A phone number at which the individual can be reached (E.164 format)
436
+ */
437
+ phone_number?: string | null;
438
+ /**
439
+ * The job title of the individual.
440
+ */
441
+ title?: 'ceo' | 'cfo' | 'director' | 'gm' | 'vp' | 'general_counsel' | 'other' | null;
442
+ /**
443
+ * If `other` is provided for the `title` field, this field should be used to
444
+ * provide the title of the individual
445
+ */
446
+ title_other?: string | null;
447
+ }
469
448
  }
470
449
  }
471
- export interface AccountCreateParams {
472
- /**
473
- * The name of the account that will be visible for your internal organizational
474
- * purposes. This will also be the default public-facing brand name unless you also
475
- * set a `brand_name`, but otherwise the account name will never be displayed
476
- * anywhere outside of Surge HQ, and may include your ID for the account or
477
- * anything else that may help you.
478
- */
479
- name: string;
480
- /**
481
- * The name by which the people this account communicates with know it. If not
482
- * provided, this will match the name field.
483
- */
484
- brand_name?: string | null;
485
- /**
486
- * Parameters describing the legal entity on whose behalf the account will be
487
- * operated.
488
- */
489
- organization?: OrganizationParams;
490
- /**
491
- * This is the time zone in which the account is headquartered. This time zone may
492
- * be used for compliance with TCPA restrictions on when messages may be sent.
493
- */
494
- time_zone?: string;
495
- }
496
450
  export interface AccountUpdateParams {
497
451
  /**
498
452
  * The name by which the people this account communicates with know it. If not
@@ -511,16 +465,177 @@ export interface AccountUpdateParams {
511
465
  * Parameters describing the legal entity on whose behalf the account will be
512
466
  * operated.
513
467
  */
514
- organization?: OrganizationParams;
468
+ organization?: AccountUpdateParams.Organization;
515
469
  /**
516
470
  * The time zone for the account
517
471
  */
518
472
  time_zone?: string | null;
519
473
  }
474
+ export declare namespace AccountUpdateParams {
475
+ /**
476
+ * Parameters describing the legal entity on whose behalf the account will be
477
+ * operated.
478
+ */
479
+ interface Organization {
480
+ /**
481
+ * The address of the organization's headquarters.
482
+ */
483
+ address?: Organization.Address;
484
+ /**
485
+ * An object representing an individual who can be contacted if Surge or our
486
+ * carrier partners have any questions about the business. If you are registering
487
+ * on behalf of your customer, this must be a contact from your customer's company
488
+ * rather than your own. The individual will likely never be contacted unless there
489
+ * are issues with spam.
490
+ */
491
+ contact?: Organization.Contact | null;
492
+ /**
493
+ * The two character ISO 3166 country code for the country in which the
494
+ * organization is headquartered.
495
+ */
496
+ country?: string | null;
497
+ /**
498
+ * For publicly traded companies, an email for a representative of the company to
499
+ * whom a verification email will be sent. This must be an email on the same domain
500
+ * as the company's website (e.g. with a website domain of
501
+ * `https://dtprecisionauto.com`, the email must use the same
502
+ * `@dtprecisionauto.com`)
503
+ */
504
+ email?: string | null;
505
+ /**
506
+ * The value of the identifier whose type is specified in the identifier_type
507
+ * field. Typically this will be an EIN, and can be formatted with or without the
508
+ * hyphen.
509
+ */
510
+ identifier?: string | null;
511
+ /**
512
+ * The type of identifier being provided for the organization. Support for more
513
+ * values will be added in the future.
514
+ */
515
+ identifier_type?: 'ein' | null;
516
+ /**
517
+ * The industry in which the organization operates.
518
+ */
519
+ industry?: 'agriculture' | 'automotive' | 'banking' | 'construction' | 'consumer' | 'education' | 'electronics' | 'energy' | 'engineering' | 'fast_moving_consumer_goods' | 'financial' | 'fintech' | 'food_and_beverage' | 'government' | 'healthcare' | 'hospitality' | 'insurance' | 'jewelry' | 'legal' | 'manufacturing' | 'media' | 'not_for_profit' | 'oil_and_gas' | 'online' | 'professional_services' | 'raw_materials' | 'real_estate' | 'religion' | 'retail' | 'technology' | 'telecommunications' | 'transportation' | 'travel' | null;
520
+ /**
521
+ * For sole proprietors, this must be a valid US mobile phone number to which a
522
+ * verification text message will be sent. (E.164 format)
523
+ */
524
+ mobile_number?: string | null;
525
+ /**
526
+ * An array of regions in which the organization operates.
527
+ */
528
+ regions_of_operation?: Array<'africa' | 'asia' | 'australia' | 'europe' | 'latin_america' | 'usa_and_canada'> | null;
529
+ /**
530
+ * The legal name of the organization as registered with the IRS or other relevant
531
+ * authorities. For some applications, this will be matched against government
532
+ * records and should include all punctuation and everything else as well.
533
+ */
534
+ registered_name?: string | null;
535
+ /**
536
+ * For publicly traded companies, this is the exchange on which the company's stock
537
+ * is traded.
538
+ */
539
+ stock_exchange?: 'amex' | 'amx' | 'asx' | 'b3' | 'bme' | 'bse' | 'fra' | 'icex' | 'jpx' | 'jse' | 'krx' | 'lon' | 'nasdaq' | 'none' | 'nyse' | 'nse' | 'omx' | 'other' | 'sehk' | 'sgx' | 'sse' | 'sto' | 'swx' | 'szse' | 'tsx' | 'twse' | 'vse' | null;
540
+ /**
541
+ * For publicly traded companies, the ticker symbol for the company's stock
542
+ */
543
+ stock_symbol?: string | null;
544
+ /**
545
+ * The type of organization
546
+ */
547
+ type?: 'co_op' | 'government' | 'llc' | 'non_profit' | 'partnership' | 'private_corporation' | 'public_corporation' | 'sole_proprietor' | null;
548
+ /**
549
+ * The URL of the website for this organization. The website should be publicly
550
+ * available, clearly reflect the organization's purpose, and the URL should start
551
+ * with `https://`
552
+ */
553
+ website?: string | null;
554
+ }
555
+ namespace Organization {
556
+ /**
557
+ * The address of the organization's headquarters.
558
+ */
559
+ interface Address {
560
+ /**
561
+ * The two character ISO 3166 country code. If none is provided, the organization's
562
+ * country code will be used.
563
+ */
564
+ country?: string | null;
565
+ /**
566
+ * The first line of the address, typically the number and street name
567
+ */
568
+ line1?: string | null;
569
+ /**
570
+ * The second line of the address if needed, typically an apartment or suite number
571
+ */
572
+ line2?: string | null;
573
+ /**
574
+ * The city or locality
575
+ */
576
+ locality?: string | null;
577
+ /**
578
+ * The name to which any mail should be addressed. If none is provided, this will
579
+ * default to the organization's registered_name
580
+ */
581
+ name?: string | null;
582
+ /**
583
+ * The postal code
584
+ */
585
+ postal_code?: string | null;
586
+ /**
587
+ * The state or region
588
+ */
589
+ region?: string | null;
590
+ }
591
+ /**
592
+ * An object representing an individual who can be contacted if Surge or our
593
+ * carrier partners have any questions about the business. If you are registering
594
+ * on behalf of your customer, this must be a contact from your customer's company
595
+ * rather than your own. The individual will likely never be contacted unless there
596
+ * are issues with spam.
597
+ */
598
+ interface Contact {
599
+ /**
600
+ * An email address at which the individual can be reached. Typically an email
601
+ * using the same domain name as the website URL will be preferred (e.g. with a
602
+ * website domain of `https://dtprecisionauto.com`, an email like
603
+ * `dom@dtprecisionauto.com` will be preferred over one like
604
+ * `dom@anothergarage.com` or `dom.toretto@gmail.com`. `dtprecisionauto@gmail.com`
605
+ * would also be acceptable, but not preferred)
606
+ */
607
+ email?: string | null;
608
+ /**
609
+ * The first name (or given name) of the individual
610
+ */
611
+ first_name?: string | null;
612
+ /**
613
+ * The last name (or family name) of the individual
614
+ */
615
+ last_name?: string | null;
616
+ /**
617
+ * A phone number at which the individual can be reached (E.164 format)
618
+ */
619
+ phone_number?: string | null;
620
+ /**
621
+ * The job title of the individual.
622
+ */
623
+ title?: 'ceo' | 'cfo' | 'director' | 'gm' | 'vp' | 'general_counsel' | 'other' | null;
624
+ /**
625
+ * If `other` is provided for the `title` field, this field should be used to
626
+ * provide the title of the individual
627
+ */
628
+ title_other?: string | null;
629
+ }
630
+ }
631
+ }
520
632
  export interface AccountRetrieveStatusParams {
633
+ /**
634
+ * capabilities about which to check the status
635
+ */
521
636
  capabilities?: Array<'local_messaging'>;
522
637
  }
523
638
  export declare namespace Accounts {
524
- export { type Account as Account, type AccountParams as AccountParams, type AccountStatus as AccountStatus, type AccountUpdateParams as AccountUpdateParams, type Organization as Organization, type OrganizationParams as OrganizationParams, type AccountCreateParams as AccountCreateParams, type AccountRetrieveStatusParams as AccountRetrieveStatusParams, };
639
+ export { type Account as Account, type AccountStatus as AccountStatus, type Organization as Organization, type AccountCreateParams as AccountCreateParams, type AccountUpdateParams as AccountUpdateParams, type AccountRetrieveStatusParams as AccountRetrieveStatusParams, };
525
640
  }
526
641
  //# sourceMappingURL=accounts.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"accounts.d.ts","sourceRoot":"","sources":["../src/resources/accounts.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAGzB,qBAAa,QAAS,SAAQ,WAAW;IACvC;;;;;;;;;OASG;IACH,MAAM,CAAC,IAAI,EAAE,mBAAmB,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,OAAO,CAAC;IAIhF;;;;;;;;;OASG;IACH,MAAM,CAAC,EAAE,EAAE,MAAM,EAAE,IAAI,EAAE,mBAAmB,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,OAAO,CAAC;IAI5F;;;;;;;;;OASG;IACH,cAAc,CACZ,SAAS,EAAE,MAAM,EACjB,KAAK,GAAE,2BAA2B,GAAG,IAAI,GAAG,SAAc,EAC1D,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,aAAa,CAAC;CAG7B;AAED;;GAEG;AAC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