@wraps.dev/client 0.1.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 +39 -0
- package/dist/index.d.ts +39 -0
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -261,32 +261,47 @@ 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?: {
|
|
267
271
|
[key: string]: unknown;
|
|
268
272
|
};
|
|
269
273
|
topicIds?: string[];
|
|
274
|
+
topicSlugs?: string[];
|
|
270
275
|
};
|
|
271
276
|
"multipart/form-data": {
|
|
272
277
|
email?: string;
|
|
273
278
|
phone?: string;
|
|
279
|
+
firstName?: string;
|
|
280
|
+
lastName?: string;
|
|
281
|
+
company?: string;
|
|
282
|
+
jobTitle?: string;
|
|
274
283
|
emailStatus?: "active" | "unsubscribed" | "bounced" | "complained";
|
|
275
284
|
smsStatus?: "pending_consent" | "opted_in" | "opted_out" | "invalid";
|
|
276
285
|
properties?: {
|
|
277
286
|
[key: string]: unknown;
|
|
278
287
|
};
|
|
279
288
|
topicIds?: string[];
|
|
289
|
+
topicSlugs?: string[];
|
|
280
290
|
};
|
|
281
291
|
"text/plain": {
|
|
282
292
|
email?: string;
|
|
283
293
|
phone?: string;
|
|
294
|
+
firstName?: string;
|
|
295
|
+
lastName?: string;
|
|
296
|
+
company?: string;
|
|
297
|
+
jobTitle?: string;
|
|
284
298
|
emailStatus?: "active" | "unsubscribed" | "bounced" | "complained";
|
|
285
299
|
smsStatus?: "pending_consent" | "opted_in" | "opted_out" | "invalid";
|
|
286
300
|
properties?: {
|
|
287
301
|
[key: string]: unknown;
|
|
288
302
|
};
|
|
289
303
|
topicIds?: string[];
|
|
304
|
+
topicSlugs?: string[];
|
|
290
305
|
};
|
|
291
306
|
};
|
|
292
307
|
};
|
|
@@ -380,32 +395,47 @@ interface operations {
|
|
|
380
395
|
"application/json": {
|
|
381
396
|
email?: string;
|
|
382
397
|
phone?: string;
|
|
398
|
+
firstName?: (string | null) | null;
|
|
399
|
+
lastName?: (string | null) | null;
|
|
400
|
+
company?: (string | null) | null;
|
|
401
|
+
jobTitle?: (string | null) | null;
|
|
383
402
|
emailStatus?: "active" | "unsubscribed" | "bounced" | "complained";
|
|
384
403
|
smsStatus?: "pending_consent" | "opted_in" | "opted_out" | "invalid";
|
|
385
404
|
properties?: {
|
|
386
405
|
[key: string]: unknown;
|
|
387
406
|
};
|
|
388
407
|
topicIds?: string[];
|
|
408
|
+
topicSlugs?: string[];
|
|
389
409
|
};
|
|
390
410
|
"multipart/form-data": {
|
|
391
411
|
email?: string;
|
|
392
412
|
phone?: string;
|
|
413
|
+
firstName?: (string | null) | null;
|
|
414
|
+
lastName?: (string | null) | null;
|
|
415
|
+
company?: (string | null) | null;
|
|
416
|
+
jobTitle?: (string | null) | null;
|
|
393
417
|
emailStatus?: "active" | "unsubscribed" | "bounced" | "complained";
|
|
394
418
|
smsStatus?: "pending_consent" | "opted_in" | "opted_out" | "invalid";
|
|
395
419
|
properties?: {
|
|
396
420
|
[key: string]: unknown;
|
|
397
421
|
};
|
|
398
422
|
topicIds?: string[];
|
|
423
|
+
topicSlugs?: string[];
|
|
399
424
|
};
|
|
400
425
|
"text/plain": {
|
|
401
426
|
email?: string;
|
|
402
427
|
phone?: string;
|
|
428
|
+
firstName?: (string | null) | null;
|
|
429
|
+
lastName?: (string | null) | null;
|
|
430
|
+
company?: (string | null) | null;
|
|
431
|
+
jobTitle?: (string | null) | null;
|
|
403
432
|
emailStatus?: "active" | "unsubscribed" | "bounced" | "complained";
|
|
404
433
|
smsStatus?: "pending_consent" | "opted_in" | "opted_out" | "invalid";
|
|
405
434
|
properties?: {
|
|
406
435
|
[key: string]: unknown;
|
|
407
436
|
};
|
|
408
437
|
topicIds?: string[];
|
|
438
|
+
topicSlugs?: string[];
|
|
409
439
|
};
|
|
410
440
|
};
|
|
411
441
|
};
|
|
@@ -430,6 +460,9 @@ interface operations {
|
|
|
430
460
|
"application/json": {
|
|
431
461
|
channel?: "email" | "sms";
|
|
432
462
|
name?: string;
|
|
463
|
+
audienceType?: "all" | "topic" | "segment";
|
|
464
|
+
topicId?: string;
|
|
465
|
+
segmentId?: string;
|
|
433
466
|
subject?: string;
|
|
434
467
|
previewText?: string;
|
|
435
468
|
from?: string;
|
|
@@ -446,6 +479,9 @@ interface operations {
|
|
|
446
479
|
"multipart/form-data": {
|
|
447
480
|
channel?: "email" | "sms";
|
|
448
481
|
name?: string;
|
|
482
|
+
audienceType?: "all" | "topic" | "segment";
|
|
483
|
+
topicId?: string;
|
|
484
|
+
segmentId?: string;
|
|
449
485
|
subject?: string;
|
|
450
486
|
previewText?: string;
|
|
451
487
|
from?: string;
|
|
@@ -462,6 +498,9 @@ interface operations {
|
|
|
462
498
|
"text/plain": {
|
|
463
499
|
channel?: "email" | "sms";
|
|
464
500
|
name?: string;
|
|
501
|
+
audienceType?: "all" | "topic" | "segment";
|
|
502
|
+
topicId?: string;
|
|
503
|
+
segmentId?: string;
|
|
465
504
|
subject?: string;
|
|
466
505
|
previewText?: string;
|
|
467
506
|
from?: string;
|
package/dist/index.d.ts
CHANGED
|
@@ -261,32 +261,47 @@ 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?: {
|
|
267
271
|
[key: string]: unknown;
|
|
268
272
|
};
|
|
269
273
|
topicIds?: string[];
|
|
274
|
+
topicSlugs?: string[];
|
|
270
275
|
};
|
|
271
276
|
"multipart/form-data": {
|
|
272
277
|
email?: string;
|
|
273
278
|
phone?: string;
|
|
279
|
+
firstName?: string;
|
|
280
|
+
lastName?: string;
|
|
281
|
+
company?: string;
|
|
282
|
+
jobTitle?: string;
|
|
274
283
|
emailStatus?: "active" | "unsubscribed" | "bounced" | "complained";
|
|
275
284
|
smsStatus?: "pending_consent" | "opted_in" | "opted_out" | "invalid";
|
|
276
285
|
properties?: {
|
|
277
286
|
[key: string]: unknown;
|
|
278
287
|
};
|
|
279
288
|
topicIds?: string[];
|
|
289
|
+
topicSlugs?: string[];
|
|
280
290
|
};
|
|
281
291
|
"text/plain": {
|
|
282
292
|
email?: string;
|
|
283
293
|
phone?: string;
|
|
294
|
+
firstName?: string;
|
|
295
|
+
lastName?: string;
|
|
296
|
+
company?: string;
|
|
297
|
+
jobTitle?: string;
|
|
284
298
|
emailStatus?: "active" | "unsubscribed" | "bounced" | "complained";
|
|
285
299
|
smsStatus?: "pending_consent" | "opted_in" | "opted_out" | "invalid";
|
|
286
300
|
properties?: {
|
|
287
301
|
[key: string]: unknown;
|
|
288
302
|
};
|
|
289
303
|
topicIds?: string[];
|
|
304
|
+
topicSlugs?: string[];
|
|
290
305
|
};
|
|
291
306
|
};
|
|
292
307
|
};
|
|
@@ -380,32 +395,47 @@ interface operations {
|
|
|
380
395
|
"application/json": {
|
|
381
396
|
email?: string;
|
|
382
397
|
phone?: string;
|
|
398
|
+
firstName?: (string | null) | null;
|
|
399
|
+
lastName?: (string | null) | null;
|
|
400
|
+
company?: (string | null) | null;
|
|
401
|
+
jobTitle?: (string | null) | null;
|
|
383
402
|
emailStatus?: "active" | "unsubscribed" | "bounced" | "complained";
|
|
384
403
|
smsStatus?: "pending_consent" | "opted_in" | "opted_out" | "invalid";
|
|
385
404
|
properties?: {
|
|
386
405
|
[key: string]: unknown;
|
|
387
406
|
};
|
|
388
407
|
topicIds?: string[];
|
|
408
|
+
topicSlugs?: string[];
|
|
389
409
|
};
|
|
390
410
|
"multipart/form-data": {
|
|
391
411
|
email?: string;
|
|
392
412
|
phone?: string;
|
|
413
|
+
firstName?: (string | null) | null;
|
|
414
|
+
lastName?: (string | null) | null;
|
|
415
|
+
company?: (string | null) | null;
|
|
416
|
+
jobTitle?: (string | null) | null;
|
|
393
417
|
emailStatus?: "active" | "unsubscribed" | "bounced" | "complained";
|
|
394
418
|
smsStatus?: "pending_consent" | "opted_in" | "opted_out" | "invalid";
|
|
395
419
|
properties?: {
|
|
396
420
|
[key: string]: unknown;
|
|
397
421
|
};
|
|
398
422
|
topicIds?: string[];
|
|
423
|
+
topicSlugs?: string[];
|
|
399
424
|
};
|
|
400
425
|
"text/plain": {
|
|
401
426
|
email?: string;
|
|
402
427
|
phone?: string;
|
|
428
|
+
firstName?: (string | null) | null;
|
|
429
|
+
lastName?: (string | null) | null;
|
|
430
|
+
company?: (string | null) | null;
|
|
431
|
+
jobTitle?: (string | null) | null;
|
|
403
432
|
emailStatus?: "active" | "unsubscribed" | "bounced" | "complained";
|
|
404
433
|
smsStatus?: "pending_consent" | "opted_in" | "opted_out" | "invalid";
|
|
405
434
|
properties?: {
|
|
406
435
|
[key: string]: unknown;
|
|
407
436
|
};
|
|
408
437
|
topicIds?: string[];
|
|
438
|
+
topicSlugs?: string[];
|
|
409
439
|
};
|
|
410
440
|
};
|
|
411
441
|
};
|
|
@@ -430,6 +460,9 @@ interface operations {
|
|
|
430
460
|
"application/json": {
|
|
431
461
|
channel?: "email" | "sms";
|
|
432
462
|
name?: string;
|
|
463
|
+
audienceType?: "all" | "topic" | "segment";
|
|
464
|
+
topicId?: string;
|
|
465
|
+
segmentId?: string;
|
|
433
466
|
subject?: string;
|
|
434
467
|
previewText?: string;
|
|
435
468
|
from?: string;
|
|
@@ -446,6 +479,9 @@ interface operations {
|
|
|
446
479
|
"multipart/form-data": {
|
|
447
480
|
channel?: "email" | "sms";
|
|
448
481
|
name?: string;
|
|
482
|
+
audienceType?: "all" | "topic" | "segment";
|
|
483
|
+
topicId?: string;
|
|
484
|
+
segmentId?: string;
|
|
449
485
|
subject?: string;
|
|
450
486
|
previewText?: string;
|
|
451
487
|
from?: string;
|
|
@@ -462,6 +498,9 @@ interface operations {
|
|
|
462
498
|
"text/plain": {
|
|
463
499
|
channel?: "email" | "sms";
|
|
464
500
|
name?: string;
|
|
501
|
+
audienceType?: "all" | "topic" | "segment";
|
|
502
|
+
topicId?: string;
|
|
503
|
+
segmentId?: string;
|
|
465
504
|
subject?: string;
|
|
466
505
|
previewText?: string;
|
|
467
506
|
from?: string;
|