@wraps.dev/client 0.2.0 → 0.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.mts CHANGED
@@ -261,6 +261,10 @@ interface operations {
261
261
  "application/json": {
262
262
  email?: string;
263
263
  phone?: string;
264
+ firstName?: string;
265
+ lastName?: string;
266
+ company?: string;
267
+ jobTitle?: string;
264
268
  emailStatus?: "active" | "unsubscribed" | "bounced" | "complained";
265
269
  smsStatus?: "pending_consent" | "opted_in" | "opted_out" | "invalid";
266
270
  properties?: {
@@ -272,6 +276,10 @@ interface operations {
272
276
  "multipart/form-data": {
273
277
  email?: string;
274
278
  phone?: string;
279
+ firstName?: string;
280
+ lastName?: string;
281
+ company?: string;
282
+ jobTitle?: string;
275
283
  emailStatus?: "active" | "unsubscribed" | "bounced" | "complained";
276
284
  smsStatus?: "pending_consent" | "opted_in" | "opted_out" | "invalid";
277
285
  properties?: {
@@ -283,6 +291,10 @@ interface operations {
283
291
  "text/plain": {
284
292
  email?: string;
285
293
  phone?: string;
294
+ firstName?: string;
295
+ lastName?: string;
296
+ company?: string;
297
+ jobTitle?: string;
286
298
  emailStatus?: "active" | "unsubscribed" | "bounced" | "complained";
287
299
  smsStatus?: "pending_consent" | "opted_in" | "opted_out" | "invalid";
288
300
  properties?: {
@@ -383,6 +395,10 @@ interface operations {
383
395
  "application/json": {
384
396
  email?: string;
385
397
  phone?: string;
398
+ firstName?: (string | null) | null;
399
+ lastName?: (string | null) | null;
400
+ company?: (string | null) | null;
401
+ jobTitle?: (string | null) | null;
386
402
  emailStatus?: "active" | "unsubscribed" | "bounced" | "complained";
387
403
  smsStatus?: "pending_consent" | "opted_in" | "opted_out" | "invalid";
388
404
  properties?: {
@@ -394,6 +410,10 @@ interface operations {
394
410
  "multipart/form-data": {
395
411
  email?: string;
396
412
  phone?: string;
413
+ firstName?: (string | null) | null;
414
+ lastName?: (string | null) | null;
415
+ company?: (string | null) | null;
416
+ jobTitle?: (string | null) | null;
397
417
  emailStatus?: "active" | "unsubscribed" | "bounced" | "complained";
398
418
  smsStatus?: "pending_consent" | "opted_in" | "opted_out" | "invalid";
399
419
  properties?: {
@@ -405,6 +425,10 @@ interface operations {
405
425
  "text/plain": {
406
426
  email?: string;
407
427
  phone?: string;
428
+ firstName?: (string | null) | null;
429
+ lastName?: (string | null) | null;
430
+ company?: (string | null) | null;
431
+ jobTitle?: (string | null) | null;
408
432
  emailStatus?: "active" | "unsubscribed" | "bounced" | "complained";
409
433
  smsStatus?: "pending_consent" | "opted_in" | "opted_out" | "invalid";
410
434
  properties?: {
@@ -436,6 +460,9 @@ interface operations {
436
460
  "application/json": {
437
461
  channel?: "email" | "sms";
438
462
  name?: string;
463
+ audienceType?: "all" | "topic" | "segment";
464
+ topicId?: string;
465
+ segmentId?: string;
439
466
  subject?: string;
440
467
  previewText?: string;
441
468
  from?: string;
@@ -452,6 +479,9 @@ interface operations {
452
479
  "multipart/form-data": {
453
480
  channel?: "email" | "sms";
454
481
  name?: string;
482
+ audienceType?: "all" | "topic" | "segment";
483
+ topicId?: string;
484
+ segmentId?: string;
455
485
  subject?: string;
456
486
  previewText?: string;
457
487
  from?: string;
@@ -468,6 +498,9 @@ interface operations {
468
498
  "text/plain": {
469
499
  channel?: "email" | "sms";
470
500
  name?: string;
501
+ audienceType?: "all" | "topic" | "segment";
502
+ topicId?: string;
503
+ segmentId?: string;
471
504
  subject?: string;
472
505
  previewText?: string;
473
506
  from?: string;
package/dist/index.d.ts CHANGED
@@ -261,6 +261,10 @@ interface operations {
261
261
  "application/json": {
262
262
  email?: string;
263
263
  phone?: string;
264
+ firstName?: string;
265
+ lastName?: string;
266
+ company?: string;
267
+ jobTitle?: string;
264
268
  emailStatus?: "active" | "unsubscribed" | "bounced" | "complained";
265
269
  smsStatus?: "pending_consent" | "opted_in" | "opted_out" | "invalid";
266
270
  properties?: {
@@ -272,6 +276,10 @@ interface operations {
272
276
  "multipart/form-data": {
273
277
  email?: string;
274
278
  phone?: string;
279
+ firstName?: string;
280
+ lastName?: string;
281
+ company?: string;
282
+ jobTitle?: string;
275
283
  emailStatus?: "active" | "unsubscribed" | "bounced" | "complained";
276
284
  smsStatus?: "pending_consent" | "opted_in" | "opted_out" | "invalid";
277
285
  properties?: {
@@ -283,6 +291,10 @@ interface operations {
283
291
  "text/plain": {
284
292
  email?: string;
285
293
  phone?: string;
294
+ firstName?: string;
295
+ lastName?: string;
296
+ company?: string;
297
+ jobTitle?: string;
286
298
  emailStatus?: "active" | "unsubscribed" | "bounced" | "complained";
287
299
  smsStatus?: "pending_consent" | "opted_in" | "opted_out" | "invalid";
288
300
  properties?: {
@@ -383,6 +395,10 @@ interface operations {
383
395
  "application/json": {
384
396
  email?: string;
385
397
  phone?: string;
398
+ firstName?: (string | null) | null;
399
+ lastName?: (string | null) | null;
400
+ company?: (string | null) | null;
401
+ jobTitle?: (string | null) | null;
386
402
  emailStatus?: "active" | "unsubscribed" | "bounced" | "complained";
387
403
  smsStatus?: "pending_consent" | "opted_in" | "opted_out" | "invalid";
388
404
  properties?: {
@@ -394,6 +410,10 @@ interface operations {
394
410
  "multipart/form-data": {
395
411
  email?: string;
396
412
  phone?: string;
413
+ firstName?: (string | null) | null;
414
+ lastName?: (string | null) | null;
415
+ company?: (string | null) | null;
416
+ jobTitle?: (string | null) | null;
397
417
  emailStatus?: "active" | "unsubscribed" | "bounced" | "complained";
398
418
  smsStatus?: "pending_consent" | "opted_in" | "opted_out" | "invalid";
399
419
  properties?: {
@@ -405,6 +425,10 @@ interface operations {
405
425
  "text/plain": {
406
426
  email?: string;
407
427
  phone?: string;
428
+ firstName?: (string | null) | null;
429
+ lastName?: (string | null) | null;
430
+ company?: (string | null) | null;
431
+ jobTitle?: (string | null) | null;
408
432
  emailStatus?: "active" | "unsubscribed" | "bounced" | "complained";
409
433
  smsStatus?: "pending_consent" | "opted_in" | "opted_out" | "invalid";
410
434
  properties?: {
@@ -436,6 +460,9 @@ interface operations {
436
460
  "application/json": {
437
461
  channel?: "email" | "sms";
438
462
  name?: string;
463
+ audienceType?: "all" | "topic" | "segment";
464
+ topicId?: string;
465
+ segmentId?: string;
439
466
  subject?: string;
440
467
  previewText?: string;
441
468
  from?: string;
@@ -452,6 +479,9 @@ interface operations {
452
479
  "multipart/form-data": {
453
480
  channel?: "email" | "sms";
454
481
  name?: string;
482
+ audienceType?: "all" | "topic" | "segment";
483
+ topicId?: string;
484
+ segmentId?: string;
455
485
  subject?: string;
456
486
  previewText?: string;
457
487
  from?: string;
@@ -468,6 +498,9 @@ interface operations {
468
498
  "text/plain": {
469
499
  channel?: "email" | "sms";
470
500
  name?: string;
501
+ audienceType?: "all" | "topic" | "segment";
502
+ topicId?: string;
503
+ segmentId?: string;
471
504
  subject?: string;
472
505
  previewText?: string;
473
506
  from?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wraps.dev/client",
3
- "version": "0.2.0",
3
+ "version": "0.3.0",
4
4
  "description": "Type-safe API client for Wraps Platform",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",