mailmeteor 0.0.9 → 0.0.11
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/README.md +2 -10
- package/dist/index.cjs +108 -64
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +532 -334
- package/dist/index.mjs +108 -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 +477 -302
- package/dist/types/generated-sdk/types.gen.d.ts.map +1 -1
- package/dist/types/index.d.ts.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -321,6 +321,101 @@ 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<'billing' | 'billing.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_at: number;
|
|
342
|
+
reset_at?: number | null;
|
|
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
|
+
billing?: {
|
|
382
|
+
customer?: string | null;
|
|
383
|
+
currency?: string | null;
|
|
384
|
+
subscription?: {
|
|
385
|
+
id: string;
|
|
386
|
+
created_at: number;
|
|
387
|
+
/**
|
|
388
|
+
* Whether the user is a billing admin
|
|
389
|
+
*/
|
|
390
|
+
admin: boolean;
|
|
391
|
+
current_period_start: number;
|
|
392
|
+
current_period_end: number;
|
|
393
|
+
quantity: number;
|
|
394
|
+
currency: string;
|
|
395
|
+
amount: number | null;
|
|
396
|
+
discount_percentage?: number | null;
|
|
397
|
+
name: string | null;
|
|
398
|
+
billing_period: 'day' | 'week' | 'month' | 'year' | null;
|
|
399
|
+
plan: 'free' | 'starter' | 'pro' | 'premium' | 'business' | null;
|
|
400
|
+
default_payment_method: {
|
|
401
|
+
type: string;
|
|
402
|
+
brand?: string | null;
|
|
403
|
+
last4: string | null;
|
|
404
|
+
exp_month: number | null;
|
|
405
|
+
exp_year: number | null;
|
|
406
|
+
bank_name?: string | null;
|
|
407
|
+
} | null;
|
|
408
|
+
addons: {
|
|
409
|
+
senders?: {
|
|
410
|
+
quantity: number;
|
|
411
|
+
};
|
|
412
|
+
email_warmups?: {
|
|
413
|
+
quantity: number;
|
|
414
|
+
};
|
|
415
|
+
};
|
|
416
|
+
} | null;
|
|
417
|
+
};
|
|
418
|
+
};
|
|
324
419
|
type CurrentOrganizationParams = {
|
|
325
420
|
user_id: string;
|
|
326
421
|
};
|
|
@@ -349,78 +444,59 @@ type MembersParams = {
|
|
|
349
444
|
organization_id: string;
|
|
350
445
|
};
|
|
351
446
|
type MembersResponse200 = Array<{
|
|
447
|
+
user: string;
|
|
448
|
+
roles: Array<'admin' | 'member'>;
|
|
449
|
+
created_at: number;
|
|
450
|
+
updated_at?: number;
|
|
451
|
+
id: string;
|
|
452
|
+
object: 'organization_member';
|
|
352
453
|
email: string;
|
|
353
454
|
name?: string;
|
|
354
455
|
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';
|
|
456
|
+
organization: string;
|
|
367
457
|
}>;
|
|
368
458
|
type MembersBody = {
|
|
369
459
|
email: string;
|
|
370
|
-
|
|
460
|
+
roles: Array<'admin' | 'member'>;
|
|
371
461
|
};
|
|
372
462
|
type MembersResponse201 = {
|
|
463
|
+
user: string;
|
|
464
|
+
roles: Array<'admin' | 'member'>;
|
|
465
|
+
created_at: number;
|
|
466
|
+
updated_at?: number;
|
|
467
|
+
id: string;
|
|
468
|
+
object: 'organization_member';
|
|
373
469
|
email: string;
|
|
374
470
|
name?: string;
|
|
375
471
|
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';
|
|
472
|
+
organization: string;
|
|
388
473
|
};
|
|
389
474
|
type MemberIdBody = {
|
|
390
|
-
|
|
475
|
+
roles?: Array<'admin' | 'member'>;
|
|
391
476
|
};
|
|
392
477
|
type MemberIdParams = {
|
|
393
478
|
organization_id: string;
|
|
394
479
|
member_id: string;
|
|
395
480
|
};
|
|
396
481
|
type MemberIdResponse200 = {
|
|
482
|
+
user: string;
|
|
483
|
+
roles: Array<'admin' | 'member'>;
|
|
484
|
+
created_at: number;
|
|
485
|
+
updated_at?: number;
|
|
486
|
+
id: string;
|
|
487
|
+
object: 'organization_member';
|
|
397
488
|
email: string;
|
|
398
489
|
name?: string;
|
|
399
490
|
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';
|
|
491
|
+
organization: string;
|
|
412
492
|
};
|
|
413
493
|
type OrganizationsResponse200 = Array<{
|
|
414
494
|
name: string;
|
|
415
495
|
owner: string;
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
/**
|
|
421
|
-
* Last Update date
|
|
422
|
-
*/
|
|
423
|
-
updated_at?: string;
|
|
496
|
+
customer?: string;
|
|
497
|
+
subscription?: string;
|
|
498
|
+
created_at: number;
|
|
499
|
+
updated_at?: number;
|
|
424
500
|
id: string;
|
|
425
501
|
object: 'organization';
|
|
426
502
|
}>;
|
|
@@ -430,14 +506,10 @@ type OrganizationsBody = {
|
|
|
430
506
|
type OrganizationsResponse201 = {
|
|
431
507
|
name: string;
|
|
432
508
|
owner: string;
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
/**
|
|
438
|
-
* Last Update date
|
|
439
|
-
*/
|
|
440
|
-
updated_at?: string;
|
|
509
|
+
customer?: string;
|
|
510
|
+
subscription?: string;
|
|
511
|
+
created_at: number;
|
|
512
|
+
updated_at?: number;
|
|
441
513
|
id: string;
|
|
442
514
|
object: 'organization';
|
|
443
515
|
};
|
|
@@ -447,20 +519,45 @@ type OrganizationIdParams = {
|
|
|
447
519
|
type OrganizationIdResponse200 = {
|
|
448
520
|
name: string;
|
|
449
521
|
owner: string;
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
/**
|
|
455
|
-
* Last Update date
|
|
456
|
-
*/
|
|
457
|
-
updated_at?: string;
|
|
522
|
+
customer?: string;
|
|
523
|
+
subscription?: string;
|
|
524
|
+
created_at: number;
|
|
525
|
+
updated_at?: number;
|
|
458
526
|
id: string;
|
|
459
527
|
object: 'organization';
|
|
460
528
|
};
|
|
461
529
|
type OrganizationIdBody = {
|
|
462
530
|
name?: string;
|
|
463
531
|
};
|
|
532
|
+
type SubscriptionResponse200 = {
|
|
533
|
+
status: 'confirmation_required' | 'success' | 'payment_failed';
|
|
534
|
+
client_secret?: string;
|
|
535
|
+
failure_code?: string;
|
|
536
|
+
};
|
|
537
|
+
type SubscriptionBody = {
|
|
538
|
+
plan: 'free' | 'starter' | 'pro' | 'premium' | 'business';
|
|
539
|
+
billing_period: 'month' | 'year';
|
|
540
|
+
};
|
|
541
|
+
type PreviewBody = {
|
|
542
|
+
quantity: number;
|
|
543
|
+
};
|
|
544
|
+
type PreviewResponse200 = {
|
|
545
|
+
discount_percents: Array<number>;
|
|
546
|
+
total_excluding_tax: number;
|
|
547
|
+
total: number;
|
|
548
|
+
amount_due: number;
|
|
549
|
+
added_from_balance: number;
|
|
550
|
+
consumed_balance: number;
|
|
551
|
+
credited_to_balance: number;
|
|
552
|
+
};
|
|
553
|
+
type CheckoutBody = {
|
|
554
|
+
price_id: string;
|
|
555
|
+
coupon?: string;
|
|
556
|
+
currency?: 'usd' | 'eur' | 'inr';
|
|
557
|
+
};
|
|
558
|
+
type CheckoutResponse200 = {
|
|
559
|
+
url: string;
|
|
560
|
+
};
|
|
464
561
|
type ContactListsBody = {
|
|
465
562
|
owner: string;
|
|
466
563
|
name: string;
|
|
@@ -729,33 +826,9 @@ type AddonsResponse200 = {
|
|
|
729
826
|
} | null;
|
|
730
827
|
};
|
|
731
828
|
};
|
|
732
|
-
type PreviewBody = {
|
|
733
|
-
plan: 'free' | 'starter' | 'pro' | 'premium' | 'business';
|
|
734
|
-
billing_period: 'month' | 'year';
|
|
735
|
-
};
|
|
736
829
|
type PreviewParams = {
|
|
737
830
|
addon: 'senders' | 'email_warmups';
|
|
738
831
|
};
|
|
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
832
|
type AddonBody = {
|
|
760
833
|
quantity: number;
|
|
761
834
|
};
|
|
@@ -767,15 +840,6 @@ type AddonResponse200 = Array<{
|
|
|
767
840
|
email: string;
|
|
768
841
|
usage: number;
|
|
769
842
|
}>;
|
|
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
843
|
type PricesQuery = {
|
|
780
844
|
currency: string;
|
|
781
845
|
};
|
|
@@ -802,6 +866,118 @@ type PricesResponse200 = {
|
|
|
802
866
|
};
|
|
803
867
|
};
|
|
804
868
|
type OpenapiJsonResponse200 = unknown;
|
|
869
|
+
type UsersRetrieveData = {
|
|
870
|
+
body?: never;
|
|
871
|
+
path: {
|
|
872
|
+
user_id: string;
|
|
873
|
+
};
|
|
874
|
+
query?: {
|
|
875
|
+
expand?: Array<'billing' | 'billing.subscription'>;
|
|
876
|
+
};
|
|
877
|
+
url: '/users/{user_id}';
|
|
878
|
+
};
|
|
879
|
+
type UsersRetrieveErrors = {
|
|
880
|
+
/**
|
|
881
|
+
* Error response
|
|
882
|
+
*/
|
|
883
|
+
default: ErrorResponse;
|
|
884
|
+
};
|
|
885
|
+
type UsersRetrieveError = UsersRetrieveErrors[keyof UsersRetrieveErrors];
|
|
886
|
+
type UsersRetrieveResponses = {
|
|
887
|
+
/**
|
|
888
|
+
* Response
|
|
889
|
+
*/
|
|
890
|
+
200: {
|
|
891
|
+
id: string;
|
|
892
|
+
object: 'user';
|
|
893
|
+
email: string;
|
|
894
|
+
name?: string;
|
|
895
|
+
blocked?: boolean;
|
|
896
|
+
plan: string;
|
|
897
|
+
quota: {
|
|
898
|
+
limit: number;
|
|
899
|
+
usage: number;
|
|
900
|
+
available: number;
|
|
901
|
+
updated_at: number;
|
|
902
|
+
reset_at?: number | null;
|
|
903
|
+
};
|
|
904
|
+
organization: string | null;
|
|
905
|
+
/**
|
|
906
|
+
* Creation date as a Unix timestamp (ms)
|
|
907
|
+
*/
|
|
908
|
+
created_at: number;
|
|
909
|
+
credentials?: {
|
|
910
|
+
google?: {
|
|
911
|
+
access_token?: string;
|
|
912
|
+
refresh_token?: string;
|
|
913
|
+
expiry_date?: number;
|
|
914
|
+
expires_in?: number;
|
|
915
|
+
update_date?: number;
|
|
916
|
+
scope?: string;
|
|
917
|
+
api_domain?: string;
|
|
918
|
+
};
|
|
919
|
+
microsoft?: {
|
|
920
|
+
access_token?: string;
|
|
921
|
+
refresh_token?: string;
|
|
922
|
+
expiry_date?: number;
|
|
923
|
+
expires_in?: number;
|
|
924
|
+
update_date?: number;
|
|
925
|
+
scope?: string;
|
|
926
|
+
api_domain?: string;
|
|
927
|
+
};
|
|
928
|
+
zoho?: {
|
|
929
|
+
access_token?: string;
|
|
930
|
+
refresh_token?: string;
|
|
931
|
+
expiry_date?: number;
|
|
932
|
+
expires_in?: number;
|
|
933
|
+
update_date?: number;
|
|
934
|
+
scope?: string;
|
|
935
|
+
api_domain?: string;
|
|
936
|
+
};
|
|
937
|
+
sendgrid?: {
|
|
938
|
+
api_key?: string;
|
|
939
|
+
};
|
|
940
|
+
};
|
|
941
|
+
billing?: {
|
|
942
|
+
customer?: string | null;
|
|
943
|
+
currency?: string | null;
|
|
944
|
+
subscription?: {
|
|
945
|
+
id: string;
|
|
946
|
+
created_at: number;
|
|
947
|
+
/**
|
|
948
|
+
* Whether the user is a billing admin
|
|
949
|
+
*/
|
|
950
|
+
admin: boolean;
|
|
951
|
+
current_period_start: number;
|
|
952
|
+
current_period_end: number;
|
|
953
|
+
quantity: number;
|
|
954
|
+
currency: string;
|
|
955
|
+
amount: number | null;
|
|
956
|
+
discount_percentage?: number | null;
|
|
957
|
+
name: string | null;
|
|
958
|
+
billing_period: 'day' | 'week' | 'month' | 'year' | null;
|
|
959
|
+
plan: 'free' | 'starter' | 'pro' | 'premium' | 'business' | null;
|
|
960
|
+
default_payment_method: {
|
|
961
|
+
type: string;
|
|
962
|
+
brand?: string | null;
|
|
963
|
+
last4: string | null;
|
|
964
|
+
exp_month: number | null;
|
|
965
|
+
exp_year: number | null;
|
|
966
|
+
bank_name?: string | null;
|
|
967
|
+
} | null;
|
|
968
|
+
addons: {
|
|
969
|
+
senders?: {
|
|
970
|
+
quantity: number;
|
|
971
|
+
};
|
|
972
|
+
email_warmups?: {
|
|
973
|
+
quantity: number;
|
|
974
|
+
};
|
|
975
|
+
};
|
|
976
|
+
} | null;
|
|
977
|
+
};
|
|
978
|
+
};
|
|
979
|
+
};
|
|
980
|
+
type UsersRetrieveResponse = UsersRetrieveResponses[keyof UsersRetrieveResponses];
|
|
805
981
|
type UsersGetCurrentOrganizationData = {
|
|
806
982
|
body?: never;
|
|
807
983
|
path: {
|
|
@@ -900,7 +1076,7 @@ type UsersDeleteActionResponses = {
|
|
|
900
1076
|
204: void;
|
|
901
1077
|
};
|
|
902
1078
|
type UsersDeleteActionResponse = UsersDeleteActionResponses[keyof UsersDeleteActionResponses];
|
|
903
|
-
type
|
|
1079
|
+
type OrganizationMembersListData = {
|
|
904
1080
|
body?: never;
|
|
905
1081
|
path: {
|
|
906
1082
|
organization_id: string;
|
|
@@ -911,40 +1087,35 @@ type OrganizationMemberListData = {
|
|
|
911
1087
|
};
|
|
912
1088
|
url: '/organizations/{organization_id}/members';
|
|
913
1089
|
};
|
|
914
|
-
type
|
|
1090
|
+
type OrganizationMembersListErrors = {
|
|
915
1091
|
/**
|
|
916
1092
|
* Error response
|
|
917
1093
|
*/
|
|
918
1094
|
default: ErrorResponse;
|
|
919
1095
|
};
|
|
920
|
-
type
|
|
921
|
-
type
|
|
1096
|
+
type OrganizationMembersListError = OrganizationMembersListErrors[keyof OrganizationMembersListErrors];
|
|
1097
|
+
type OrganizationMembersListResponses = {
|
|
922
1098
|
/**
|
|
923
1099
|
* Response
|
|
924
1100
|
*/
|
|
925
1101
|
200: Array<{
|
|
1102
|
+
user: string;
|
|
1103
|
+
roles: Array<'admin' | 'member'>;
|
|
1104
|
+
created_at: number;
|
|
1105
|
+
updated_at?: number;
|
|
1106
|
+
id: string;
|
|
1107
|
+
object: 'organization_member';
|
|
926
1108
|
email: string;
|
|
927
1109
|
name?: string;
|
|
928
1110
|
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';
|
|
1111
|
+
organization: string;
|
|
941
1112
|
}>;
|
|
942
1113
|
};
|
|
943
|
-
type
|
|
944
|
-
type
|
|
1114
|
+
type OrganizationMembersListResponse = OrganizationMembersListResponses[keyof OrganizationMembersListResponses];
|
|
1115
|
+
type OrganizationMembersCreateData = {
|
|
945
1116
|
body: {
|
|
946
1117
|
email: string;
|
|
947
|
-
|
|
1118
|
+
roles: Array<'admin' | 'member'>;
|
|
948
1119
|
};
|
|
949
1120
|
path: {
|
|
950
1121
|
organization_id: string;
|
|
@@ -952,37 +1123,32 @@ type OrganizationMemberCreateData = {
|
|
|
952
1123
|
query?: never;
|
|
953
1124
|
url: '/organizations/{organization_id}/members';
|
|
954
1125
|
};
|
|
955
|
-
type
|
|
1126
|
+
type OrganizationMembersCreateErrors = {
|
|
956
1127
|
/**
|
|
957
1128
|
* Error response
|
|
958
1129
|
*/
|
|
959
1130
|
default: ErrorResponse;
|
|
960
1131
|
};
|
|
961
|
-
type
|
|
962
|
-
type
|
|
1132
|
+
type OrganizationMembersCreateError = OrganizationMembersCreateErrors[keyof OrganizationMembersCreateErrors];
|
|
1133
|
+
type OrganizationMembersCreateResponses = {
|
|
963
1134
|
/**
|
|
964
1135
|
* Response
|
|
965
1136
|
*/
|
|
966
1137
|
201: {
|
|
1138
|
+
user: string;
|
|
1139
|
+
roles: Array<'admin' | 'member'>;
|
|
1140
|
+
created_at: number;
|
|
1141
|
+
updated_at?: number;
|
|
1142
|
+
id: string;
|
|
1143
|
+
object: 'organization_member';
|
|
967
1144
|
email: string;
|
|
968
1145
|
name?: string;
|
|
969
1146
|
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';
|
|
1147
|
+
organization: string;
|
|
982
1148
|
};
|
|
983
1149
|
};
|
|
984
|
-
type
|
|
985
|
-
type
|
|
1150
|
+
type OrganizationMembersCreateResponse = OrganizationMembersCreateResponses[keyof OrganizationMembersCreateResponses];
|
|
1151
|
+
type OrganizationMembersDeleteData = {
|
|
986
1152
|
body?: never;
|
|
987
1153
|
path: {
|
|
988
1154
|
organization_id: string;
|
|
@@ -991,23 +1157,23 @@ type OrganizationMemberDeleteData = {
|
|
|
991
1157
|
query?: never;
|
|
992
1158
|
url: '/organizations/{organization_id}/members/{member_id}';
|
|
993
1159
|
};
|
|
994
|
-
type
|
|
1160
|
+
type OrganizationMembersDeleteErrors = {
|
|
995
1161
|
/**
|
|
996
1162
|
* Error response
|
|
997
1163
|
*/
|
|
998
1164
|
default: ErrorResponse;
|
|
999
1165
|
};
|
|
1000
|
-
type
|
|
1001
|
-
type
|
|
1166
|
+
type OrganizationMembersDeleteError = OrganizationMembersDeleteErrors[keyof OrganizationMembersDeleteErrors];
|
|
1167
|
+
type OrganizationMembersDeleteResponses = {
|
|
1002
1168
|
/**
|
|
1003
1169
|
* Response
|
|
1004
1170
|
*/
|
|
1005
1171
|
204: void;
|
|
1006
1172
|
};
|
|
1007
|
-
type
|
|
1008
|
-
type
|
|
1173
|
+
type OrganizationMembersDeleteResponse = OrganizationMembersDeleteResponses[keyof OrganizationMembersDeleteResponses];
|
|
1174
|
+
type OrganizationMembersUpdateData = {
|
|
1009
1175
|
body: {
|
|
1010
|
-
|
|
1176
|
+
roles?: Array<'admin' | 'member'>;
|
|
1011
1177
|
};
|
|
1012
1178
|
path: {
|
|
1013
1179
|
organization_id: string;
|
|
@@ -1016,36 +1182,31 @@ type OrganizationMemberUpdateData = {
|
|
|
1016
1182
|
query?: never;
|
|
1017
1183
|
url: '/organizations/{organization_id}/members/{member_id}';
|
|
1018
1184
|
};
|
|
1019
|
-
type
|
|
1185
|
+
type OrganizationMembersUpdateErrors = {
|
|
1020
1186
|
/**
|
|
1021
1187
|
* Error response
|
|
1022
1188
|
*/
|
|
1023
1189
|
default: ErrorResponse;
|
|
1024
1190
|
};
|
|
1025
|
-
type
|
|
1026
|
-
type
|
|
1191
|
+
type OrganizationMembersUpdateError = OrganizationMembersUpdateErrors[keyof OrganizationMembersUpdateErrors];
|
|
1192
|
+
type OrganizationMembersUpdateResponses = {
|
|
1027
1193
|
/**
|
|
1028
1194
|
* Response
|
|
1029
1195
|
*/
|
|
1030
1196
|
200: {
|
|
1197
|
+
user: string;
|
|
1198
|
+
roles: Array<'admin' | 'member'>;
|
|
1199
|
+
created_at: number;
|
|
1200
|
+
updated_at?: number;
|
|
1201
|
+
id: string;
|
|
1202
|
+
object: 'organization_member';
|
|
1031
1203
|
email: string;
|
|
1032
1204
|
name?: string;
|
|
1033
1205
|
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';
|
|
1206
|
+
organization: string;
|
|
1046
1207
|
};
|
|
1047
1208
|
};
|
|
1048
|
-
type
|
|
1209
|
+
type OrganizationMembersUpdateResponse = OrganizationMembersUpdateResponses[keyof OrganizationMembersUpdateResponses];
|
|
1049
1210
|
type OrganizationsListData = {
|
|
1050
1211
|
body?: never;
|
|
1051
1212
|
path?: never;
|
|
@@ -1066,14 +1227,10 @@ type OrganizationsListResponses = {
|
|
|
1066
1227
|
200: Array<{
|
|
1067
1228
|
name: string;
|
|
1068
1229
|
owner: string;
|
|
1069
|
-
|
|
1070
|
-
|
|
1071
|
-
|
|
1072
|
-
|
|
1073
|
-
/**
|
|
1074
|
-
* Last Update date
|
|
1075
|
-
*/
|
|
1076
|
-
updated_at?: string;
|
|
1230
|
+
customer?: string;
|
|
1231
|
+
subscription?: string;
|
|
1232
|
+
created_at: number;
|
|
1233
|
+
updated_at?: number;
|
|
1077
1234
|
id: string;
|
|
1078
1235
|
object: 'organization';
|
|
1079
1236
|
}>;
|
|
@@ -1101,14 +1258,10 @@ type OrganizationsCreateResponses = {
|
|
|
1101
1258
|
201: {
|
|
1102
1259
|
name: string;
|
|
1103
1260
|
owner: string;
|
|
1104
|
-
|
|
1105
|
-
|
|
1106
|
-
|
|
1107
|
-
|
|
1108
|
-
/**
|
|
1109
|
-
* Last Update date
|
|
1110
|
-
*/
|
|
1111
|
-
updated_at?: string;
|
|
1261
|
+
customer?: string;
|
|
1262
|
+
subscription?: string;
|
|
1263
|
+
created_at: number;
|
|
1264
|
+
updated_at?: number;
|
|
1112
1265
|
id: string;
|
|
1113
1266
|
object: 'organization';
|
|
1114
1267
|
};
|
|
@@ -1158,14 +1311,10 @@ type OrganizationsRetrieveResponses = {
|
|
|
1158
1311
|
200: {
|
|
1159
1312
|
name: string;
|
|
1160
1313
|
owner: string;
|
|
1161
|
-
|
|
1162
|
-
|
|
1163
|
-
|
|
1164
|
-
|
|
1165
|
-
/**
|
|
1166
|
-
* Last Update date
|
|
1167
|
-
*/
|
|
1168
|
-
updated_at?: string;
|
|
1314
|
+
customer?: string;
|
|
1315
|
+
subscription?: string;
|
|
1316
|
+
created_at: number;
|
|
1317
|
+
updated_at?: number;
|
|
1169
1318
|
id: string;
|
|
1170
1319
|
object: 'organization';
|
|
1171
1320
|
};
|
|
@@ -1195,19 +1344,162 @@ type OrganizationsUpdateResponses = {
|
|
|
1195
1344
|
200: {
|
|
1196
1345
|
name: string;
|
|
1197
1346
|
owner: string;
|
|
1198
|
-
|
|
1199
|
-
|
|
1200
|
-
|
|
1201
|
-
|
|
1202
|
-
/**
|
|
1203
|
-
* Last Update date
|
|
1204
|
-
*/
|
|
1205
|
-
updated_at?: string;
|
|
1347
|
+
customer?: string;
|
|
1348
|
+
subscription?: string;
|
|
1349
|
+
created_at: number;
|
|
1350
|
+
updated_at?: number;
|
|
1206
1351
|
id: string;
|
|
1207
1352
|
object: 'organization';
|
|
1208
1353
|
};
|
|
1209
1354
|
};
|
|
1210
1355
|
type OrganizationsUpdateResponse = OrganizationsUpdateResponses[keyof OrganizationsUpdateResponses];
|
|
1356
|
+
type BillingSubscriptionGetData = {
|
|
1357
|
+
body?: never;
|
|
1358
|
+
path?: never;
|
|
1359
|
+
query?: never;
|
|
1360
|
+
url: '/billing/subscription';
|
|
1361
|
+
};
|
|
1362
|
+
type BillingSubscriptionGetErrors = {
|
|
1363
|
+
/**
|
|
1364
|
+
* Error response
|
|
1365
|
+
*/
|
|
1366
|
+
default: ErrorResponse;
|
|
1367
|
+
};
|
|
1368
|
+
type BillingSubscriptionGetError = BillingSubscriptionGetErrors[keyof BillingSubscriptionGetErrors];
|
|
1369
|
+
type BillingSubscriptionGetResponses = {
|
|
1370
|
+
/**
|
|
1371
|
+
* Response
|
|
1372
|
+
*/
|
|
1373
|
+
200: {
|
|
1374
|
+
id: string;
|
|
1375
|
+
created_at: number;
|
|
1376
|
+
/**
|
|
1377
|
+
* Whether the user is a billing admin
|
|
1378
|
+
*/
|
|
1379
|
+
admin: boolean;
|
|
1380
|
+
current_period_start: number;
|
|
1381
|
+
current_period_end: number;
|
|
1382
|
+
quantity: number;
|
|
1383
|
+
currency: string;
|
|
1384
|
+
amount: number | null;
|
|
1385
|
+
discount_percentage?: number | null;
|
|
1386
|
+
name: string | null;
|
|
1387
|
+
billing_period: 'day' | 'week' | 'month' | 'year' | null;
|
|
1388
|
+
plan: 'free' | 'starter' | 'pro' | 'premium' | 'business' | null;
|
|
1389
|
+
default_payment_method: {
|
|
1390
|
+
type: string;
|
|
1391
|
+
brand?: string | null;
|
|
1392
|
+
last4: string | null;
|
|
1393
|
+
exp_month: number | null;
|
|
1394
|
+
exp_year: number | null;
|
|
1395
|
+
bank_name?: string | null;
|
|
1396
|
+
} | null;
|
|
1397
|
+
addons: {
|
|
1398
|
+
senders?: {
|
|
1399
|
+
quantity: number;
|
|
1400
|
+
};
|
|
1401
|
+
email_warmups?: {
|
|
1402
|
+
quantity: number;
|
|
1403
|
+
};
|
|
1404
|
+
};
|
|
1405
|
+
} | null;
|
|
1406
|
+
};
|
|
1407
|
+
type BillingSubscriptionGetResponse = BillingSubscriptionGetResponses[keyof BillingSubscriptionGetResponses];
|
|
1408
|
+
type BillingSubscriptionUpdateData = {
|
|
1409
|
+
body: {
|
|
1410
|
+
plan: 'free' | 'starter' | 'pro' | 'premium' | 'business';
|
|
1411
|
+
billing_period: 'month' | 'year';
|
|
1412
|
+
};
|
|
1413
|
+
path?: never;
|
|
1414
|
+
query?: never;
|
|
1415
|
+
url: '/billing/subscription';
|
|
1416
|
+
};
|
|
1417
|
+
type BillingSubscriptionUpdateErrors = {
|
|
1418
|
+
/**
|
|
1419
|
+
* Error response
|
|
1420
|
+
*/
|
|
1421
|
+
default: ErrorResponse;
|
|
1422
|
+
};
|
|
1423
|
+
type BillingSubscriptionUpdateError = BillingSubscriptionUpdateErrors[keyof BillingSubscriptionUpdateErrors];
|
|
1424
|
+
type BillingSubscriptionUpdateResponses = {
|
|
1425
|
+
/**
|
|
1426
|
+
* Response
|
|
1427
|
+
*/
|
|
1428
|
+
200: {
|
|
1429
|
+
status: 'confirmation_required' | 'success' | 'payment_failed';
|
|
1430
|
+
client_secret?: string;
|
|
1431
|
+
failure_code?: string;
|
|
1432
|
+
};
|
|
1433
|
+
};
|
|
1434
|
+
type BillingSubscriptionUpdateResponse = BillingSubscriptionUpdateResponses[keyof BillingSubscriptionUpdateResponses];
|
|
1435
|
+
type BillingSubscriptionPreviewUpdateData = {
|
|
1436
|
+
body: {
|
|
1437
|
+
plan: 'free' | 'starter' | 'pro' | 'premium' | 'business';
|
|
1438
|
+
billing_period: 'month' | 'year';
|
|
1439
|
+
};
|
|
1440
|
+
path?: never;
|
|
1441
|
+
query?: never;
|
|
1442
|
+
url: '/billing/subscription/preview';
|
|
1443
|
+
};
|
|
1444
|
+
type BillingSubscriptionPreviewUpdateErrors = {
|
|
1445
|
+
/**
|
|
1446
|
+
* Error response
|
|
1447
|
+
*/
|
|
1448
|
+
default: ErrorResponse;
|
|
1449
|
+
};
|
|
1450
|
+
type BillingSubscriptionPreviewUpdateError = BillingSubscriptionPreviewUpdateErrors[keyof BillingSubscriptionPreviewUpdateErrors];
|
|
1451
|
+
type BillingSubscriptionPreviewUpdateResponses = {
|
|
1452
|
+
/**
|
|
1453
|
+
* Response
|
|
1454
|
+
*/
|
|
1455
|
+
200: {
|
|
1456
|
+
discount_percents: Array<number>;
|
|
1457
|
+
total_excluding_tax: number;
|
|
1458
|
+
total: number;
|
|
1459
|
+
amount_due: number;
|
|
1460
|
+
added_from_balance: number;
|
|
1461
|
+
consumed_balance: number;
|
|
1462
|
+
credited_to_balance: number;
|
|
1463
|
+
lines: Array<{
|
|
1464
|
+
amount: number;
|
|
1465
|
+
billing_period: 'day' | 'week' | 'month' | 'year';
|
|
1466
|
+
proration: boolean;
|
|
1467
|
+
plan?: 'free' | 'starter' | 'pro' | 'premium' | 'business';
|
|
1468
|
+
addon?: 'senders' | 'email_warmups';
|
|
1469
|
+
}>;
|
|
1470
|
+
next_renewal: number;
|
|
1471
|
+
total_tax_amounts: Array<{
|
|
1472
|
+
amount: number;
|
|
1473
|
+
}>;
|
|
1474
|
+
};
|
|
1475
|
+
};
|
|
1476
|
+
type BillingSubscriptionPreviewUpdateResponse = BillingSubscriptionPreviewUpdateResponses[keyof BillingSubscriptionPreviewUpdateResponses];
|
|
1477
|
+
type BillingSubscriptionCheckoutData = {
|
|
1478
|
+
body: {
|
|
1479
|
+
price_id: string;
|
|
1480
|
+
coupon?: string;
|
|
1481
|
+
currency?: 'usd' | 'eur' | 'inr';
|
|
1482
|
+
};
|
|
1483
|
+
path?: never;
|
|
1484
|
+
query?: never;
|
|
1485
|
+
url: '/billing/subscription/checkout';
|
|
1486
|
+
};
|
|
1487
|
+
type BillingSubscriptionCheckoutErrors = {
|
|
1488
|
+
/**
|
|
1489
|
+
* Error response
|
|
1490
|
+
*/
|
|
1491
|
+
default: ErrorResponse;
|
|
1492
|
+
};
|
|
1493
|
+
type BillingSubscriptionCheckoutError = BillingSubscriptionCheckoutErrors[keyof BillingSubscriptionCheckoutErrors];
|
|
1494
|
+
type BillingSubscriptionCheckoutResponses = {
|
|
1495
|
+
/**
|
|
1496
|
+
* Response
|
|
1497
|
+
*/
|
|
1498
|
+
200: {
|
|
1499
|
+
url: string;
|
|
1500
|
+
};
|
|
1501
|
+
};
|
|
1502
|
+
type BillingSubscriptionCheckoutResponse = BillingSubscriptionCheckoutResponses[keyof BillingSubscriptionCheckoutResponses];
|
|
1211
1503
|
type ContactListsCreateData = {
|
|
1212
1504
|
body: {
|
|
1213
1505
|
owner: string;
|
|
@@ -1955,123 +2247,6 @@ type BillingAddonsUpdateResponses = {
|
|
|
1955
2247
|
};
|
|
1956
2248
|
};
|
|
1957
2249
|
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
2250
|
type BillingGetPricesData = {
|
|
2076
2251
|
body?: never;
|
|
2077
2252
|
path?: never;
|
|
@@ -2170,6 +2345,11 @@ type types_gen_d_BillingGetPricesError = BillingGetPricesError;
|
|
|
2170
2345
|
type types_gen_d_BillingGetPricesErrors = BillingGetPricesErrors;
|
|
2171
2346
|
type types_gen_d_BillingGetPricesResponse = BillingGetPricesResponse;
|
|
2172
2347
|
type types_gen_d_BillingGetPricesResponses = BillingGetPricesResponses;
|
|
2348
|
+
type types_gen_d_BillingSubscriptionCheckoutData = BillingSubscriptionCheckoutData;
|
|
2349
|
+
type types_gen_d_BillingSubscriptionCheckoutError = BillingSubscriptionCheckoutError;
|
|
2350
|
+
type types_gen_d_BillingSubscriptionCheckoutErrors = BillingSubscriptionCheckoutErrors;
|
|
2351
|
+
type types_gen_d_BillingSubscriptionCheckoutResponse = BillingSubscriptionCheckoutResponse;
|
|
2352
|
+
type types_gen_d_BillingSubscriptionCheckoutResponses = BillingSubscriptionCheckoutResponses;
|
|
2173
2353
|
type types_gen_d_BillingSubscriptionGetData = BillingSubscriptionGetData;
|
|
2174
2354
|
type types_gen_d_BillingSubscriptionGetError = BillingSubscriptionGetError;
|
|
2175
2355
|
type types_gen_d_BillingSubscriptionGetErrors = BillingSubscriptionGetErrors;
|
|
@@ -2187,6 +2367,8 @@ type types_gen_d_BillingSubscriptionUpdateResponse = BillingSubscriptionUpdateRe
|
|
|
2187
2367
|
type types_gen_d_BillingSubscriptionUpdateResponses = BillingSubscriptionUpdateResponses;
|
|
2188
2368
|
type types_gen_d_BlockParams = BlockParams;
|
|
2189
2369
|
type types_gen_d_BlockResponse200 = BlockResponse200;
|
|
2370
|
+
type types_gen_d_CheckoutBody = CheckoutBody;
|
|
2371
|
+
type types_gen_d_CheckoutResponse200 = CheckoutResponse200;
|
|
2190
2372
|
type types_gen_d_ClientOptions = ClientOptions;
|
|
2191
2373
|
type types_gen_d_ContactIdBody = ContactIdBody;
|
|
2192
2374
|
type types_gen_d_ContactIdParams = ContactIdParams;
|
|
@@ -2294,26 +2476,26 @@ type types_gen_d_OpenapiJsonResponse200 = OpenapiJsonResponse200;
|
|
|
2294
2476
|
type types_gen_d_OrganizationIdBody = OrganizationIdBody;
|
|
2295
2477
|
type types_gen_d_OrganizationIdParams = OrganizationIdParams;
|
|
2296
2478
|
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
|
|
2479
|
+
type types_gen_d_OrganizationMembersCreateData = OrganizationMembersCreateData;
|
|
2480
|
+
type types_gen_d_OrganizationMembersCreateError = OrganizationMembersCreateError;
|
|
2481
|
+
type types_gen_d_OrganizationMembersCreateErrors = OrganizationMembersCreateErrors;
|
|
2482
|
+
type types_gen_d_OrganizationMembersCreateResponse = OrganizationMembersCreateResponse;
|
|
2483
|
+
type types_gen_d_OrganizationMembersCreateResponses = OrganizationMembersCreateResponses;
|
|
2484
|
+
type types_gen_d_OrganizationMembersDeleteData = OrganizationMembersDeleteData;
|
|
2485
|
+
type types_gen_d_OrganizationMembersDeleteError = OrganizationMembersDeleteError;
|
|
2486
|
+
type types_gen_d_OrganizationMembersDeleteErrors = OrganizationMembersDeleteErrors;
|
|
2487
|
+
type types_gen_d_OrganizationMembersDeleteResponse = OrganizationMembersDeleteResponse;
|
|
2488
|
+
type types_gen_d_OrganizationMembersDeleteResponses = OrganizationMembersDeleteResponses;
|
|
2489
|
+
type types_gen_d_OrganizationMembersListData = OrganizationMembersListData;
|
|
2490
|
+
type types_gen_d_OrganizationMembersListError = OrganizationMembersListError;
|
|
2491
|
+
type types_gen_d_OrganizationMembersListErrors = OrganizationMembersListErrors;
|
|
2492
|
+
type types_gen_d_OrganizationMembersListResponse = OrganizationMembersListResponse;
|
|
2493
|
+
type types_gen_d_OrganizationMembersListResponses = OrganizationMembersListResponses;
|
|
2494
|
+
type types_gen_d_OrganizationMembersUpdateData = OrganizationMembersUpdateData;
|
|
2495
|
+
type types_gen_d_OrganizationMembersUpdateError = OrganizationMembersUpdateError;
|
|
2496
|
+
type types_gen_d_OrganizationMembersUpdateErrors = OrganizationMembersUpdateErrors;
|
|
2497
|
+
type types_gen_d_OrganizationMembersUpdateResponse = OrganizationMembersUpdateResponse;
|
|
2498
|
+
type types_gen_d_OrganizationMembersUpdateResponses = OrganizationMembersUpdateResponses;
|
|
2317
2499
|
type types_gen_d_OrganizationsBody = OrganizationsBody;
|
|
2318
2500
|
type types_gen_d_OrganizationsCreateData = OrganizationsCreateData;
|
|
2319
2501
|
type types_gen_d_OrganizationsCreateError = OrganizationsCreateError;
|
|
@@ -2353,6 +2535,9 @@ type types_gen_d_SubscriptionBody = SubscriptionBody;
|
|
|
2353
2535
|
type types_gen_d_SubscriptionResponse200 = SubscriptionResponse200;
|
|
2354
2536
|
type types_gen_d_UnblockParams = UnblockParams;
|
|
2355
2537
|
type types_gen_d_UnblockResponse200 = UnblockResponse200;
|
|
2538
|
+
type types_gen_d_UserIdParams = UserIdParams;
|
|
2539
|
+
type types_gen_d_UserIdQuery = UserIdQuery;
|
|
2540
|
+
type types_gen_d_UserIdResponse200 = UserIdResponse200;
|
|
2356
2541
|
type types_gen_d_UsersDeleteActionData = UsersDeleteActionData;
|
|
2357
2542
|
type types_gen_d_UsersDeleteActionError = UsersDeleteActionError;
|
|
2358
2543
|
type types_gen_d_UsersDeleteActionErrors = UsersDeleteActionErrors;
|
|
@@ -2363,6 +2548,11 @@ type types_gen_d_UsersGetCurrentOrganizationError = UsersGetCurrentOrganizationE
|
|
|
2363
2548
|
type types_gen_d_UsersGetCurrentOrganizationErrors = UsersGetCurrentOrganizationErrors;
|
|
2364
2549
|
type types_gen_d_UsersGetCurrentOrganizationResponse = UsersGetCurrentOrganizationResponse;
|
|
2365
2550
|
type types_gen_d_UsersGetCurrentOrganizationResponses = UsersGetCurrentOrganizationResponses;
|
|
2551
|
+
type types_gen_d_UsersRetrieveData = UsersRetrieveData;
|
|
2552
|
+
type types_gen_d_UsersRetrieveError = UsersRetrieveError;
|
|
2553
|
+
type types_gen_d_UsersRetrieveErrors = UsersRetrieveErrors;
|
|
2554
|
+
type types_gen_d_UsersRetrieveResponse = UsersRetrieveResponse;
|
|
2555
|
+
type types_gen_d_UsersRetrieveResponses = UsersRetrieveResponses;
|
|
2366
2556
|
type types_gen_d_UsersSetCurrentOrganizationData = UsersSetCurrentOrganizationData;
|
|
2367
2557
|
type types_gen_d_UsersSetCurrentOrganizationError = UsersSetCurrentOrganizationError;
|
|
2368
2558
|
type types_gen_d_UsersSetCurrentOrganizationErrors = UsersSetCurrentOrganizationErrors;
|
|
@@ -2376,7 +2566,7 @@ type types_gen_d_UsersWatchMailboxResponses = UsersWatchMailboxResponses;
|
|
|
2376
2566
|
type types_gen_d_WatchMailboxBody = WatchMailboxBody;
|
|
2377
2567
|
type types_gen_d_WatchMailboxParams = WatchMailboxParams;
|
|
2378
2568
|
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 };
|
|
2569
|
+
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
2570
|
}
|
|
2381
2571
|
|
|
2382
2572
|
type Options<TData extends TDataShape = TDataShape, ThrowOnError extends boolean = boolean> = Options$1<TData, ThrowOnError> & {
|
|
@@ -2399,6 +2589,9 @@ declare class HeyApiClient {
|
|
|
2399
2589
|
});
|
|
2400
2590
|
}
|
|
2401
2591
|
declare class Users extends HeyApiClient {
|
|
2592
|
+
retrieve<ThrowOnError extends boolean = true>(user_id: string, parameters?: {
|
|
2593
|
+
expand?: Array<'billing' | 'billing.subscription'>;
|
|
2594
|
+
}, options?: Options<never, ThrowOnError>): RequestResult<UsersRetrieveResponses, UsersRetrieveErrors, ThrowOnError, "data">;
|
|
2402
2595
|
getCurrentOrganization<ThrowOnError extends boolean = true>(user_id: string, options?: Options<never, ThrowOnError>): RequestResult<UsersGetCurrentOrganizationResponses, UsersGetCurrentOrganizationErrors, ThrowOnError, "data">;
|
|
2403
2596
|
setCurrentOrganization<ThrowOnError extends boolean = true>(user_id: string, parameters?: {
|
|
2404
2597
|
organization_id?: string | null;
|
|
@@ -2420,6 +2613,22 @@ declare class Organizations extends HeyApiClient {
|
|
|
2420
2613
|
name?: string;
|
|
2421
2614
|
}, options?: Options<never, ThrowOnError>): RequestResult<OrganizationsUpdateResponses, OrganizationsUpdateErrors, ThrowOnError, "data">;
|
|
2422
2615
|
}
|
|
2616
|
+
declare class BillingSubscription extends HeyApiClient {
|
|
2617
|
+
get<ThrowOnError extends boolean = true>(options?: Options<never, ThrowOnError>): RequestResult<BillingSubscriptionGetResponses, BillingSubscriptionGetErrors, ThrowOnError, "data">;
|
|
2618
|
+
update<ThrowOnError extends boolean = true>(parameters: {
|
|
2619
|
+
plan: 'free' | 'starter' | 'pro' | 'premium' | 'business';
|
|
2620
|
+
billing_period: 'month' | 'year';
|
|
2621
|
+
}, options?: Options<never, ThrowOnError>): RequestResult<BillingSubscriptionUpdateResponses, BillingSubscriptionUpdateErrors, ThrowOnError, "data">;
|
|
2622
|
+
previewUpdate<ThrowOnError extends boolean = true>(parameters: {
|
|
2623
|
+
plan: 'free' | 'starter' | 'pro' | 'premium' | 'business';
|
|
2624
|
+
billing_period: 'month' | 'year';
|
|
2625
|
+
}, options?: Options<never, ThrowOnError>): RequestResult<BillingSubscriptionPreviewUpdateResponses, BillingSubscriptionPreviewUpdateErrors, ThrowOnError, "data">;
|
|
2626
|
+
checkout<ThrowOnError extends boolean = true>(parameters: {
|
|
2627
|
+
price_id: string;
|
|
2628
|
+
coupon?: string;
|
|
2629
|
+
currency?: 'usd' | 'eur' | 'inr';
|
|
2630
|
+
}, options?: Options<never, ThrowOnError>): RequestResult<BillingSubscriptionCheckoutResponses, BillingSubscriptionCheckoutErrors, ThrowOnError, "data">;
|
|
2631
|
+
}
|
|
2423
2632
|
declare class ContactLists extends HeyApiClient {
|
|
2424
2633
|
create<ThrowOnError extends boolean = true>(parameters: {
|
|
2425
2634
|
owner: string;
|
|
@@ -2511,17 +2720,6 @@ declare class BillingAddons extends HeyApiClient {
|
|
|
2511
2720
|
quantity: number;
|
|
2512
2721
|
}, options?: Options<never, ThrowOnError>): RequestResult<BillingAddonsUpdateResponses, BillingAddonsUpdateErrors, ThrowOnError, "data">;
|
|
2513
2722
|
}
|
|
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
2723
|
declare class Billing extends HeyApiClient {
|
|
2526
2724
|
getPrices<ThrowOnError extends boolean = true>(parameters: {
|
|
2527
2725
|
currency: string;
|