mailmeteor 0.0.9 → 0.0.10
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.cjs +91 -64
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +586 -396
- package/dist/index.mjs +91 -64
- package/dist/index.mjs.map +1 -1
- package/dist/types/generated-sdk/index.d.ts +2 -2
- package/dist/types/generated-sdk/index.d.ts.map +1 -1
- package/dist/types/generated-sdk/sdk.gen.d.ts +44 -36
- package/dist/types/generated-sdk/sdk.gen.d.ts.map +1 -1
- package/dist/types/generated-sdk/types.gen.d.ts +469 -302
- package/dist/types/generated-sdk/types.gen.d.ts.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -321,6 +321,97 @@ type ErrorResponse = {
|
|
|
321
321
|
message: string;
|
|
322
322
|
code?: 'url_invalid' | 'authentication_required' | 'rate_limit' | 'resource_missing' | 'resource_conflict' | 'resource_exhausted' | 'resource_already_exists' | 'resource_action_required' | 'account_verification_required' | 'account_unauthorized' | 'account_blocked' | 'parameter_missing' | 'parameter_invalid' | 'esp_unsupported' | 'unknown_error' | 'api_error' | 'quota_exceeded' | 'sender_missing_service' | 'sender_insufficient_permission' | 'admin_role_required' | 'TEST_ERROR';
|
|
323
323
|
};
|
|
324
|
+
type UserIdQuery = {
|
|
325
|
+
expand?: Array<'subscription'>;
|
|
326
|
+
};
|
|
327
|
+
type UserIdParams = {
|
|
328
|
+
user_id: string;
|
|
329
|
+
};
|
|
330
|
+
type UserIdResponse200 = {
|
|
331
|
+
id: string;
|
|
332
|
+
object: 'user';
|
|
333
|
+
email: string;
|
|
334
|
+
name?: string;
|
|
335
|
+
blocked?: boolean;
|
|
336
|
+
plan: string;
|
|
337
|
+
quota: {
|
|
338
|
+
limit: number;
|
|
339
|
+
usage: number;
|
|
340
|
+
available: number;
|
|
341
|
+
updated: string;
|
|
342
|
+
refreshDate?: string;
|
|
343
|
+
};
|
|
344
|
+
organization: string | null;
|
|
345
|
+
/**
|
|
346
|
+
* Creation date as a Unix timestamp (ms)
|
|
347
|
+
*/
|
|
348
|
+
created_at: number;
|
|
349
|
+
credentials?: {
|
|
350
|
+
google?: {
|
|
351
|
+
access_token?: string;
|
|
352
|
+
refresh_token?: string;
|
|
353
|
+
expiry_date?: number;
|
|
354
|
+
expires_in?: number;
|
|
355
|
+
update_date?: number;
|
|
356
|
+
scope?: string;
|
|
357
|
+
api_domain?: string;
|
|
358
|
+
};
|
|
359
|
+
microsoft?: {
|
|
360
|
+
access_token?: string;
|
|
361
|
+
refresh_token?: string;
|
|
362
|
+
expiry_date?: number;
|
|
363
|
+
expires_in?: number;
|
|
364
|
+
update_date?: number;
|
|
365
|
+
scope?: string;
|
|
366
|
+
api_domain?: string;
|
|
367
|
+
};
|
|
368
|
+
zoho?: {
|
|
369
|
+
access_token?: string;
|
|
370
|
+
refresh_token?: string;
|
|
371
|
+
expiry_date?: number;
|
|
372
|
+
expires_in?: number;
|
|
373
|
+
update_date?: number;
|
|
374
|
+
scope?: string;
|
|
375
|
+
api_domain?: string;
|
|
376
|
+
};
|
|
377
|
+
sendgrid?: {
|
|
378
|
+
api_key?: string;
|
|
379
|
+
};
|
|
380
|
+
};
|
|
381
|
+
subscription?: {
|
|
382
|
+
id: string;
|
|
383
|
+
created_at: number;
|
|
384
|
+
/**
|
|
385
|
+
* Whether the user is a billing admin
|
|
386
|
+
*/
|
|
387
|
+
admin: boolean;
|
|
388
|
+
current_period_start: number;
|
|
389
|
+
current_period_end: number;
|
|
390
|
+
quantity: number;
|
|
391
|
+
currency: string;
|
|
392
|
+
amount: number | null;
|
|
393
|
+
discount_percentage?: number | null;
|
|
394
|
+
name: string | null;
|
|
395
|
+
billing_period: 'day' | 'week' | 'month' | 'year' | null;
|
|
396
|
+
plan: 'free' | 'starter' | 'pro' | 'premium' | 'business' | null;
|
|
397
|
+
default_payment_method: {
|
|
398
|
+
type: string;
|
|
399
|
+
brand?: string | null;
|
|
400
|
+
last4: string | null;
|
|
401
|
+
exp_month: number | null;
|
|
402
|
+
exp_year: number | null;
|
|
403
|
+
bank_name?: string | null;
|
|
404
|
+
} | null;
|
|
405
|
+
addons: {
|
|
406
|
+
senders?: {
|
|
407
|
+
quantity: number;
|
|
408
|
+
};
|
|
409
|
+
email_warmups?: {
|
|
410
|
+
quantity: number;
|
|
411
|
+
};
|
|
412
|
+
};
|
|
413
|
+
} | null;
|
|
414
|
+
};
|
|
324
415
|
type CurrentOrganizationParams = {
|
|
325
416
|
user_id: string;
|
|
326
417
|
};
|
|
@@ -349,78 +440,59 @@ type MembersParams = {
|
|
|
349
440
|
organization_id: string;
|
|
350
441
|
};
|
|
351
442
|
type MembersResponse200 = Array<{
|
|
443
|
+
user: string;
|
|
444
|
+
roles: Array<'admin' | 'member'>;
|
|
445
|
+
created_at: number;
|
|
446
|
+
updated_at?: number;
|
|
447
|
+
id: string;
|
|
448
|
+
object: 'organization_member';
|
|
352
449
|
email: string;
|
|
353
450
|
name?: string;
|
|
354
451
|
profile_picture_url?: string;
|
|
355
|
-
|
|
356
|
-
/**
|
|
357
|
-
* Creation date
|
|
358
|
-
*/
|
|
359
|
-
created_at: string;
|
|
360
|
-
/**
|
|
361
|
-
* Last Update date
|
|
362
|
-
*/
|
|
363
|
-
updated_at?: string;
|
|
364
|
-
id: string;
|
|
365
|
-
organization_id: string;
|
|
366
|
-
object: 'organization_member';
|
|
452
|
+
organization: string;
|
|
367
453
|
}>;
|
|
368
454
|
type MembersBody = {
|
|
369
455
|
email: string;
|
|
370
|
-
|
|
456
|
+
roles: Array<'admin' | 'member'>;
|
|
371
457
|
};
|
|
372
458
|
type MembersResponse201 = {
|
|
459
|
+
user: string;
|
|
460
|
+
roles: Array<'admin' | 'member'>;
|
|
461
|
+
created_at: number;
|
|
462
|
+
updated_at?: number;
|
|
463
|
+
id: string;
|
|
464
|
+
object: 'organization_member';
|
|
373
465
|
email: string;
|
|
374
466
|
name?: string;
|
|
375
467
|
profile_picture_url?: string;
|
|
376
|
-
|
|
377
|
-
/**
|
|
378
|
-
* Creation date
|
|
379
|
-
*/
|
|
380
|
-
created_at: string;
|
|
381
|
-
/**
|
|
382
|
-
* Last Update date
|
|
383
|
-
*/
|
|
384
|
-
updated_at?: string;
|
|
385
|
-
id: string;
|
|
386
|
-
organization_id: string;
|
|
387
|
-
object: 'organization_member';
|
|
468
|
+
organization: string;
|
|
388
469
|
};
|
|
389
470
|
type MemberIdBody = {
|
|
390
|
-
|
|
471
|
+
roles?: Array<'admin' | 'member'>;
|
|
391
472
|
};
|
|
392
473
|
type MemberIdParams = {
|
|
393
474
|
organization_id: string;
|
|
394
475
|
member_id: string;
|
|
395
476
|
};
|
|
396
477
|
type MemberIdResponse200 = {
|
|
478
|
+
user: string;
|
|
479
|
+
roles: Array<'admin' | 'member'>;
|
|
480
|
+
created_at: number;
|
|
481
|
+
updated_at?: number;
|
|
482
|
+
id: string;
|
|
483
|
+
object: 'organization_member';
|
|
397
484
|
email: string;
|
|
398
485
|
name?: string;
|
|
399
486
|
profile_picture_url?: string;
|
|
400
|
-
|
|
401
|
-
/**
|
|
402
|
-
* Creation date
|
|
403
|
-
*/
|
|
404
|
-
created_at: string;
|
|
405
|
-
/**
|
|
406
|
-
* Last Update date
|
|
407
|
-
*/
|
|
408
|
-
updated_at?: string;
|
|
409
|
-
id: string;
|
|
410
|
-
organization_id: string;
|
|
411
|
-
object: 'organization_member';
|
|
487
|
+
organization: string;
|
|
412
488
|
};
|
|
413
489
|
type OrganizationsResponse200 = Array<{
|
|
414
490
|
name: string;
|
|
415
491
|
owner: string;
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
/**
|
|
421
|
-
* Last Update date
|
|
422
|
-
*/
|
|
423
|
-
updated_at?: string;
|
|
492
|
+
customer?: string;
|
|
493
|
+
subscription?: string;
|
|
494
|
+
created_at: number;
|
|
495
|
+
updated_at?: number;
|
|
424
496
|
id: string;
|
|
425
497
|
object: 'organization';
|
|
426
498
|
}>;
|
|
@@ -430,14 +502,10 @@ type OrganizationsBody = {
|
|
|
430
502
|
type OrganizationsResponse201 = {
|
|
431
503
|
name: string;
|
|
432
504
|
owner: string;
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
/**
|
|
438
|
-
* Last Update date
|
|
439
|
-
*/
|
|
440
|
-
updated_at?: string;
|
|
505
|
+
customer?: string;
|
|
506
|
+
subscription?: string;
|
|
507
|
+
created_at: number;
|
|
508
|
+
updated_at?: number;
|
|
441
509
|
id: string;
|
|
442
510
|
object: 'organization';
|
|
443
511
|
};
|
|
@@ -447,20 +515,45 @@ type OrganizationIdParams = {
|
|
|
447
515
|
type OrganizationIdResponse200 = {
|
|
448
516
|
name: string;
|
|
449
517
|
owner: string;
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
/**
|
|
455
|
-
* Last Update date
|
|
456
|
-
*/
|
|
457
|
-
updated_at?: string;
|
|
518
|
+
customer?: string;
|
|
519
|
+
subscription?: string;
|
|
520
|
+
created_at: number;
|
|
521
|
+
updated_at?: number;
|
|
458
522
|
id: string;
|
|
459
523
|
object: 'organization';
|
|
460
524
|
};
|
|
461
525
|
type OrganizationIdBody = {
|
|
462
526
|
name?: string;
|
|
463
527
|
};
|
|
528
|
+
type SubscriptionResponse200 = {
|
|
529
|
+
status: 'confirmation_required' | 'success' | 'payment_failed';
|
|
530
|
+
client_secret?: string;
|
|
531
|
+
failure_code?: string;
|
|
532
|
+
};
|
|
533
|
+
type SubscriptionBody = {
|
|
534
|
+
plan: 'free' | 'starter' | 'pro' | 'premium' | 'business';
|
|
535
|
+
billing_period: 'month' | 'year';
|
|
536
|
+
};
|
|
537
|
+
type PreviewBody = {
|
|
538
|
+
quantity: number;
|
|
539
|
+
};
|
|
540
|
+
type PreviewResponse200 = {
|
|
541
|
+
discount_percents: Array<number>;
|
|
542
|
+
total_excluding_tax: number;
|
|
543
|
+
total: number;
|
|
544
|
+
amount_due: number;
|
|
545
|
+
added_from_balance: number;
|
|
546
|
+
consumed_balance: number;
|
|
547
|
+
credited_to_balance: number;
|
|
548
|
+
};
|
|
549
|
+
type CheckoutBody = {
|
|
550
|
+
price_id: string;
|
|
551
|
+
coupon?: string;
|
|
552
|
+
currency?: 'usd' | 'eur' | 'inr';
|
|
553
|
+
};
|
|
554
|
+
type CheckoutResponse200 = {
|
|
555
|
+
url: string;
|
|
556
|
+
};
|
|
464
557
|
type ContactListsBody = {
|
|
465
558
|
owner: string;
|
|
466
559
|
name: string;
|
|
@@ -729,33 +822,9 @@ type AddonsResponse200 = {
|
|
|
729
822
|
} | null;
|
|
730
823
|
};
|
|
731
824
|
};
|
|
732
|
-
type PreviewBody = {
|
|
733
|
-
plan: 'free' | 'starter' | 'pro' | 'premium' | 'business';
|
|
734
|
-
billing_period: 'month' | 'year';
|
|
735
|
-
};
|
|
736
825
|
type PreviewParams = {
|
|
737
826
|
addon: 'senders' | 'email_warmups';
|
|
738
827
|
};
|
|
739
|
-
type PreviewResponse200 = {
|
|
740
|
-
discount_percents: Array<number>;
|
|
741
|
-
total_excluding_tax: number;
|
|
742
|
-
total: number;
|
|
743
|
-
amount_due: number;
|
|
744
|
-
added_from_balance: number;
|
|
745
|
-
consumed_balance: number;
|
|
746
|
-
credited_to_balance: number;
|
|
747
|
-
lines: Array<{
|
|
748
|
-
amount: number;
|
|
749
|
-
billing_period: 'day' | 'week' | 'month' | 'year';
|
|
750
|
-
proration: boolean;
|
|
751
|
-
plan?: 'free' | 'starter' | 'pro' | 'premium' | 'business';
|
|
752
|
-
addon?: 'senders' | 'email_warmups';
|
|
753
|
-
}>;
|
|
754
|
-
next_renewal: number;
|
|
755
|
-
total_tax_amounts: Array<{
|
|
756
|
-
amount: number;
|
|
757
|
-
}>;
|
|
758
|
-
};
|
|
759
828
|
type AddonBody = {
|
|
760
829
|
quantity: number;
|
|
761
830
|
};
|
|
@@ -767,15 +836,6 @@ type AddonResponse200 = Array<{
|
|
|
767
836
|
email: string;
|
|
768
837
|
usage: number;
|
|
769
838
|
}>;
|
|
770
|
-
type SubscriptionResponse200 = {
|
|
771
|
-
status: 'confirmation_required' | 'success' | 'payment_failed';
|
|
772
|
-
client_secret?: string;
|
|
773
|
-
failure_code?: string;
|
|
774
|
-
};
|
|
775
|
-
type SubscriptionBody = {
|
|
776
|
-
plan: 'free' | 'starter' | 'pro' | 'premium' | 'business';
|
|
777
|
-
billing_period: 'month' | 'year';
|
|
778
|
-
};
|
|
779
839
|
type PricesQuery = {
|
|
780
840
|
currency: string;
|
|
781
841
|
};
|
|
@@ -802,6 +862,114 @@ type PricesResponse200 = {
|
|
|
802
862
|
};
|
|
803
863
|
};
|
|
804
864
|
type OpenapiJsonResponse200 = unknown;
|
|
865
|
+
type UsersRetrieveData = {
|
|
866
|
+
body?: never;
|
|
867
|
+
path: {
|
|
868
|
+
user_id: string;
|
|
869
|
+
};
|
|
870
|
+
query?: {
|
|
871
|
+
expand?: Array<'subscription'>;
|
|
872
|
+
};
|
|
873
|
+
url: '/users/{user_id}';
|
|
874
|
+
};
|
|
875
|
+
type UsersRetrieveErrors = {
|
|
876
|
+
/**
|
|
877
|
+
* Error response
|
|
878
|
+
*/
|
|
879
|
+
default: ErrorResponse;
|
|
880
|
+
};
|
|
881
|
+
type UsersRetrieveError = UsersRetrieveErrors[keyof UsersRetrieveErrors];
|
|
882
|
+
type UsersRetrieveResponses = {
|
|
883
|
+
/**
|
|
884
|
+
* Response
|
|
885
|
+
*/
|
|
886
|
+
200: {
|
|
887
|
+
id: string;
|
|
888
|
+
object: 'user';
|
|
889
|
+
email: string;
|
|
890
|
+
name?: string;
|
|
891
|
+
blocked?: boolean;
|
|
892
|
+
plan: string;
|
|
893
|
+
quota: {
|
|
894
|
+
limit: number;
|
|
895
|
+
usage: number;
|
|
896
|
+
available: number;
|
|
897
|
+
updated: string;
|
|
898
|
+
refreshDate?: string;
|
|
899
|
+
};
|
|
900
|
+
organization: string | null;
|
|
901
|
+
/**
|
|
902
|
+
* Creation date as a Unix timestamp (ms)
|
|
903
|
+
*/
|
|
904
|
+
created_at: number;
|
|
905
|
+
credentials?: {
|
|
906
|
+
google?: {
|
|
907
|
+
access_token?: string;
|
|
908
|
+
refresh_token?: string;
|
|
909
|
+
expiry_date?: number;
|
|
910
|
+
expires_in?: number;
|
|
911
|
+
update_date?: number;
|
|
912
|
+
scope?: string;
|
|
913
|
+
api_domain?: string;
|
|
914
|
+
};
|
|
915
|
+
microsoft?: {
|
|
916
|
+
access_token?: string;
|
|
917
|
+
refresh_token?: string;
|
|
918
|
+
expiry_date?: number;
|
|
919
|
+
expires_in?: number;
|
|
920
|
+
update_date?: number;
|
|
921
|
+
scope?: string;
|
|
922
|
+
api_domain?: string;
|
|
923
|
+
};
|
|
924
|
+
zoho?: {
|
|
925
|
+
access_token?: string;
|
|
926
|
+
refresh_token?: string;
|
|
927
|
+
expiry_date?: number;
|
|
928
|
+
expires_in?: number;
|
|
929
|
+
update_date?: number;
|
|
930
|
+
scope?: string;
|
|
931
|
+
api_domain?: string;
|
|
932
|
+
};
|
|
933
|
+
sendgrid?: {
|
|
934
|
+
api_key?: string;
|
|
935
|
+
};
|
|
936
|
+
};
|
|
937
|
+
subscription?: {
|
|
938
|
+
id: string;
|
|
939
|
+
created_at: number;
|
|
940
|
+
/**
|
|
941
|
+
* Whether the user is a billing admin
|
|
942
|
+
*/
|
|
943
|
+
admin: boolean;
|
|
944
|
+
current_period_start: number;
|
|
945
|
+
current_period_end: number;
|
|
946
|
+
quantity: number;
|
|
947
|
+
currency: string;
|
|
948
|
+
amount: number | null;
|
|
949
|
+
discount_percentage?: number | null;
|
|
950
|
+
name: string | null;
|
|
951
|
+
billing_period: 'day' | 'week' | 'month' | 'year' | null;
|
|
952
|
+
plan: 'free' | 'starter' | 'pro' | 'premium' | 'business' | null;
|
|
953
|
+
default_payment_method: {
|
|
954
|
+
type: string;
|
|
955
|
+
brand?: string | null;
|
|
956
|
+
last4: string | null;
|
|
957
|
+
exp_month: number | null;
|
|
958
|
+
exp_year: number | null;
|
|
959
|
+
bank_name?: string | null;
|
|
960
|
+
} | null;
|
|
961
|
+
addons: {
|
|
962
|
+
senders?: {
|
|
963
|
+
quantity: number;
|
|
964
|
+
};
|
|
965
|
+
email_warmups?: {
|
|
966
|
+
quantity: number;
|
|
967
|
+
};
|
|
968
|
+
};
|
|
969
|
+
} | null;
|
|
970
|
+
};
|
|
971
|
+
};
|
|
972
|
+
type UsersRetrieveResponse = UsersRetrieveResponses[keyof UsersRetrieveResponses];
|
|
805
973
|
type UsersGetCurrentOrganizationData = {
|
|
806
974
|
body?: never;
|
|
807
975
|
path: {
|
|
@@ -900,7 +1068,7 @@ type UsersDeleteActionResponses = {
|
|
|
900
1068
|
204: void;
|
|
901
1069
|
};
|
|
902
1070
|
type UsersDeleteActionResponse = UsersDeleteActionResponses[keyof UsersDeleteActionResponses];
|
|
903
|
-
type
|
|
1071
|
+
type OrganizationMembersListData = {
|
|
904
1072
|
body?: never;
|
|
905
1073
|
path: {
|
|
906
1074
|
organization_id: string;
|
|
@@ -911,40 +1079,35 @@ type OrganizationMemberListData = {
|
|
|
911
1079
|
};
|
|
912
1080
|
url: '/organizations/{organization_id}/members';
|
|
913
1081
|
};
|
|
914
|
-
type
|
|
1082
|
+
type OrganizationMembersListErrors = {
|
|
915
1083
|
/**
|
|
916
1084
|
* Error response
|
|
917
1085
|
*/
|
|
918
1086
|
default: ErrorResponse;
|
|
919
1087
|
};
|
|
920
|
-
type
|
|
921
|
-
type
|
|
1088
|
+
type OrganizationMembersListError = OrganizationMembersListErrors[keyof OrganizationMembersListErrors];
|
|
1089
|
+
type OrganizationMembersListResponses = {
|
|
922
1090
|
/**
|
|
923
1091
|
* Response
|
|
924
1092
|
*/
|
|
925
1093
|
200: Array<{
|
|
1094
|
+
user: string;
|
|
1095
|
+
roles: Array<'admin' | 'member'>;
|
|
1096
|
+
created_at: number;
|
|
1097
|
+
updated_at?: number;
|
|
1098
|
+
id: string;
|
|
1099
|
+
object: 'organization_member';
|
|
926
1100
|
email: string;
|
|
927
1101
|
name?: string;
|
|
928
1102
|
profile_picture_url?: string;
|
|
929
|
-
|
|
930
|
-
/**
|
|
931
|
-
* Creation date
|
|
932
|
-
*/
|
|
933
|
-
created_at: string;
|
|
934
|
-
/**
|
|
935
|
-
* Last Update date
|
|
936
|
-
*/
|
|
937
|
-
updated_at?: string;
|
|
938
|
-
id: string;
|
|
939
|
-
organization_id: string;
|
|
940
|
-
object: 'organization_member';
|
|
1103
|
+
organization: string;
|
|
941
1104
|
}>;
|
|
942
1105
|
};
|
|
943
|
-
type
|
|
944
|
-
type
|
|
1106
|
+
type OrganizationMembersListResponse = OrganizationMembersListResponses[keyof OrganizationMembersListResponses];
|
|
1107
|
+
type OrganizationMembersCreateData = {
|
|
945
1108
|
body: {
|
|
946
1109
|
email: string;
|
|
947
|
-
|
|
1110
|
+
roles: Array<'admin' | 'member'>;
|
|
948
1111
|
};
|
|
949
1112
|
path: {
|
|
950
1113
|
organization_id: string;
|
|
@@ -952,37 +1115,32 @@ type OrganizationMemberCreateData = {
|
|
|
952
1115
|
query?: never;
|
|
953
1116
|
url: '/organizations/{organization_id}/members';
|
|
954
1117
|
};
|
|
955
|
-
type
|
|
1118
|
+
type OrganizationMembersCreateErrors = {
|
|
956
1119
|
/**
|
|
957
1120
|
* Error response
|
|
958
1121
|
*/
|
|
959
1122
|
default: ErrorResponse;
|
|
960
1123
|
};
|
|
961
|
-
type
|
|
962
|
-
type
|
|
1124
|
+
type OrganizationMembersCreateError = OrganizationMembersCreateErrors[keyof OrganizationMembersCreateErrors];
|
|
1125
|
+
type OrganizationMembersCreateResponses = {
|
|
963
1126
|
/**
|
|
964
1127
|
* Response
|
|
965
1128
|
*/
|
|
966
1129
|
201: {
|
|
1130
|
+
user: string;
|
|
1131
|
+
roles: Array<'admin' | 'member'>;
|
|
1132
|
+
created_at: number;
|
|
1133
|
+
updated_at?: number;
|
|
1134
|
+
id: string;
|
|
1135
|
+
object: 'organization_member';
|
|
967
1136
|
email: string;
|
|
968
1137
|
name?: string;
|
|
969
1138
|
profile_picture_url?: string;
|
|
970
|
-
|
|
971
|
-
/**
|
|
972
|
-
* Creation date
|
|
973
|
-
*/
|
|
974
|
-
created_at: string;
|
|
975
|
-
/**
|
|
976
|
-
* Last Update date
|
|
977
|
-
*/
|
|
978
|
-
updated_at?: string;
|
|
979
|
-
id: string;
|
|
980
|
-
organization_id: string;
|
|
981
|
-
object: 'organization_member';
|
|
1139
|
+
organization: string;
|
|
982
1140
|
};
|
|
983
1141
|
};
|
|
984
|
-
type
|
|
985
|
-
type
|
|
1142
|
+
type OrganizationMembersCreateResponse = OrganizationMembersCreateResponses[keyof OrganizationMembersCreateResponses];
|
|
1143
|
+
type OrganizationMembersDeleteData = {
|
|
986
1144
|
body?: never;
|
|
987
1145
|
path: {
|
|
988
1146
|
organization_id: string;
|
|
@@ -991,23 +1149,23 @@ type OrganizationMemberDeleteData = {
|
|
|
991
1149
|
query?: never;
|
|
992
1150
|
url: '/organizations/{organization_id}/members/{member_id}';
|
|
993
1151
|
};
|
|
994
|
-
type
|
|
1152
|
+
type OrganizationMembersDeleteErrors = {
|
|
995
1153
|
/**
|
|
996
1154
|
* Error response
|
|
997
1155
|
*/
|
|
998
1156
|
default: ErrorResponse;
|
|
999
1157
|
};
|
|
1000
|
-
type
|
|
1001
|
-
type
|
|
1158
|
+
type OrganizationMembersDeleteError = OrganizationMembersDeleteErrors[keyof OrganizationMembersDeleteErrors];
|
|
1159
|
+
type OrganizationMembersDeleteResponses = {
|
|
1002
1160
|
/**
|
|
1003
1161
|
* Response
|
|
1004
1162
|
*/
|
|
1005
1163
|
204: void;
|
|
1006
1164
|
};
|
|
1007
|
-
type
|
|
1008
|
-
type
|
|
1165
|
+
type OrganizationMembersDeleteResponse = OrganizationMembersDeleteResponses[keyof OrganizationMembersDeleteResponses];
|
|
1166
|
+
type OrganizationMembersUpdateData = {
|
|
1009
1167
|
body: {
|
|
1010
|
-
|
|
1168
|
+
roles?: Array<'admin' | 'member'>;
|
|
1011
1169
|
};
|
|
1012
1170
|
path: {
|
|
1013
1171
|
organization_id: string;
|
|
@@ -1016,36 +1174,31 @@ type OrganizationMemberUpdateData = {
|
|
|
1016
1174
|
query?: never;
|
|
1017
1175
|
url: '/organizations/{organization_id}/members/{member_id}';
|
|
1018
1176
|
};
|
|
1019
|
-
type
|
|
1177
|
+
type OrganizationMembersUpdateErrors = {
|
|
1020
1178
|
/**
|
|
1021
1179
|
* Error response
|
|
1022
1180
|
*/
|
|
1023
1181
|
default: ErrorResponse;
|
|
1024
1182
|
};
|
|
1025
|
-
type
|
|
1026
|
-
type
|
|
1183
|
+
type OrganizationMembersUpdateError = OrganizationMembersUpdateErrors[keyof OrganizationMembersUpdateErrors];
|
|
1184
|
+
type OrganizationMembersUpdateResponses = {
|
|
1027
1185
|
/**
|
|
1028
1186
|
* Response
|
|
1029
1187
|
*/
|
|
1030
1188
|
200: {
|
|
1189
|
+
user: string;
|
|
1190
|
+
roles: Array<'admin' | 'member'>;
|
|
1191
|
+
created_at: number;
|
|
1192
|
+
updated_at?: number;
|
|
1193
|
+
id: string;
|
|
1194
|
+
object: 'organization_member';
|
|
1031
1195
|
email: string;
|
|
1032
1196
|
name?: string;
|
|
1033
1197
|
profile_picture_url?: string;
|
|
1034
|
-
|
|
1035
|
-
/**
|
|
1036
|
-
* Creation date
|
|
1037
|
-
*/
|
|
1038
|
-
created_at: string;
|
|
1039
|
-
/**
|
|
1040
|
-
* Last Update date
|
|
1041
|
-
*/
|
|
1042
|
-
updated_at?: string;
|
|
1043
|
-
id: string;
|
|
1044
|
-
organization_id: string;
|
|
1045
|
-
object: 'organization_member';
|
|
1198
|
+
organization: string;
|
|
1046
1199
|
};
|
|
1047
1200
|
};
|
|
1048
|
-
type
|
|
1201
|
+
type OrganizationMembersUpdateResponse = OrganizationMembersUpdateResponses[keyof OrganizationMembersUpdateResponses];
|
|
1049
1202
|
type OrganizationsListData = {
|
|
1050
1203
|
body?: never;
|
|
1051
1204
|
path?: never;
|
|
@@ -1066,148 +1219,279 @@ type OrganizationsListResponses = {
|
|
|
1066
1219
|
200: Array<{
|
|
1067
1220
|
name: string;
|
|
1068
1221
|
owner: string;
|
|
1069
|
-
|
|
1070
|
-
|
|
1071
|
-
|
|
1072
|
-
|
|
1073
|
-
/**
|
|
1074
|
-
* Last Update date
|
|
1075
|
-
*/
|
|
1076
|
-
updated_at?: string;
|
|
1222
|
+
customer?: string;
|
|
1223
|
+
subscription?: string;
|
|
1224
|
+
created_at: number;
|
|
1225
|
+
updated_at?: number;
|
|
1077
1226
|
id: string;
|
|
1078
1227
|
object: 'organization';
|
|
1079
1228
|
}>;
|
|
1080
1229
|
};
|
|
1081
|
-
type OrganizationsListResponse = OrganizationsListResponses[keyof OrganizationsListResponses];
|
|
1082
|
-
type OrganizationsCreateData = {
|
|
1230
|
+
type OrganizationsListResponse = OrganizationsListResponses[keyof OrganizationsListResponses];
|
|
1231
|
+
type OrganizationsCreateData = {
|
|
1232
|
+
body: {
|
|
1233
|
+
name: string;
|
|
1234
|
+
};
|
|
1235
|
+
path?: never;
|
|
1236
|
+
query?: never;
|
|
1237
|
+
url: '/organizations';
|
|
1238
|
+
};
|
|
1239
|
+
type OrganizationsCreateErrors = {
|
|
1240
|
+
/**
|
|
1241
|
+
* Error response
|
|
1242
|
+
*/
|
|
1243
|
+
default: ErrorResponse;
|
|
1244
|
+
};
|
|
1245
|
+
type OrganizationsCreateError = OrganizationsCreateErrors[keyof OrganizationsCreateErrors];
|
|
1246
|
+
type OrganizationsCreateResponses = {
|
|
1247
|
+
/**
|
|
1248
|
+
* Response
|
|
1249
|
+
*/
|
|
1250
|
+
201: {
|
|
1251
|
+
name: string;
|
|
1252
|
+
owner: string;
|
|
1253
|
+
customer?: string;
|
|
1254
|
+
subscription?: string;
|
|
1255
|
+
created_at: number;
|
|
1256
|
+
updated_at?: number;
|
|
1257
|
+
id: string;
|
|
1258
|
+
object: 'organization';
|
|
1259
|
+
};
|
|
1260
|
+
};
|
|
1261
|
+
type OrganizationsCreateResponse = OrganizationsCreateResponses[keyof OrganizationsCreateResponses];
|
|
1262
|
+
type OrganizationsDeleteData = {
|
|
1263
|
+
body?: never;
|
|
1264
|
+
path: {
|
|
1265
|
+
organization_id: string;
|
|
1266
|
+
};
|
|
1267
|
+
query?: never;
|
|
1268
|
+
url: '/organizations/{organization_id}';
|
|
1269
|
+
};
|
|
1270
|
+
type OrganizationsDeleteErrors = {
|
|
1271
|
+
/**
|
|
1272
|
+
* Error response
|
|
1273
|
+
*/
|
|
1274
|
+
default: ErrorResponse;
|
|
1275
|
+
};
|
|
1276
|
+
type OrganizationsDeleteError = OrganizationsDeleteErrors[keyof OrganizationsDeleteErrors];
|
|
1277
|
+
type OrganizationsDeleteResponses = {
|
|
1278
|
+
/**
|
|
1279
|
+
* Response
|
|
1280
|
+
*/
|
|
1281
|
+
204: void;
|
|
1282
|
+
};
|
|
1283
|
+
type OrganizationsDeleteResponse = OrganizationsDeleteResponses[keyof OrganizationsDeleteResponses];
|
|
1284
|
+
type OrganizationsRetrieveData = {
|
|
1285
|
+
body?: never;
|
|
1286
|
+
path: {
|
|
1287
|
+
organization_id: string;
|
|
1288
|
+
};
|
|
1289
|
+
query?: never;
|
|
1290
|
+
url: '/organizations/{organization_id}';
|
|
1291
|
+
};
|
|
1292
|
+
type OrganizationsRetrieveErrors = {
|
|
1293
|
+
/**
|
|
1294
|
+
* Error response
|
|
1295
|
+
*/
|
|
1296
|
+
default: ErrorResponse;
|
|
1297
|
+
};
|
|
1298
|
+
type OrganizationsRetrieveError = OrganizationsRetrieveErrors[keyof OrganizationsRetrieveErrors];
|
|
1299
|
+
type OrganizationsRetrieveResponses = {
|
|
1300
|
+
/**
|
|
1301
|
+
* Response
|
|
1302
|
+
*/
|
|
1303
|
+
200: {
|
|
1304
|
+
name: string;
|
|
1305
|
+
owner: string;
|
|
1306
|
+
customer?: string;
|
|
1307
|
+
subscription?: string;
|
|
1308
|
+
created_at: number;
|
|
1309
|
+
updated_at?: number;
|
|
1310
|
+
id: string;
|
|
1311
|
+
object: 'organization';
|
|
1312
|
+
};
|
|
1313
|
+
};
|
|
1314
|
+
type OrganizationsRetrieveResponse = OrganizationsRetrieveResponses[keyof OrganizationsRetrieveResponses];
|
|
1315
|
+
type OrganizationsUpdateData = {
|
|
1316
|
+
body: {
|
|
1317
|
+
name?: string;
|
|
1318
|
+
};
|
|
1319
|
+
path: {
|
|
1320
|
+
organization_id: string;
|
|
1321
|
+
};
|
|
1322
|
+
query?: never;
|
|
1323
|
+
url: '/organizations/{organization_id}';
|
|
1324
|
+
};
|
|
1325
|
+
type OrganizationsUpdateErrors = {
|
|
1326
|
+
/**
|
|
1327
|
+
* Error response
|
|
1328
|
+
*/
|
|
1329
|
+
default: ErrorResponse;
|
|
1330
|
+
};
|
|
1331
|
+
type OrganizationsUpdateError = OrganizationsUpdateErrors[keyof OrganizationsUpdateErrors];
|
|
1332
|
+
type OrganizationsUpdateResponses = {
|
|
1333
|
+
/**
|
|
1334
|
+
* Response
|
|
1335
|
+
*/
|
|
1336
|
+
200: {
|
|
1337
|
+
name: string;
|
|
1338
|
+
owner: string;
|
|
1339
|
+
customer?: string;
|
|
1340
|
+
subscription?: string;
|
|
1341
|
+
created_at: number;
|
|
1342
|
+
updated_at?: number;
|
|
1343
|
+
id: string;
|
|
1344
|
+
object: 'organization';
|
|
1345
|
+
};
|
|
1346
|
+
};
|
|
1347
|
+
type OrganizationsUpdateResponse = OrganizationsUpdateResponses[keyof OrganizationsUpdateResponses];
|
|
1348
|
+
type BillingSubscriptionGetData = {
|
|
1349
|
+
body?: never;
|
|
1350
|
+
path?: never;
|
|
1351
|
+
query?: never;
|
|
1352
|
+
url: '/billing/subscription';
|
|
1353
|
+
};
|
|
1354
|
+
type BillingSubscriptionGetErrors = {
|
|
1355
|
+
/**
|
|
1356
|
+
* Error response
|
|
1357
|
+
*/
|
|
1358
|
+
default: ErrorResponse;
|
|
1359
|
+
};
|
|
1360
|
+
type BillingSubscriptionGetError = BillingSubscriptionGetErrors[keyof BillingSubscriptionGetErrors];
|
|
1361
|
+
type BillingSubscriptionGetResponses = {
|
|
1362
|
+
/**
|
|
1363
|
+
* Response
|
|
1364
|
+
*/
|
|
1365
|
+
200: {
|
|
1366
|
+
id: string;
|
|
1367
|
+
created_at: number;
|
|
1368
|
+
/**
|
|
1369
|
+
* Whether the user is a billing admin
|
|
1370
|
+
*/
|
|
1371
|
+
admin: boolean;
|
|
1372
|
+
current_period_start: number;
|
|
1373
|
+
current_period_end: number;
|
|
1374
|
+
quantity: number;
|
|
1375
|
+
currency: string;
|
|
1376
|
+
amount: number | null;
|
|
1377
|
+
discount_percentage?: number | null;
|
|
1378
|
+
name: string | null;
|
|
1379
|
+
billing_period: 'day' | 'week' | 'month' | 'year' | null;
|
|
1380
|
+
plan: 'free' | 'starter' | 'pro' | 'premium' | 'business' | null;
|
|
1381
|
+
default_payment_method: {
|
|
1382
|
+
type: string;
|
|
1383
|
+
brand?: string | null;
|
|
1384
|
+
last4: string | null;
|
|
1385
|
+
exp_month: number | null;
|
|
1386
|
+
exp_year: number | null;
|
|
1387
|
+
bank_name?: string | null;
|
|
1388
|
+
} | null;
|
|
1389
|
+
addons: {
|
|
1390
|
+
senders?: {
|
|
1391
|
+
quantity: number;
|
|
1392
|
+
};
|
|
1393
|
+
email_warmups?: {
|
|
1394
|
+
quantity: number;
|
|
1395
|
+
};
|
|
1396
|
+
};
|
|
1397
|
+
} | null;
|
|
1398
|
+
};
|
|
1399
|
+
type BillingSubscriptionGetResponse = BillingSubscriptionGetResponses[keyof BillingSubscriptionGetResponses];
|
|
1400
|
+
type BillingSubscriptionUpdateData = {
|
|
1083
1401
|
body: {
|
|
1084
|
-
|
|
1402
|
+
plan: 'free' | 'starter' | 'pro' | 'premium' | 'business';
|
|
1403
|
+
billing_period: 'month' | 'year';
|
|
1085
1404
|
};
|
|
1086
1405
|
path?: never;
|
|
1087
1406
|
query?: never;
|
|
1088
|
-
url: '/
|
|
1407
|
+
url: '/billing/subscription';
|
|
1089
1408
|
};
|
|
1090
|
-
type
|
|
1409
|
+
type BillingSubscriptionUpdateErrors = {
|
|
1091
1410
|
/**
|
|
1092
1411
|
* Error response
|
|
1093
1412
|
*/
|
|
1094
1413
|
default: ErrorResponse;
|
|
1095
1414
|
};
|
|
1096
|
-
type
|
|
1097
|
-
type
|
|
1415
|
+
type BillingSubscriptionUpdateError = BillingSubscriptionUpdateErrors[keyof BillingSubscriptionUpdateErrors];
|
|
1416
|
+
type BillingSubscriptionUpdateResponses = {
|
|
1098
1417
|
/**
|
|
1099
1418
|
* Response
|
|
1100
1419
|
*/
|
|
1101
|
-
|
|
1102
|
-
|
|
1103
|
-
|
|
1104
|
-
|
|
1105
|
-
* Creation date
|
|
1106
|
-
*/
|
|
1107
|
-
created_at: string;
|
|
1108
|
-
/**
|
|
1109
|
-
* Last Update date
|
|
1110
|
-
*/
|
|
1111
|
-
updated_at?: string;
|
|
1112
|
-
id: string;
|
|
1113
|
-
object: 'organization';
|
|
1114
|
-
};
|
|
1115
|
-
};
|
|
1116
|
-
type OrganizationsCreateResponse = OrganizationsCreateResponses[keyof OrganizationsCreateResponses];
|
|
1117
|
-
type OrganizationsDeleteData = {
|
|
1118
|
-
body?: never;
|
|
1119
|
-
path: {
|
|
1120
|
-
organization_id: string;
|
|
1420
|
+
200: {
|
|
1421
|
+
status: 'confirmation_required' | 'success' | 'payment_failed';
|
|
1422
|
+
client_secret?: string;
|
|
1423
|
+
failure_code?: string;
|
|
1121
1424
|
};
|
|
1122
|
-
query?: never;
|
|
1123
|
-
url: '/organizations/{organization_id}';
|
|
1124
|
-
};
|
|
1125
|
-
type OrganizationsDeleteErrors = {
|
|
1126
|
-
/**
|
|
1127
|
-
* Error response
|
|
1128
|
-
*/
|
|
1129
|
-
default: ErrorResponse;
|
|
1130
|
-
};
|
|
1131
|
-
type OrganizationsDeleteError = OrganizationsDeleteErrors[keyof OrganizationsDeleteErrors];
|
|
1132
|
-
type OrganizationsDeleteResponses = {
|
|
1133
|
-
/**
|
|
1134
|
-
* Response
|
|
1135
|
-
*/
|
|
1136
|
-
204: void;
|
|
1137
1425
|
};
|
|
1138
|
-
type
|
|
1139
|
-
type
|
|
1140
|
-
body
|
|
1141
|
-
|
|
1142
|
-
|
|
1426
|
+
type BillingSubscriptionUpdateResponse = BillingSubscriptionUpdateResponses[keyof BillingSubscriptionUpdateResponses];
|
|
1427
|
+
type BillingSubscriptionPreviewUpdateData = {
|
|
1428
|
+
body: {
|
|
1429
|
+
plan: 'free' | 'starter' | 'pro' | 'premium' | 'business';
|
|
1430
|
+
billing_period: 'month' | 'year';
|
|
1143
1431
|
};
|
|
1432
|
+
path?: never;
|
|
1144
1433
|
query?: never;
|
|
1145
|
-
url: '/
|
|
1434
|
+
url: '/billing/subscription/preview';
|
|
1146
1435
|
};
|
|
1147
|
-
type
|
|
1436
|
+
type BillingSubscriptionPreviewUpdateErrors = {
|
|
1148
1437
|
/**
|
|
1149
1438
|
* Error response
|
|
1150
1439
|
*/
|
|
1151
1440
|
default: ErrorResponse;
|
|
1152
1441
|
};
|
|
1153
|
-
type
|
|
1154
|
-
type
|
|
1442
|
+
type BillingSubscriptionPreviewUpdateError = BillingSubscriptionPreviewUpdateErrors[keyof BillingSubscriptionPreviewUpdateErrors];
|
|
1443
|
+
type BillingSubscriptionPreviewUpdateResponses = {
|
|
1155
1444
|
/**
|
|
1156
1445
|
* Response
|
|
1157
1446
|
*/
|
|
1158
1447
|
200: {
|
|
1159
|
-
|
|
1160
|
-
|
|
1161
|
-
|
|
1162
|
-
|
|
1163
|
-
|
|
1164
|
-
|
|
1165
|
-
|
|
1166
|
-
|
|
1167
|
-
|
|
1168
|
-
|
|
1169
|
-
|
|
1170
|
-
|
|
1448
|
+
discount_percents: Array<number>;
|
|
1449
|
+
total_excluding_tax: number;
|
|
1450
|
+
total: number;
|
|
1451
|
+
amount_due: number;
|
|
1452
|
+
added_from_balance: number;
|
|
1453
|
+
consumed_balance: number;
|
|
1454
|
+
credited_to_balance: number;
|
|
1455
|
+
lines: Array<{
|
|
1456
|
+
amount: number;
|
|
1457
|
+
billing_period: 'day' | 'week' | 'month' | 'year';
|
|
1458
|
+
proration: boolean;
|
|
1459
|
+
plan?: 'free' | 'starter' | 'pro' | 'premium' | 'business';
|
|
1460
|
+
addon?: 'senders' | 'email_warmups';
|
|
1461
|
+
}>;
|
|
1462
|
+
next_renewal: number;
|
|
1463
|
+
total_tax_amounts: Array<{
|
|
1464
|
+
amount: number;
|
|
1465
|
+
}>;
|
|
1171
1466
|
};
|
|
1172
1467
|
};
|
|
1173
|
-
type
|
|
1174
|
-
type
|
|
1468
|
+
type BillingSubscriptionPreviewUpdateResponse = BillingSubscriptionPreviewUpdateResponses[keyof BillingSubscriptionPreviewUpdateResponses];
|
|
1469
|
+
type BillingSubscriptionCheckoutData = {
|
|
1175
1470
|
body: {
|
|
1176
|
-
|
|
1177
|
-
|
|
1178
|
-
|
|
1179
|
-
organization_id: string;
|
|
1471
|
+
price_id: string;
|
|
1472
|
+
coupon?: string;
|
|
1473
|
+
currency?: 'usd' | 'eur' | 'inr';
|
|
1180
1474
|
};
|
|
1475
|
+
path?: never;
|
|
1181
1476
|
query?: never;
|
|
1182
|
-
url: '/
|
|
1477
|
+
url: '/billing/subscription/checkout';
|
|
1183
1478
|
};
|
|
1184
|
-
type
|
|
1479
|
+
type BillingSubscriptionCheckoutErrors = {
|
|
1185
1480
|
/**
|
|
1186
1481
|
* Error response
|
|
1187
1482
|
*/
|
|
1188
1483
|
default: ErrorResponse;
|
|
1189
1484
|
};
|
|
1190
|
-
type
|
|
1191
|
-
type
|
|
1485
|
+
type BillingSubscriptionCheckoutError = BillingSubscriptionCheckoutErrors[keyof BillingSubscriptionCheckoutErrors];
|
|
1486
|
+
type BillingSubscriptionCheckoutResponses = {
|
|
1192
1487
|
/**
|
|
1193
1488
|
* Response
|
|
1194
1489
|
*/
|
|
1195
1490
|
200: {
|
|
1196
|
-
|
|
1197
|
-
owner: string;
|
|
1198
|
-
/**
|
|
1199
|
-
* Creation date
|
|
1200
|
-
*/
|
|
1201
|
-
created_at: string;
|
|
1202
|
-
/**
|
|
1203
|
-
* Last Update date
|
|
1204
|
-
*/
|
|
1205
|
-
updated_at?: string;
|
|
1206
|
-
id: string;
|
|
1207
|
-
object: 'organization';
|
|
1491
|
+
url: string;
|
|
1208
1492
|
};
|
|
1209
1493
|
};
|
|
1210
|
-
type
|
|
1494
|
+
type BillingSubscriptionCheckoutResponse = BillingSubscriptionCheckoutResponses[keyof BillingSubscriptionCheckoutResponses];
|
|
1211
1495
|
type ContactListsCreateData = {
|
|
1212
1496
|
body: {
|
|
1213
1497
|
owner: string;
|
|
@@ -1955,123 +2239,6 @@ type BillingAddonsUpdateResponses = {
|
|
|
1955
2239
|
};
|
|
1956
2240
|
};
|
|
1957
2241
|
type BillingAddonsUpdateResponse = BillingAddonsUpdateResponses[keyof BillingAddonsUpdateResponses];
|
|
1958
|
-
type BillingSubscriptionGetData = {
|
|
1959
|
-
body?: never;
|
|
1960
|
-
path?: never;
|
|
1961
|
-
query?: never;
|
|
1962
|
-
url: '/billing/subscription';
|
|
1963
|
-
};
|
|
1964
|
-
type BillingSubscriptionGetErrors = {
|
|
1965
|
-
/**
|
|
1966
|
-
* Error response
|
|
1967
|
-
*/
|
|
1968
|
-
default: ErrorResponse;
|
|
1969
|
-
};
|
|
1970
|
-
type BillingSubscriptionGetError = BillingSubscriptionGetErrors[keyof BillingSubscriptionGetErrors];
|
|
1971
|
-
type BillingSubscriptionGetResponses = {
|
|
1972
|
-
/**
|
|
1973
|
-
* Response
|
|
1974
|
-
*/
|
|
1975
|
-
200: {
|
|
1976
|
-
id: string;
|
|
1977
|
-
created_at: number;
|
|
1978
|
-
current_period_start: number;
|
|
1979
|
-
current_period_end: number;
|
|
1980
|
-
quantity: number;
|
|
1981
|
-
currency: string;
|
|
1982
|
-
amount: number | null;
|
|
1983
|
-
discount_percentage?: number | null;
|
|
1984
|
-
name: string | null;
|
|
1985
|
-
billing_period: 'day' | 'week' | 'month' | 'year' | null;
|
|
1986
|
-
plan: 'free' | 'starter' | 'pro' | 'premium' | 'business' | null;
|
|
1987
|
-
default_payment_method: {
|
|
1988
|
-
type: string;
|
|
1989
|
-
brand?: string | null;
|
|
1990
|
-
last4: string | null;
|
|
1991
|
-
exp_month: number | null;
|
|
1992
|
-
exp_year: number | null;
|
|
1993
|
-
bank_name?: string | null;
|
|
1994
|
-
} | null;
|
|
1995
|
-
addons: {
|
|
1996
|
-
senders?: {
|
|
1997
|
-
quantity: number;
|
|
1998
|
-
};
|
|
1999
|
-
email_warmups?: {
|
|
2000
|
-
quantity: number;
|
|
2001
|
-
};
|
|
2002
|
-
};
|
|
2003
|
-
} | null;
|
|
2004
|
-
};
|
|
2005
|
-
type BillingSubscriptionGetResponse = BillingSubscriptionGetResponses[keyof BillingSubscriptionGetResponses];
|
|
2006
|
-
type BillingSubscriptionUpdateData = {
|
|
2007
|
-
body: {
|
|
2008
|
-
plan: 'free' | 'starter' | 'pro' | 'premium' | 'business';
|
|
2009
|
-
billing_period: 'month' | 'year';
|
|
2010
|
-
};
|
|
2011
|
-
path?: never;
|
|
2012
|
-
query?: never;
|
|
2013
|
-
url: '/billing/subscription';
|
|
2014
|
-
};
|
|
2015
|
-
type BillingSubscriptionUpdateErrors = {
|
|
2016
|
-
/**
|
|
2017
|
-
* Error response
|
|
2018
|
-
*/
|
|
2019
|
-
default: ErrorResponse;
|
|
2020
|
-
};
|
|
2021
|
-
type BillingSubscriptionUpdateError = BillingSubscriptionUpdateErrors[keyof BillingSubscriptionUpdateErrors];
|
|
2022
|
-
type BillingSubscriptionUpdateResponses = {
|
|
2023
|
-
/**
|
|
2024
|
-
* Response
|
|
2025
|
-
*/
|
|
2026
|
-
200: {
|
|
2027
|
-
status: 'confirmation_required' | 'success' | 'payment_failed';
|
|
2028
|
-
client_secret?: string;
|
|
2029
|
-
failure_code?: string;
|
|
2030
|
-
};
|
|
2031
|
-
};
|
|
2032
|
-
type BillingSubscriptionUpdateResponse = BillingSubscriptionUpdateResponses[keyof BillingSubscriptionUpdateResponses];
|
|
2033
|
-
type BillingSubscriptionPreviewUpdateData = {
|
|
2034
|
-
body: {
|
|
2035
|
-
plan: 'free' | 'starter' | 'pro' | 'premium' | 'business';
|
|
2036
|
-
billing_period: 'month' | 'year';
|
|
2037
|
-
};
|
|
2038
|
-
path?: never;
|
|
2039
|
-
query?: never;
|
|
2040
|
-
url: '/billing/subscription/preview';
|
|
2041
|
-
};
|
|
2042
|
-
type BillingSubscriptionPreviewUpdateErrors = {
|
|
2043
|
-
/**
|
|
2044
|
-
* Error response
|
|
2045
|
-
*/
|
|
2046
|
-
default: ErrorResponse;
|
|
2047
|
-
};
|
|
2048
|
-
type BillingSubscriptionPreviewUpdateError = BillingSubscriptionPreviewUpdateErrors[keyof BillingSubscriptionPreviewUpdateErrors];
|
|
2049
|
-
type BillingSubscriptionPreviewUpdateResponses = {
|
|
2050
|
-
/**
|
|
2051
|
-
* Response
|
|
2052
|
-
*/
|
|
2053
|
-
200: {
|
|
2054
|
-
discount_percents: Array<number>;
|
|
2055
|
-
total_excluding_tax: number;
|
|
2056
|
-
total: number;
|
|
2057
|
-
amount_due: number;
|
|
2058
|
-
added_from_balance: number;
|
|
2059
|
-
consumed_balance: number;
|
|
2060
|
-
credited_to_balance: number;
|
|
2061
|
-
lines: Array<{
|
|
2062
|
-
amount: number;
|
|
2063
|
-
billing_period: 'day' | 'week' | 'month' | 'year';
|
|
2064
|
-
proration: boolean;
|
|
2065
|
-
plan?: 'free' | 'starter' | 'pro' | 'premium' | 'business';
|
|
2066
|
-
addon?: 'senders' | 'email_warmups';
|
|
2067
|
-
}>;
|
|
2068
|
-
next_renewal: number;
|
|
2069
|
-
total_tax_amounts: Array<{
|
|
2070
|
-
amount: number;
|
|
2071
|
-
}>;
|
|
2072
|
-
};
|
|
2073
|
-
};
|
|
2074
|
-
type BillingSubscriptionPreviewUpdateResponse = BillingSubscriptionPreviewUpdateResponses[keyof BillingSubscriptionPreviewUpdateResponses];
|
|
2075
2242
|
type BillingGetPricesData = {
|
|
2076
2243
|
body?: never;
|
|
2077
2244
|
path?: never;
|
|
@@ -2170,6 +2337,11 @@ type types_gen_d_BillingGetPricesError = BillingGetPricesError;
|
|
|
2170
2337
|
type types_gen_d_BillingGetPricesErrors = BillingGetPricesErrors;
|
|
2171
2338
|
type types_gen_d_BillingGetPricesResponse = BillingGetPricesResponse;
|
|
2172
2339
|
type types_gen_d_BillingGetPricesResponses = BillingGetPricesResponses;
|
|
2340
|
+
type types_gen_d_BillingSubscriptionCheckoutData = BillingSubscriptionCheckoutData;
|
|
2341
|
+
type types_gen_d_BillingSubscriptionCheckoutError = BillingSubscriptionCheckoutError;
|
|
2342
|
+
type types_gen_d_BillingSubscriptionCheckoutErrors = BillingSubscriptionCheckoutErrors;
|
|
2343
|
+
type types_gen_d_BillingSubscriptionCheckoutResponse = BillingSubscriptionCheckoutResponse;
|
|
2344
|
+
type types_gen_d_BillingSubscriptionCheckoutResponses = BillingSubscriptionCheckoutResponses;
|
|
2173
2345
|
type types_gen_d_BillingSubscriptionGetData = BillingSubscriptionGetData;
|
|
2174
2346
|
type types_gen_d_BillingSubscriptionGetError = BillingSubscriptionGetError;
|
|
2175
2347
|
type types_gen_d_BillingSubscriptionGetErrors = BillingSubscriptionGetErrors;
|
|
@@ -2187,6 +2359,8 @@ type types_gen_d_BillingSubscriptionUpdateResponse = BillingSubscriptionUpdateRe
|
|
|
2187
2359
|
type types_gen_d_BillingSubscriptionUpdateResponses = BillingSubscriptionUpdateResponses;
|
|
2188
2360
|
type types_gen_d_BlockParams = BlockParams;
|
|
2189
2361
|
type types_gen_d_BlockResponse200 = BlockResponse200;
|
|
2362
|
+
type types_gen_d_CheckoutBody = CheckoutBody;
|
|
2363
|
+
type types_gen_d_CheckoutResponse200 = CheckoutResponse200;
|
|
2190
2364
|
type types_gen_d_ClientOptions = ClientOptions;
|
|
2191
2365
|
type types_gen_d_ContactIdBody = ContactIdBody;
|
|
2192
2366
|
type types_gen_d_ContactIdParams = ContactIdParams;
|
|
@@ -2294,26 +2468,26 @@ type types_gen_d_OpenapiJsonResponse200 = OpenapiJsonResponse200;
|
|
|
2294
2468
|
type types_gen_d_OrganizationIdBody = OrganizationIdBody;
|
|
2295
2469
|
type types_gen_d_OrganizationIdParams = OrganizationIdParams;
|
|
2296
2470
|
type types_gen_d_OrganizationIdResponse200 = OrganizationIdResponse200;
|
|
2297
|
-
type
|
|
2298
|
-
type
|
|
2299
|
-
type
|
|
2300
|
-
type
|
|
2301
|
-
type
|
|
2302
|
-
type
|
|
2303
|
-
type
|
|
2304
|
-
type
|
|
2305
|
-
type
|
|
2306
|
-
type
|
|
2307
|
-
type
|
|
2308
|
-
type
|
|
2309
|
-
type
|
|
2310
|
-
type
|
|
2311
|
-
type
|
|
2312
|
-
type
|
|
2313
|
-
type
|
|
2314
|
-
type
|
|
2315
|
-
type
|
|
2316
|
-
type
|
|
2471
|
+
type types_gen_d_OrganizationMembersCreateData = OrganizationMembersCreateData;
|
|
2472
|
+
type types_gen_d_OrganizationMembersCreateError = OrganizationMembersCreateError;
|
|
2473
|
+
type types_gen_d_OrganizationMembersCreateErrors = OrganizationMembersCreateErrors;
|
|
2474
|
+
type types_gen_d_OrganizationMembersCreateResponse = OrganizationMembersCreateResponse;
|
|
2475
|
+
type types_gen_d_OrganizationMembersCreateResponses = OrganizationMembersCreateResponses;
|
|
2476
|
+
type types_gen_d_OrganizationMembersDeleteData = OrganizationMembersDeleteData;
|
|
2477
|
+
type types_gen_d_OrganizationMembersDeleteError = OrganizationMembersDeleteError;
|
|
2478
|
+
type types_gen_d_OrganizationMembersDeleteErrors = OrganizationMembersDeleteErrors;
|
|
2479
|
+
type types_gen_d_OrganizationMembersDeleteResponse = OrganizationMembersDeleteResponse;
|
|
2480
|
+
type types_gen_d_OrganizationMembersDeleteResponses = OrganizationMembersDeleteResponses;
|
|
2481
|
+
type types_gen_d_OrganizationMembersListData = OrganizationMembersListData;
|
|
2482
|
+
type types_gen_d_OrganizationMembersListError = OrganizationMembersListError;
|
|
2483
|
+
type types_gen_d_OrganizationMembersListErrors = OrganizationMembersListErrors;
|
|
2484
|
+
type types_gen_d_OrganizationMembersListResponse = OrganizationMembersListResponse;
|
|
2485
|
+
type types_gen_d_OrganizationMembersListResponses = OrganizationMembersListResponses;
|
|
2486
|
+
type types_gen_d_OrganizationMembersUpdateData = OrganizationMembersUpdateData;
|
|
2487
|
+
type types_gen_d_OrganizationMembersUpdateError = OrganizationMembersUpdateError;
|
|
2488
|
+
type types_gen_d_OrganizationMembersUpdateErrors = OrganizationMembersUpdateErrors;
|
|
2489
|
+
type types_gen_d_OrganizationMembersUpdateResponse = OrganizationMembersUpdateResponse;
|
|
2490
|
+
type types_gen_d_OrganizationMembersUpdateResponses = OrganizationMembersUpdateResponses;
|
|
2317
2491
|
type types_gen_d_OrganizationsBody = OrganizationsBody;
|
|
2318
2492
|
type types_gen_d_OrganizationsCreateData = OrganizationsCreateData;
|
|
2319
2493
|
type types_gen_d_OrganizationsCreateError = OrganizationsCreateError;
|
|
@@ -2353,6 +2527,9 @@ type types_gen_d_SubscriptionBody = SubscriptionBody;
|
|
|
2353
2527
|
type types_gen_d_SubscriptionResponse200 = SubscriptionResponse200;
|
|
2354
2528
|
type types_gen_d_UnblockParams = UnblockParams;
|
|
2355
2529
|
type types_gen_d_UnblockResponse200 = UnblockResponse200;
|
|
2530
|
+
type types_gen_d_UserIdParams = UserIdParams;
|
|
2531
|
+
type types_gen_d_UserIdQuery = UserIdQuery;
|
|
2532
|
+
type types_gen_d_UserIdResponse200 = UserIdResponse200;
|
|
2356
2533
|
type types_gen_d_UsersDeleteActionData = UsersDeleteActionData;
|
|
2357
2534
|
type types_gen_d_UsersDeleteActionError = UsersDeleteActionError;
|
|
2358
2535
|
type types_gen_d_UsersDeleteActionErrors = UsersDeleteActionErrors;
|
|
@@ -2363,6 +2540,11 @@ type types_gen_d_UsersGetCurrentOrganizationError = UsersGetCurrentOrganizationE
|
|
|
2363
2540
|
type types_gen_d_UsersGetCurrentOrganizationErrors = UsersGetCurrentOrganizationErrors;
|
|
2364
2541
|
type types_gen_d_UsersGetCurrentOrganizationResponse = UsersGetCurrentOrganizationResponse;
|
|
2365
2542
|
type types_gen_d_UsersGetCurrentOrganizationResponses = UsersGetCurrentOrganizationResponses;
|
|
2543
|
+
type types_gen_d_UsersRetrieveData = UsersRetrieveData;
|
|
2544
|
+
type types_gen_d_UsersRetrieveError = UsersRetrieveError;
|
|
2545
|
+
type types_gen_d_UsersRetrieveErrors = UsersRetrieveErrors;
|
|
2546
|
+
type types_gen_d_UsersRetrieveResponse = UsersRetrieveResponse;
|
|
2547
|
+
type types_gen_d_UsersRetrieveResponses = UsersRetrieveResponses;
|
|
2366
2548
|
type types_gen_d_UsersSetCurrentOrganizationData = UsersSetCurrentOrganizationData;
|
|
2367
2549
|
type types_gen_d_UsersSetCurrentOrganizationError = UsersSetCurrentOrganizationError;
|
|
2368
2550
|
type types_gen_d_UsersSetCurrentOrganizationErrors = UsersSetCurrentOrganizationErrors;
|
|
@@ -2376,7 +2558,7 @@ type types_gen_d_UsersWatchMailboxResponses = UsersWatchMailboxResponses;
|
|
|
2376
2558
|
type types_gen_d_WatchMailboxBody = WatchMailboxBody;
|
|
2377
2559
|
type types_gen_d_WatchMailboxParams = WatchMailboxParams;
|
|
2378
2560
|
declare namespace types_gen_d {
|
|
2379
|
-
export type { types_gen_d_ActionIdParams as ActionIdParams, types_gen_d_AddonBody as AddonBody, types_gen_d_AddonParams as AddonParams, types_gen_d_AddonResponse200 as AddonResponse200, types_gen_d_AddonsResponse200 as AddonsResponse200, types_gen_d_BatchBody as BatchBody, types_gen_d_BatchLegacyBody as BatchLegacyBody, types_gen_d_BatchLegacyResponse201 as BatchLegacyResponse201, types_gen_d_BatchResponse201 as BatchResponse201, types_gen_d_BatchResponse202 as BatchResponse202, types_gen_d_BillingAddonsGetAddonUsagesData as BillingAddonsGetAddonUsagesData, types_gen_d_BillingAddonsGetAddonUsagesError as BillingAddonsGetAddonUsagesError, types_gen_d_BillingAddonsGetAddonUsagesErrors as BillingAddonsGetAddonUsagesErrors, types_gen_d_BillingAddonsGetAddonUsagesResponse as BillingAddonsGetAddonUsagesResponse, types_gen_d_BillingAddonsGetAddonUsagesResponses as BillingAddonsGetAddonUsagesResponses, types_gen_d_BillingAddonsGetAddonsData as BillingAddonsGetAddonsData, types_gen_d_BillingAddonsGetAddonsError as BillingAddonsGetAddonsError, types_gen_d_BillingAddonsGetAddonsErrors as BillingAddonsGetAddonsErrors, types_gen_d_BillingAddonsGetAddonsResponse as BillingAddonsGetAddonsResponse, types_gen_d_BillingAddonsGetAddonsResponses as BillingAddonsGetAddonsResponses, types_gen_d_BillingAddonsPreviewUpdateData as BillingAddonsPreviewUpdateData, types_gen_d_BillingAddonsPreviewUpdateError as BillingAddonsPreviewUpdateError, types_gen_d_BillingAddonsPreviewUpdateErrors as BillingAddonsPreviewUpdateErrors, types_gen_d_BillingAddonsPreviewUpdateResponse as BillingAddonsPreviewUpdateResponse, types_gen_d_BillingAddonsPreviewUpdateResponses as BillingAddonsPreviewUpdateResponses, types_gen_d_BillingAddonsUpdateData as BillingAddonsUpdateData, types_gen_d_BillingAddonsUpdateError as BillingAddonsUpdateError, types_gen_d_BillingAddonsUpdateErrors as BillingAddonsUpdateErrors, types_gen_d_BillingAddonsUpdateResponse as BillingAddonsUpdateResponse, types_gen_d_BillingAddonsUpdateResponses as BillingAddonsUpdateResponses, types_gen_d_BillingGetPricesData as BillingGetPricesData, types_gen_d_BillingGetPricesError as BillingGetPricesError, types_gen_d_BillingGetPricesErrors as BillingGetPricesErrors, types_gen_d_BillingGetPricesResponse as BillingGetPricesResponse, types_gen_d_BillingGetPricesResponses as BillingGetPricesResponses, types_gen_d_BillingSubscriptionGetData as BillingSubscriptionGetData, types_gen_d_BillingSubscriptionGetError as BillingSubscriptionGetError, types_gen_d_BillingSubscriptionGetErrors as BillingSubscriptionGetErrors, types_gen_d_BillingSubscriptionGetResponse as BillingSubscriptionGetResponse, types_gen_d_BillingSubscriptionGetResponses as BillingSubscriptionGetResponses, types_gen_d_BillingSubscriptionPreviewUpdateData as BillingSubscriptionPreviewUpdateData, types_gen_d_BillingSubscriptionPreviewUpdateError as BillingSubscriptionPreviewUpdateError, types_gen_d_BillingSubscriptionPreviewUpdateErrors as BillingSubscriptionPreviewUpdateErrors, types_gen_d_BillingSubscriptionPreviewUpdateResponse as BillingSubscriptionPreviewUpdateResponse, types_gen_d_BillingSubscriptionPreviewUpdateResponses as BillingSubscriptionPreviewUpdateResponses, types_gen_d_BillingSubscriptionUpdateData as BillingSubscriptionUpdateData, types_gen_d_BillingSubscriptionUpdateError as BillingSubscriptionUpdateError, types_gen_d_BillingSubscriptionUpdateErrors as BillingSubscriptionUpdateErrors, types_gen_d_BillingSubscriptionUpdateResponse as BillingSubscriptionUpdateResponse, types_gen_d_BillingSubscriptionUpdateResponses as BillingSubscriptionUpdateResponses, types_gen_d_BlockParams as BlockParams, types_gen_d_BlockResponse200 as BlockResponse200, types_gen_d_ClientOptions as ClientOptions, types_gen_d_ContactIdBody as ContactIdBody, types_gen_d_ContactIdParams as ContactIdParams, types_gen_d_ContactIdResponse200 as ContactIdResponse200, types_gen_d_ContactListIdBody as ContactListIdBody, types_gen_d_ContactListIdParams as ContactListIdParams, types_gen_d_ContactListIdResponse200 as ContactListIdResponse200, types_gen_d_ContactListsBody as ContactListsBody, types_gen_d_ContactListsCreateData as ContactListsCreateData, types_gen_d_ContactListsCreateError as ContactListsCreateError, types_gen_d_ContactListsCreateErrors as ContactListsCreateErrors, types_gen_d_ContactListsCreateResponse as ContactListsCreateResponse, types_gen_d_ContactListsCreateResponses as ContactListsCreateResponses, types_gen_d_ContactListsRemoveData as ContactListsRemoveData, types_gen_d_ContactListsRemoveError as ContactListsRemoveError, types_gen_d_ContactListsRemoveErrors as ContactListsRemoveErrors, types_gen_d_ContactListsRemoveResponse as ContactListsRemoveResponse, types_gen_d_ContactListsRemoveResponses as ContactListsRemoveResponses, types_gen_d_ContactListsResponse201 as ContactListsResponse201, types_gen_d_ContactListsRetrieveData as ContactListsRetrieveData, types_gen_d_ContactListsRetrieveError as ContactListsRetrieveError, types_gen_d_ContactListsRetrieveErrors as ContactListsRetrieveErrors, types_gen_d_ContactListsRetrieveResponse as ContactListsRetrieveResponse, types_gen_d_ContactListsRetrieveResponses as ContactListsRetrieveResponses, types_gen_d_ContactListsUpdateData as ContactListsUpdateData, types_gen_d_ContactListsUpdateError as ContactListsUpdateError, types_gen_d_ContactListsUpdateErrors as ContactListsUpdateErrors, types_gen_d_ContactListsUpdateResponse as ContactListsUpdateResponse, types_gen_d_ContactListsUpdateResponses as ContactListsUpdateResponses, types_gen_d_ContactsBatchCreate2Data as ContactsBatchCreate2Data, types_gen_d_ContactsBatchCreate2Error as ContactsBatchCreate2Error, types_gen_d_ContactsBatchCreate2Errors as ContactsBatchCreate2Errors, types_gen_d_ContactsBatchCreate2Responses as ContactsBatchCreate2Responses, types_gen_d_ContactsBatchCreateData as ContactsBatchCreateData, types_gen_d_ContactsBatchCreateError as ContactsBatchCreateError, types_gen_d_ContactsBatchCreateErrors as ContactsBatchCreateErrors, types_gen_d_ContactsBatchCreateResponse as ContactsBatchCreateResponse, types_gen_d_ContactsBatchCreateResponses as ContactsBatchCreateResponses, types_gen_d_ContactsBlockData as ContactsBlockData, types_gen_d_ContactsBlockError as ContactsBlockError, types_gen_d_ContactsBlockErrors as ContactsBlockErrors, types_gen_d_ContactsBlockResponse as ContactsBlockResponse, types_gen_d_ContactsBlockResponses as ContactsBlockResponses, types_gen_d_ContactsBody as ContactsBody, types_gen_d_ContactsCreateData as ContactsCreateData, types_gen_d_ContactsCreateError as ContactsCreateError, types_gen_d_ContactsCreateErrors as ContactsCreateErrors, types_gen_d_ContactsCreateResponse as ContactsCreateResponse, types_gen_d_ContactsCreateResponses as ContactsCreateResponses, types_gen_d_ContactsDelAllData as ContactsDelAllData, types_gen_d_ContactsDelAllError as ContactsDelAllError, types_gen_d_ContactsDelAllErrors as ContactsDelAllErrors, types_gen_d_ContactsDelAllResponse as ContactsDelAllResponse, types_gen_d_ContactsDelAllResponses as ContactsDelAllResponses, types_gen_d_ContactsDelData as ContactsDelData, types_gen_d_ContactsDelError as ContactsDelError, types_gen_d_ContactsDelErrors as ContactsDelErrors, types_gen_d_ContactsDelResponse as ContactsDelResponse, types_gen_d_ContactsDelResponses as ContactsDelResponses, types_gen_d_ContactsListData as ContactsListData, types_gen_d_ContactsListError as ContactsListError, types_gen_d_ContactsListErrors as ContactsListErrors, types_gen_d_ContactsListResponse as ContactsListResponse, types_gen_d_ContactsListResponses as ContactsListResponses, types_gen_d_ContactsQuery as ContactsQuery, types_gen_d_ContactsResponse200 as ContactsResponse200, types_gen_d_ContactsResponse201 as ContactsResponse201, types_gen_d_ContactsResubscribeData as ContactsResubscribeData, types_gen_d_ContactsResubscribeError as ContactsResubscribeError, types_gen_d_ContactsResubscribeErrors as ContactsResubscribeErrors, types_gen_d_ContactsResubscribeResponse as ContactsResubscribeResponse, types_gen_d_ContactsResubscribeResponses as ContactsResubscribeResponses, types_gen_d_ContactsRetrieveData as ContactsRetrieveData, types_gen_d_ContactsRetrieveError as ContactsRetrieveError, types_gen_d_ContactsRetrieveErrors as ContactsRetrieveErrors, types_gen_d_ContactsRetrieveResponse as ContactsRetrieveResponse, types_gen_d_ContactsRetrieveResponses as ContactsRetrieveResponses, types_gen_d_ContactsUnblockData as ContactsUnblockData, types_gen_d_ContactsUnblockError as ContactsUnblockError, types_gen_d_ContactsUnblockErrors as ContactsUnblockErrors, types_gen_d_ContactsUnblockResponse as ContactsUnblockResponse, types_gen_d_ContactsUnblockResponses as ContactsUnblockResponses, types_gen_d_ContactsUpdateData as ContactsUpdateData, types_gen_d_ContactsUpdateError as ContactsUpdateError, types_gen_d_ContactsUpdateErrors as ContactsUpdateErrors, types_gen_d_ContactsUpdateResponse as ContactsUpdateResponse, types_gen_d_ContactsUpdateResponses as ContactsUpdateResponses, types_gen_d_CurrentOrganizationBody as CurrentOrganizationBody, types_gen_d_CurrentOrganizationParams as CurrentOrganizationParams, types_gen_d_CurrentOrganizationResponse200 as CurrentOrganizationResponse200, types_gen_d_ErrorResponse as ErrorResponse, types_gen_d_GetOpenapiJsonData as GetOpenapiJsonData, types_gen_d_GetOpenapiJsonError as GetOpenapiJsonError, types_gen_d_GetOpenapiJsonErrors as GetOpenapiJsonErrors, types_gen_d_GetOpenapiJsonResponses as GetOpenapiJsonResponses, types_gen_d_MemberIdBody as MemberIdBody, types_gen_d_MemberIdParams as MemberIdParams, types_gen_d_MemberIdResponse200 as MemberIdResponse200, types_gen_d_MembersBody as MembersBody, types_gen_d_MembersParams as MembersParams, types_gen_d_MembersQuery as MembersQuery, types_gen_d_MembersResponse200 as MembersResponse200, types_gen_d_MembersResponse201 as MembersResponse201, types_gen_d_OpenapiJsonResponse200 as OpenapiJsonResponse200, types_gen_d_OrganizationIdBody as OrganizationIdBody, types_gen_d_OrganizationIdParams as OrganizationIdParams, types_gen_d_OrganizationIdResponse200 as OrganizationIdResponse200, types_gen_d_OrganizationMemberCreateData as OrganizationMemberCreateData, types_gen_d_OrganizationMemberCreateError as OrganizationMemberCreateError, types_gen_d_OrganizationMemberCreateErrors as OrganizationMemberCreateErrors, types_gen_d_OrganizationMemberCreateResponse as OrganizationMemberCreateResponse, types_gen_d_OrganizationMemberCreateResponses as OrganizationMemberCreateResponses, types_gen_d_OrganizationMemberDeleteData as OrganizationMemberDeleteData, types_gen_d_OrganizationMemberDeleteError as OrganizationMemberDeleteError, types_gen_d_OrganizationMemberDeleteErrors as OrganizationMemberDeleteErrors, types_gen_d_OrganizationMemberDeleteResponse as OrganizationMemberDeleteResponse, types_gen_d_OrganizationMemberDeleteResponses as OrganizationMemberDeleteResponses, types_gen_d_OrganizationMemberListData as OrganizationMemberListData, types_gen_d_OrganizationMemberListError as OrganizationMemberListError, types_gen_d_OrganizationMemberListErrors as OrganizationMemberListErrors, types_gen_d_OrganizationMemberListResponse as OrganizationMemberListResponse, types_gen_d_OrganizationMemberListResponses as OrganizationMemberListResponses, types_gen_d_OrganizationMemberUpdateData as OrganizationMemberUpdateData, types_gen_d_OrganizationMemberUpdateError as OrganizationMemberUpdateError, types_gen_d_OrganizationMemberUpdateErrors as OrganizationMemberUpdateErrors, types_gen_d_OrganizationMemberUpdateResponse as OrganizationMemberUpdateResponse, types_gen_d_OrganizationMemberUpdateResponses as OrganizationMemberUpdateResponses, types_gen_d_OrganizationsBody as OrganizationsBody, types_gen_d_OrganizationsCreateData as OrganizationsCreateData, types_gen_d_OrganizationsCreateError as OrganizationsCreateError, types_gen_d_OrganizationsCreateErrors as OrganizationsCreateErrors, types_gen_d_OrganizationsCreateResponse as OrganizationsCreateResponse, types_gen_d_OrganizationsCreateResponses as OrganizationsCreateResponses, types_gen_d_OrganizationsDeleteData as OrganizationsDeleteData, types_gen_d_OrganizationsDeleteError as OrganizationsDeleteError, types_gen_d_OrganizationsDeleteErrors as OrganizationsDeleteErrors, types_gen_d_OrganizationsDeleteResponse as OrganizationsDeleteResponse, types_gen_d_OrganizationsDeleteResponses as OrganizationsDeleteResponses, types_gen_d_OrganizationsListData as OrganizationsListData, types_gen_d_OrganizationsListError as OrganizationsListError, types_gen_d_OrganizationsListErrors as OrganizationsListErrors, types_gen_d_OrganizationsListResponse as OrganizationsListResponse, types_gen_d_OrganizationsListResponses as OrganizationsListResponses, types_gen_d_OrganizationsResponse200 as OrganizationsResponse200, types_gen_d_OrganizationsResponse201 as OrganizationsResponse201, types_gen_d_OrganizationsRetrieveData as OrganizationsRetrieveData, types_gen_d_OrganizationsRetrieveError as OrganizationsRetrieveError, types_gen_d_OrganizationsRetrieveErrors as OrganizationsRetrieveErrors, types_gen_d_OrganizationsRetrieveResponse as OrganizationsRetrieveResponse, types_gen_d_OrganizationsRetrieveResponses as OrganizationsRetrieveResponses, types_gen_d_OrganizationsUpdateData as OrganizationsUpdateData, types_gen_d_OrganizationsUpdateError as OrganizationsUpdateError, types_gen_d_OrganizationsUpdateErrors as OrganizationsUpdateErrors, types_gen_d_OrganizationsUpdateResponse as OrganizationsUpdateResponse, types_gen_d_OrganizationsUpdateResponses as OrganizationsUpdateResponses, types_gen_d_PreviewBody as PreviewBody, types_gen_d_PreviewParams as PreviewParams, types_gen_d_PreviewResponse200 as PreviewResponse200, types_gen_d_PricesQuery as PricesQuery, types_gen_d_PricesResponse200 as PricesResponse200, types_gen_d_ResubscribeParams as ResubscribeParams, types_gen_d_ResubscribeResponse200 as ResubscribeResponse200, types_gen_d_SubscriptionBody as SubscriptionBody, types_gen_d_SubscriptionResponse200 as SubscriptionResponse200, types_gen_d_UnblockParams as UnblockParams, types_gen_d_UnblockResponse200 as UnblockResponse200, types_gen_d_UsersDeleteActionData as UsersDeleteActionData, types_gen_d_UsersDeleteActionError as UsersDeleteActionError, types_gen_d_UsersDeleteActionErrors as UsersDeleteActionErrors, types_gen_d_UsersDeleteActionResponse as UsersDeleteActionResponse, types_gen_d_UsersDeleteActionResponses as UsersDeleteActionResponses, types_gen_d_UsersGetCurrentOrganizationData as UsersGetCurrentOrganizationData, types_gen_d_UsersGetCurrentOrganizationError as UsersGetCurrentOrganizationError, types_gen_d_UsersGetCurrentOrganizationErrors as UsersGetCurrentOrganizationErrors, types_gen_d_UsersGetCurrentOrganizationResponse as UsersGetCurrentOrganizationResponse, types_gen_d_UsersGetCurrentOrganizationResponses as UsersGetCurrentOrganizationResponses, types_gen_d_UsersSetCurrentOrganizationData as UsersSetCurrentOrganizationData, types_gen_d_UsersSetCurrentOrganizationError as UsersSetCurrentOrganizationError, types_gen_d_UsersSetCurrentOrganizationErrors as UsersSetCurrentOrganizationErrors, types_gen_d_UsersSetCurrentOrganizationResponse as UsersSetCurrentOrganizationResponse, types_gen_d_UsersSetCurrentOrganizationResponses as UsersSetCurrentOrganizationResponses, types_gen_d_UsersWatchMailboxData as UsersWatchMailboxData, types_gen_d_UsersWatchMailboxError as UsersWatchMailboxError, types_gen_d_UsersWatchMailboxErrors as UsersWatchMailboxErrors, types_gen_d_UsersWatchMailboxResponse as UsersWatchMailboxResponse, types_gen_d_UsersWatchMailboxResponses as UsersWatchMailboxResponses, types_gen_d_WatchMailboxBody as WatchMailboxBody, types_gen_d_WatchMailboxParams as WatchMailboxParams };
|
|
2561
|
+
export type { types_gen_d_ActionIdParams as ActionIdParams, types_gen_d_AddonBody as AddonBody, types_gen_d_AddonParams as AddonParams, types_gen_d_AddonResponse200 as AddonResponse200, types_gen_d_AddonsResponse200 as AddonsResponse200, types_gen_d_BatchBody as BatchBody, types_gen_d_BatchLegacyBody as BatchLegacyBody, types_gen_d_BatchLegacyResponse201 as BatchLegacyResponse201, types_gen_d_BatchResponse201 as BatchResponse201, types_gen_d_BatchResponse202 as BatchResponse202, types_gen_d_BillingAddonsGetAddonUsagesData as BillingAddonsGetAddonUsagesData, types_gen_d_BillingAddonsGetAddonUsagesError as BillingAddonsGetAddonUsagesError, types_gen_d_BillingAddonsGetAddonUsagesErrors as BillingAddonsGetAddonUsagesErrors, types_gen_d_BillingAddonsGetAddonUsagesResponse as BillingAddonsGetAddonUsagesResponse, types_gen_d_BillingAddonsGetAddonUsagesResponses as BillingAddonsGetAddonUsagesResponses, types_gen_d_BillingAddonsGetAddonsData as BillingAddonsGetAddonsData, types_gen_d_BillingAddonsGetAddonsError as BillingAddonsGetAddonsError, types_gen_d_BillingAddonsGetAddonsErrors as BillingAddonsGetAddonsErrors, types_gen_d_BillingAddonsGetAddonsResponse as BillingAddonsGetAddonsResponse, types_gen_d_BillingAddonsGetAddonsResponses as BillingAddonsGetAddonsResponses, types_gen_d_BillingAddonsPreviewUpdateData as BillingAddonsPreviewUpdateData, types_gen_d_BillingAddonsPreviewUpdateError as BillingAddonsPreviewUpdateError, types_gen_d_BillingAddonsPreviewUpdateErrors as BillingAddonsPreviewUpdateErrors, types_gen_d_BillingAddonsPreviewUpdateResponse as BillingAddonsPreviewUpdateResponse, types_gen_d_BillingAddonsPreviewUpdateResponses as BillingAddonsPreviewUpdateResponses, types_gen_d_BillingAddonsUpdateData as BillingAddonsUpdateData, types_gen_d_BillingAddonsUpdateError as BillingAddonsUpdateError, types_gen_d_BillingAddonsUpdateErrors as BillingAddonsUpdateErrors, types_gen_d_BillingAddonsUpdateResponse as BillingAddonsUpdateResponse, types_gen_d_BillingAddonsUpdateResponses as BillingAddonsUpdateResponses, types_gen_d_BillingGetPricesData as BillingGetPricesData, types_gen_d_BillingGetPricesError as BillingGetPricesError, types_gen_d_BillingGetPricesErrors as BillingGetPricesErrors, types_gen_d_BillingGetPricesResponse as BillingGetPricesResponse, types_gen_d_BillingGetPricesResponses as BillingGetPricesResponses, types_gen_d_BillingSubscriptionCheckoutData as BillingSubscriptionCheckoutData, types_gen_d_BillingSubscriptionCheckoutError as BillingSubscriptionCheckoutError, types_gen_d_BillingSubscriptionCheckoutErrors as BillingSubscriptionCheckoutErrors, types_gen_d_BillingSubscriptionCheckoutResponse as BillingSubscriptionCheckoutResponse, types_gen_d_BillingSubscriptionCheckoutResponses as BillingSubscriptionCheckoutResponses, types_gen_d_BillingSubscriptionGetData as BillingSubscriptionGetData, types_gen_d_BillingSubscriptionGetError as BillingSubscriptionGetError, types_gen_d_BillingSubscriptionGetErrors as BillingSubscriptionGetErrors, types_gen_d_BillingSubscriptionGetResponse as BillingSubscriptionGetResponse, types_gen_d_BillingSubscriptionGetResponses as BillingSubscriptionGetResponses, types_gen_d_BillingSubscriptionPreviewUpdateData as BillingSubscriptionPreviewUpdateData, types_gen_d_BillingSubscriptionPreviewUpdateError as BillingSubscriptionPreviewUpdateError, types_gen_d_BillingSubscriptionPreviewUpdateErrors as BillingSubscriptionPreviewUpdateErrors, types_gen_d_BillingSubscriptionPreviewUpdateResponse as BillingSubscriptionPreviewUpdateResponse, types_gen_d_BillingSubscriptionPreviewUpdateResponses as BillingSubscriptionPreviewUpdateResponses, types_gen_d_BillingSubscriptionUpdateData as BillingSubscriptionUpdateData, types_gen_d_BillingSubscriptionUpdateError as BillingSubscriptionUpdateError, types_gen_d_BillingSubscriptionUpdateErrors as BillingSubscriptionUpdateErrors, types_gen_d_BillingSubscriptionUpdateResponse as BillingSubscriptionUpdateResponse, types_gen_d_BillingSubscriptionUpdateResponses as BillingSubscriptionUpdateResponses, types_gen_d_BlockParams as BlockParams, types_gen_d_BlockResponse200 as BlockResponse200, types_gen_d_CheckoutBody as CheckoutBody, types_gen_d_CheckoutResponse200 as CheckoutResponse200, types_gen_d_ClientOptions as ClientOptions, types_gen_d_ContactIdBody as ContactIdBody, types_gen_d_ContactIdParams as ContactIdParams, types_gen_d_ContactIdResponse200 as ContactIdResponse200, types_gen_d_ContactListIdBody as ContactListIdBody, types_gen_d_ContactListIdParams as ContactListIdParams, types_gen_d_ContactListIdResponse200 as ContactListIdResponse200, types_gen_d_ContactListsBody as ContactListsBody, types_gen_d_ContactListsCreateData as ContactListsCreateData, types_gen_d_ContactListsCreateError as ContactListsCreateError, types_gen_d_ContactListsCreateErrors as ContactListsCreateErrors, types_gen_d_ContactListsCreateResponse as ContactListsCreateResponse, types_gen_d_ContactListsCreateResponses as ContactListsCreateResponses, types_gen_d_ContactListsRemoveData as ContactListsRemoveData, types_gen_d_ContactListsRemoveError as ContactListsRemoveError, types_gen_d_ContactListsRemoveErrors as ContactListsRemoveErrors, types_gen_d_ContactListsRemoveResponse as ContactListsRemoveResponse, types_gen_d_ContactListsRemoveResponses as ContactListsRemoveResponses, types_gen_d_ContactListsResponse201 as ContactListsResponse201, types_gen_d_ContactListsRetrieveData as ContactListsRetrieveData, types_gen_d_ContactListsRetrieveError as ContactListsRetrieveError, types_gen_d_ContactListsRetrieveErrors as ContactListsRetrieveErrors, types_gen_d_ContactListsRetrieveResponse as ContactListsRetrieveResponse, types_gen_d_ContactListsRetrieveResponses as ContactListsRetrieveResponses, types_gen_d_ContactListsUpdateData as ContactListsUpdateData, types_gen_d_ContactListsUpdateError as ContactListsUpdateError, types_gen_d_ContactListsUpdateErrors as ContactListsUpdateErrors, types_gen_d_ContactListsUpdateResponse as ContactListsUpdateResponse, types_gen_d_ContactListsUpdateResponses as ContactListsUpdateResponses, types_gen_d_ContactsBatchCreate2Data as ContactsBatchCreate2Data, types_gen_d_ContactsBatchCreate2Error as ContactsBatchCreate2Error, types_gen_d_ContactsBatchCreate2Errors as ContactsBatchCreate2Errors, types_gen_d_ContactsBatchCreate2Responses as ContactsBatchCreate2Responses, types_gen_d_ContactsBatchCreateData as ContactsBatchCreateData, types_gen_d_ContactsBatchCreateError as ContactsBatchCreateError, types_gen_d_ContactsBatchCreateErrors as ContactsBatchCreateErrors, types_gen_d_ContactsBatchCreateResponse as ContactsBatchCreateResponse, types_gen_d_ContactsBatchCreateResponses as ContactsBatchCreateResponses, types_gen_d_ContactsBlockData as ContactsBlockData, types_gen_d_ContactsBlockError as ContactsBlockError, types_gen_d_ContactsBlockErrors as ContactsBlockErrors, types_gen_d_ContactsBlockResponse as ContactsBlockResponse, types_gen_d_ContactsBlockResponses as ContactsBlockResponses, types_gen_d_ContactsBody as ContactsBody, types_gen_d_ContactsCreateData as ContactsCreateData, types_gen_d_ContactsCreateError as ContactsCreateError, types_gen_d_ContactsCreateErrors as ContactsCreateErrors, types_gen_d_ContactsCreateResponse as ContactsCreateResponse, types_gen_d_ContactsCreateResponses as ContactsCreateResponses, types_gen_d_ContactsDelAllData as ContactsDelAllData, types_gen_d_ContactsDelAllError as ContactsDelAllError, types_gen_d_ContactsDelAllErrors as ContactsDelAllErrors, types_gen_d_ContactsDelAllResponse as ContactsDelAllResponse, types_gen_d_ContactsDelAllResponses as ContactsDelAllResponses, types_gen_d_ContactsDelData as ContactsDelData, types_gen_d_ContactsDelError as ContactsDelError, types_gen_d_ContactsDelErrors as ContactsDelErrors, types_gen_d_ContactsDelResponse as ContactsDelResponse, types_gen_d_ContactsDelResponses as ContactsDelResponses, types_gen_d_ContactsListData as ContactsListData, types_gen_d_ContactsListError as ContactsListError, types_gen_d_ContactsListErrors as ContactsListErrors, types_gen_d_ContactsListResponse as ContactsListResponse, types_gen_d_ContactsListResponses as ContactsListResponses, types_gen_d_ContactsQuery as ContactsQuery, types_gen_d_ContactsResponse200 as ContactsResponse200, types_gen_d_ContactsResponse201 as ContactsResponse201, types_gen_d_ContactsResubscribeData as ContactsResubscribeData, types_gen_d_ContactsResubscribeError as ContactsResubscribeError, types_gen_d_ContactsResubscribeErrors as ContactsResubscribeErrors, types_gen_d_ContactsResubscribeResponse as ContactsResubscribeResponse, types_gen_d_ContactsResubscribeResponses as ContactsResubscribeResponses, types_gen_d_ContactsRetrieveData as ContactsRetrieveData, types_gen_d_ContactsRetrieveError as ContactsRetrieveError, types_gen_d_ContactsRetrieveErrors as ContactsRetrieveErrors, types_gen_d_ContactsRetrieveResponse as ContactsRetrieveResponse, types_gen_d_ContactsRetrieveResponses as ContactsRetrieveResponses, types_gen_d_ContactsUnblockData as ContactsUnblockData, types_gen_d_ContactsUnblockError as ContactsUnblockError, types_gen_d_ContactsUnblockErrors as ContactsUnblockErrors, types_gen_d_ContactsUnblockResponse as ContactsUnblockResponse, types_gen_d_ContactsUnblockResponses as ContactsUnblockResponses, types_gen_d_ContactsUpdateData as ContactsUpdateData, types_gen_d_ContactsUpdateError as ContactsUpdateError, types_gen_d_ContactsUpdateErrors as ContactsUpdateErrors, types_gen_d_ContactsUpdateResponse as ContactsUpdateResponse, types_gen_d_ContactsUpdateResponses as ContactsUpdateResponses, types_gen_d_CurrentOrganizationBody as CurrentOrganizationBody, types_gen_d_CurrentOrganizationParams as CurrentOrganizationParams, types_gen_d_CurrentOrganizationResponse200 as CurrentOrganizationResponse200, types_gen_d_ErrorResponse as ErrorResponse, types_gen_d_GetOpenapiJsonData as GetOpenapiJsonData, types_gen_d_GetOpenapiJsonError as GetOpenapiJsonError, types_gen_d_GetOpenapiJsonErrors as GetOpenapiJsonErrors, types_gen_d_GetOpenapiJsonResponses as GetOpenapiJsonResponses, types_gen_d_MemberIdBody as MemberIdBody, types_gen_d_MemberIdParams as MemberIdParams, types_gen_d_MemberIdResponse200 as MemberIdResponse200, types_gen_d_MembersBody as MembersBody, types_gen_d_MembersParams as MembersParams, types_gen_d_MembersQuery as MembersQuery, types_gen_d_MembersResponse200 as MembersResponse200, types_gen_d_MembersResponse201 as MembersResponse201, types_gen_d_OpenapiJsonResponse200 as OpenapiJsonResponse200, types_gen_d_OrganizationIdBody as OrganizationIdBody, types_gen_d_OrganizationIdParams as OrganizationIdParams, types_gen_d_OrganizationIdResponse200 as OrganizationIdResponse200, types_gen_d_OrganizationMembersCreateData as OrganizationMembersCreateData, types_gen_d_OrganizationMembersCreateError as OrganizationMembersCreateError, types_gen_d_OrganizationMembersCreateErrors as OrganizationMembersCreateErrors, types_gen_d_OrganizationMembersCreateResponse as OrganizationMembersCreateResponse, types_gen_d_OrganizationMembersCreateResponses as OrganizationMembersCreateResponses, types_gen_d_OrganizationMembersDeleteData as OrganizationMembersDeleteData, types_gen_d_OrganizationMembersDeleteError as OrganizationMembersDeleteError, types_gen_d_OrganizationMembersDeleteErrors as OrganizationMembersDeleteErrors, types_gen_d_OrganizationMembersDeleteResponse as OrganizationMembersDeleteResponse, types_gen_d_OrganizationMembersDeleteResponses as OrganizationMembersDeleteResponses, types_gen_d_OrganizationMembersListData as OrganizationMembersListData, types_gen_d_OrganizationMembersListError as OrganizationMembersListError, types_gen_d_OrganizationMembersListErrors as OrganizationMembersListErrors, types_gen_d_OrganizationMembersListResponse as OrganizationMembersListResponse, types_gen_d_OrganizationMembersListResponses as OrganizationMembersListResponses, types_gen_d_OrganizationMembersUpdateData as OrganizationMembersUpdateData, types_gen_d_OrganizationMembersUpdateError as OrganizationMembersUpdateError, types_gen_d_OrganizationMembersUpdateErrors as OrganizationMembersUpdateErrors, types_gen_d_OrganizationMembersUpdateResponse as OrganizationMembersUpdateResponse, types_gen_d_OrganizationMembersUpdateResponses as OrganizationMembersUpdateResponses, types_gen_d_OrganizationsBody as OrganizationsBody, types_gen_d_OrganizationsCreateData as OrganizationsCreateData, types_gen_d_OrganizationsCreateError as OrganizationsCreateError, types_gen_d_OrganizationsCreateErrors as OrganizationsCreateErrors, types_gen_d_OrganizationsCreateResponse as OrganizationsCreateResponse, types_gen_d_OrganizationsCreateResponses as OrganizationsCreateResponses, types_gen_d_OrganizationsDeleteData as OrganizationsDeleteData, types_gen_d_OrganizationsDeleteError as OrganizationsDeleteError, types_gen_d_OrganizationsDeleteErrors as OrganizationsDeleteErrors, types_gen_d_OrganizationsDeleteResponse as OrganizationsDeleteResponse, types_gen_d_OrganizationsDeleteResponses as OrganizationsDeleteResponses, types_gen_d_OrganizationsListData as OrganizationsListData, types_gen_d_OrganizationsListError as OrganizationsListError, types_gen_d_OrganizationsListErrors as OrganizationsListErrors, types_gen_d_OrganizationsListResponse as OrganizationsListResponse, types_gen_d_OrganizationsListResponses as OrganizationsListResponses, types_gen_d_OrganizationsResponse200 as OrganizationsResponse200, types_gen_d_OrganizationsResponse201 as OrganizationsResponse201, types_gen_d_OrganizationsRetrieveData as OrganizationsRetrieveData, types_gen_d_OrganizationsRetrieveError as OrganizationsRetrieveError, types_gen_d_OrganizationsRetrieveErrors as OrganizationsRetrieveErrors, types_gen_d_OrganizationsRetrieveResponse as OrganizationsRetrieveResponse, types_gen_d_OrganizationsRetrieveResponses as OrganizationsRetrieveResponses, types_gen_d_OrganizationsUpdateData as OrganizationsUpdateData, types_gen_d_OrganizationsUpdateError as OrganizationsUpdateError, types_gen_d_OrganizationsUpdateErrors as OrganizationsUpdateErrors, types_gen_d_OrganizationsUpdateResponse as OrganizationsUpdateResponse, types_gen_d_OrganizationsUpdateResponses as OrganizationsUpdateResponses, types_gen_d_PreviewBody as PreviewBody, types_gen_d_PreviewParams as PreviewParams, types_gen_d_PreviewResponse200 as PreviewResponse200, types_gen_d_PricesQuery as PricesQuery, types_gen_d_PricesResponse200 as PricesResponse200, types_gen_d_ResubscribeParams as ResubscribeParams, types_gen_d_ResubscribeResponse200 as ResubscribeResponse200, types_gen_d_SubscriptionBody as SubscriptionBody, types_gen_d_SubscriptionResponse200 as SubscriptionResponse200, types_gen_d_UnblockParams as UnblockParams, types_gen_d_UnblockResponse200 as UnblockResponse200, types_gen_d_UserIdParams as UserIdParams, types_gen_d_UserIdQuery as UserIdQuery, types_gen_d_UserIdResponse200 as UserIdResponse200, types_gen_d_UsersDeleteActionData as UsersDeleteActionData, types_gen_d_UsersDeleteActionError as UsersDeleteActionError, types_gen_d_UsersDeleteActionErrors as UsersDeleteActionErrors, types_gen_d_UsersDeleteActionResponse as UsersDeleteActionResponse, types_gen_d_UsersDeleteActionResponses as UsersDeleteActionResponses, types_gen_d_UsersGetCurrentOrganizationData as UsersGetCurrentOrganizationData, types_gen_d_UsersGetCurrentOrganizationError as UsersGetCurrentOrganizationError, types_gen_d_UsersGetCurrentOrganizationErrors as UsersGetCurrentOrganizationErrors, types_gen_d_UsersGetCurrentOrganizationResponse as UsersGetCurrentOrganizationResponse, types_gen_d_UsersGetCurrentOrganizationResponses as UsersGetCurrentOrganizationResponses, types_gen_d_UsersRetrieveData as UsersRetrieveData, types_gen_d_UsersRetrieveError as UsersRetrieveError, types_gen_d_UsersRetrieveErrors as UsersRetrieveErrors, types_gen_d_UsersRetrieveResponse as UsersRetrieveResponse, types_gen_d_UsersRetrieveResponses as UsersRetrieveResponses, types_gen_d_UsersSetCurrentOrganizationData as UsersSetCurrentOrganizationData, types_gen_d_UsersSetCurrentOrganizationError as UsersSetCurrentOrganizationError, types_gen_d_UsersSetCurrentOrganizationErrors as UsersSetCurrentOrganizationErrors, types_gen_d_UsersSetCurrentOrganizationResponse as UsersSetCurrentOrganizationResponse, types_gen_d_UsersSetCurrentOrganizationResponses as UsersSetCurrentOrganizationResponses, types_gen_d_UsersWatchMailboxData as UsersWatchMailboxData, types_gen_d_UsersWatchMailboxError as UsersWatchMailboxError, types_gen_d_UsersWatchMailboxErrors as UsersWatchMailboxErrors, types_gen_d_UsersWatchMailboxResponse as UsersWatchMailboxResponse, types_gen_d_UsersWatchMailboxResponses as UsersWatchMailboxResponses, types_gen_d_WatchMailboxBody as WatchMailboxBody, types_gen_d_WatchMailboxParams as WatchMailboxParams };
|
|
2380
2562
|
}
|
|
2381
2563
|
|
|
2382
2564
|
type Options<TData extends TDataShape = TDataShape, ThrowOnError extends boolean = boolean> = Options$1<TData, ThrowOnError> & {
|
|
@@ -2399,6 +2581,9 @@ declare class HeyApiClient {
|
|
|
2399
2581
|
});
|
|
2400
2582
|
}
|
|
2401
2583
|
declare class Users extends HeyApiClient {
|
|
2584
|
+
retrieve<ThrowOnError extends boolean = true>(user_id: string, parameters?: {
|
|
2585
|
+
expand?: Array<'subscription'>;
|
|
2586
|
+
}, options?: Options<never, ThrowOnError>): RequestResult<UsersRetrieveResponses, UsersRetrieveErrors, ThrowOnError, "data">;
|
|
2402
2587
|
getCurrentOrganization<ThrowOnError extends boolean = true>(user_id: string, options?: Options<never, ThrowOnError>): RequestResult<UsersGetCurrentOrganizationResponses, UsersGetCurrentOrganizationErrors, ThrowOnError, "data">;
|
|
2403
2588
|
setCurrentOrganization<ThrowOnError extends boolean = true>(user_id: string, parameters?: {
|
|
2404
2589
|
organization_id?: string | null;
|
|
@@ -2420,6 +2605,22 @@ declare class Organizations extends HeyApiClient {
|
|
|
2420
2605
|
name?: string;
|
|
2421
2606
|
}, options?: Options<never, ThrowOnError>): RequestResult<OrganizationsUpdateResponses, OrganizationsUpdateErrors, ThrowOnError, "data">;
|
|
2422
2607
|
}
|
|
2608
|
+
declare class BillingSubscription extends HeyApiClient {
|
|
2609
|
+
get<ThrowOnError extends boolean = true>(options?: Options<never, ThrowOnError>): RequestResult<BillingSubscriptionGetResponses, BillingSubscriptionGetErrors, ThrowOnError, "data">;
|
|
2610
|
+
update<ThrowOnError extends boolean = true>(parameters: {
|
|
2611
|
+
plan: 'free' | 'starter' | 'pro' | 'premium' | 'business';
|
|
2612
|
+
billing_period: 'month' | 'year';
|
|
2613
|
+
}, options?: Options<never, ThrowOnError>): RequestResult<BillingSubscriptionUpdateResponses, BillingSubscriptionUpdateErrors, ThrowOnError, "data">;
|
|
2614
|
+
previewUpdate<ThrowOnError extends boolean = true>(parameters: {
|
|
2615
|
+
plan: 'free' | 'starter' | 'pro' | 'premium' | 'business';
|
|
2616
|
+
billing_period: 'month' | 'year';
|
|
2617
|
+
}, options?: Options<never, ThrowOnError>): RequestResult<BillingSubscriptionPreviewUpdateResponses, BillingSubscriptionPreviewUpdateErrors, ThrowOnError, "data">;
|
|
2618
|
+
checkout<ThrowOnError extends boolean = true>(parameters: {
|
|
2619
|
+
price_id: string;
|
|
2620
|
+
coupon?: string;
|
|
2621
|
+
currency?: 'usd' | 'eur' | 'inr';
|
|
2622
|
+
}, options?: Options<never, ThrowOnError>): RequestResult<BillingSubscriptionCheckoutResponses, BillingSubscriptionCheckoutErrors, ThrowOnError, "data">;
|
|
2623
|
+
}
|
|
2423
2624
|
declare class ContactLists extends HeyApiClient {
|
|
2424
2625
|
create<ThrowOnError extends boolean = true>(parameters: {
|
|
2425
2626
|
owner: string;
|
|
@@ -2511,17 +2712,6 @@ declare class BillingAddons extends HeyApiClient {
|
|
|
2511
2712
|
quantity: number;
|
|
2512
2713
|
}, options?: Options<never, ThrowOnError>): RequestResult<BillingAddonsUpdateResponses, BillingAddonsUpdateErrors, ThrowOnError, "data">;
|
|
2513
2714
|
}
|
|
2514
|
-
declare class BillingSubscription extends HeyApiClient {
|
|
2515
|
-
get<ThrowOnError extends boolean = true>(options?: Options<never, ThrowOnError>): RequestResult<BillingSubscriptionGetResponses, BillingSubscriptionGetErrors, ThrowOnError, "data">;
|
|
2516
|
-
update<ThrowOnError extends boolean = true>(parameters: {
|
|
2517
|
-
plan: 'free' | 'starter' | 'pro' | 'premium' | 'business';
|
|
2518
|
-
billing_period: 'month' | 'year';
|
|
2519
|
-
}, options?: Options<never, ThrowOnError>): RequestResult<BillingSubscriptionUpdateResponses, BillingSubscriptionUpdateErrors, ThrowOnError, "data">;
|
|
2520
|
-
previewUpdate<ThrowOnError extends boolean = true>(parameters: {
|
|
2521
|
-
plan: 'free' | 'starter' | 'pro' | 'premium' | 'business';
|
|
2522
|
-
billing_period: 'month' | 'year';
|
|
2523
|
-
}, options?: Options<never, ThrowOnError>): RequestResult<BillingSubscriptionPreviewUpdateResponses, BillingSubscriptionPreviewUpdateErrors, ThrowOnError, "data">;
|
|
2524
|
-
}
|
|
2525
2715
|
declare class Billing extends HeyApiClient {
|
|
2526
2716
|
getPrices<ThrowOnError extends boolean = true>(parameters: {
|
|
2527
2717
|
currency: string;
|