@memberstack/dom 1.9.8 → 1.9.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.
@@ -14,953 +14,34 @@ declare const _default: {
14
14
  onAuthChange: (cb: any) => {
15
15
  unsubscribe: () => boolean;
16
16
  };
17
+ _captchaReady: Promise<unknown>;
17
18
  } & {
18
19
  signupWithProvider(params?: import("../types").SignupWithProviderParams): Promise<unknown>;
19
- loginWithProvider(params?: import("../types").SignupWithProviderParams): Promise<unknown>;
20
- getAppAndMember(): Promise<{
21
- data: {
22
- app: {
23
- id: string;
24
- name: string;
25
- mode: "live" | "sandbox";
26
- plans: {
27
- id: string;
28
- name: string;
29
- description: string;
30
- status: string;
31
- redirects: {
32
- afterLogin: string;
33
- afterLogout: string;
34
- afterSignup: string;
35
- };
36
- prices?: [] | {
37
- id: string;
38
- amount: string;
39
- interval: {
40
- type: string;
41
- count: number;
42
- };
43
- name: string;
44
- type: string;
45
- status: string;
46
- currency: string;
47
- }[];
48
- }[];
49
- contentGroups: {
50
- id: string;
51
- name: string;
52
- key: string;
53
- allowAllMembers: boolean;
54
- activeMemberHasAccess?: boolean;
55
- redirect: string;
56
- urls: {
57
- url: string;
58
- filter: string;
59
- }[];
60
- plans: {
61
- id: string;
62
- }[];
63
- }[];
64
- emailVerificationEnabled: boolean;
65
- requireEmailVerification: boolean;
66
- customField: {
67
- order: number;
68
- key: string;
69
- label: string;
70
- hidden: boolean;
71
- }[];
72
- branding: {
73
- logo: string;
74
- colors: {
75
- lightMode: {
76
- primaryButton: string;
77
- };
78
- };
79
- };
80
- authProviders: {
81
- clientId: string;
82
- provider: string;
83
- providerType: string;
84
- icon: string;
85
- }[];
86
- };
87
- member: {
88
- id: string;
89
- verified: boolean;
90
- auth: {
91
- email: string;
92
- };
93
- loginRedirect: string;
94
- stripeCustomerId: string;
95
- createdAt: string;
96
- metaData: object;
97
- customFields: object;
98
- permissions: [] | string[];
99
- planConnections: {
100
- id: string;
101
- active: boolean;
102
- status: string;
103
- planId: string;
104
- type: string;
105
- payment: {
106
- amount: number;
107
- currency: string;
108
- status: string;
109
- lastBillingDate: number;
110
- nextBillingDate: number;
111
- cancelAtDate: number;
112
- lastInvoice: string;
113
- lastReceipt: string;
114
- card: string;
115
- };
116
- }[];
117
- };
118
- };
119
- }>;
120
- getApp(): Promise<{
121
- data: {
122
- id: string;
123
- name: string;
124
- mode: "live" | "sandbox";
125
- plans: {
126
- id: string;
127
- name: string;
128
- description: string;
129
- status: string;
130
- redirects: {
131
- afterLogin: string;
132
- afterLogout: string;
133
- afterSignup: string;
134
- };
135
- prices?: [] | {
136
- id: string;
137
- amount: string;
138
- interval: {
139
- type: string;
140
- count: number;
141
- };
142
- name: string;
143
- type: string;
144
- status: string;
145
- currency: string;
146
- }[];
147
- }[];
148
- contentGroups: {
149
- id: string;
150
- name: string;
151
- key: string;
152
- allowAllMembers: boolean;
153
- activeMemberHasAccess?: boolean;
154
- redirect: string;
155
- urls: {
156
- url: string;
157
- filter: string;
158
- }[];
159
- plans: {
160
- id: string;
161
- }[];
162
- }[];
163
- emailVerificationEnabled: boolean;
164
- requireEmailVerification: boolean;
165
- customField: {
166
- order: number;
167
- key: string;
168
- label: string;
169
- hidden: boolean;
170
- }[];
171
- branding: {
172
- logo: string;
173
- colors: {
174
- lightMode: {
175
- primaryButton: string;
176
- };
177
- };
178
- };
179
- authProviders: {
180
- clientId: string;
181
- provider: string;
182
- providerType: string;
183
- icon: string;
184
- }[];
185
- };
186
- }>;
187
- getAuthProviders(): Promise<{
188
- data: {
189
- id: string;
190
- name: string;
191
- mode: "live" | "sandbox";
192
- plans: {
193
- id: string;
194
- name: string;
195
- description: string;
196
- status: string;
197
- redirects: {
198
- afterLogin: string;
199
- afterLogout: string;
200
- afterSignup: string;
201
- };
202
- prices?: [] | {
203
- id: string;
204
- amount: string;
205
- interval: {
206
- type: string;
207
- count: number;
208
- };
209
- name: string;
210
- type: string;
211
- status: string;
212
- currency: string;
213
- }[];
214
- }[];
215
- contentGroups: {
216
- id: string;
217
- name: string;
218
- key: string;
219
- allowAllMembers: boolean;
220
- activeMemberHasAccess?: boolean;
221
- redirect: string;
222
- urls: {
223
- url: string;
224
- filter: string;
225
- }[];
226
- plans: {
227
- id: string;
228
- }[];
229
- }[];
230
- emailVerificationEnabled: boolean;
231
- requireEmailVerification: boolean;
232
- customField: {
233
- order: number;
234
- key: string;
235
- label: string;
236
- hidden: boolean;
237
- }[];
238
- branding: {
239
- logo: string;
240
- colors: {
241
- lightMode: {
242
- primaryButton: string;
243
- };
244
- };
245
- };
246
- authProviders: {
247
- clientId: string;
248
- provider: string;
249
- providerType: string;
250
- icon: string;
251
- }[];
252
- };
253
- }>;
254
- loginMemberEmailPassword(params: import("../types").LoginMemberEmailPasswordParams, options?: any): Promise<{
255
- data: {
256
- tokens: {
257
- accessToken: string;
258
- expires: number;
259
- type: "bearer";
260
- };
261
- member: {
262
- id: string;
263
- verified: boolean;
264
- auth: {
265
- email: string;
266
- };
267
- loginRedirect: string;
268
- stripeCustomerId: string;
269
- createdAt: string;
270
- metaData: object;
271
- customFields: object;
272
- permissions: [] | string[];
273
- planConnections: {
274
- id: string;
275
- active: boolean;
276
- status: string;
277
- planId: string;
278
- type: string;
279
- payment: {
280
- amount: number;
281
- currency: string;
282
- status: string;
283
- lastBillingDate: number;
284
- nextBillingDate: number;
285
- cancelAtDate: number;
286
- lastInvoice: string;
287
- lastReceipt: string;
288
- card: string;
289
- };
290
- }[];
291
- };
292
- redirect: string;
293
- payment: {
294
- requirePayment: string[];
295
- requireAuthentication: string[];
296
- };
297
- contentGroups?: {
298
- id: string;
299
- name: string;
300
- key: string;
301
- allowAllMembers: boolean;
302
- activeMemberHasAccess?: boolean;
303
- redirect: string;
304
- urls: {
305
- url: string;
306
- filter: string;
307
- }[];
308
- plans: {
309
- id: string;
310
- }[];
311
- }[];
312
- };
313
- }>;
314
- loginMemberAuthProvider(params: import("../types").LoginMemberAuthProviderParams): Promise<{
315
- data: {
316
- tokens: {
317
- accessToken: string;
318
- expires: number;
319
- type: "bearer";
320
- };
321
- member: {
322
- id: string;
323
- verified: boolean;
324
- auth: {
325
- email: string;
326
- };
327
- loginRedirect: string;
328
- stripeCustomerId: string;
329
- createdAt: string;
330
- metaData: object;
331
- customFields: object;
332
- permissions: [] | string[];
333
- planConnections: {
334
- id: string;
335
- active: boolean;
336
- status: string;
337
- planId: string;
338
- type: string;
339
- payment: {
340
- amount: number;
341
- currency: string;
342
- status: string;
343
- lastBillingDate: number;
344
- nextBillingDate: number;
345
- cancelAtDate: number;
346
- lastInvoice: string;
347
- lastReceipt: string;
348
- card: string;
349
- };
350
- }[];
351
- };
352
- redirect: string;
353
- payment: {
354
- requirePayment: string[];
355
- requireAuthentication: string[];
356
- };
357
- contentGroups?: {
358
- id: string;
359
- name: string;
360
- key: string;
361
- allowAllMembers: boolean;
362
- activeMemberHasAccess?: boolean;
363
- redirect: string;
364
- urls: {
365
- url: string;
366
- filter: string;
367
- }[];
368
- plans: {
369
- id: string;
370
- }[];
371
- }[];
372
- };
373
- }>;
374
- getPlan(params: import("../types").GetPlanParams): Promise<{
375
- data: {
376
- id: string;
377
- name: string;
378
- description: string;
379
- status: string;
380
- redirects: {
381
- afterLogin: string;
382
- afterLogout: string;
383
- afterSignup: string;
384
- };
385
- prices?: [] | {
386
- id: string;
387
- amount: string;
388
- interval: {
389
- type: string;
390
- count: number;
391
- };
392
- name: string;
393
- type: string;
394
- status: string;
395
- currency: string;
396
- }[];
397
- };
398
- }>;
399
- getPlans(): Promise<{
400
- data: {
401
- id: string;
402
- name: string;
403
- description: string;
404
- status: string;
405
- redirects: {
406
- afterLogin: string;
407
- afterLogout: string;
408
- afterSignup: string;
409
- };
410
- prices?: [] | {
411
- id: string;
412
- amount: string;
413
- interval: {
414
- type: string;
415
- count: number;
416
- };
417
- name: string;
418
- type: string;
419
- status: string;
420
- currency: string;
421
- }[];
422
- }[];
423
- }>;
424
- getRestrictedUrlGroups(): Promise<{
425
- data: {
426
- id: string;
427
- name: string;
428
- key: string;
429
- allowAllMembers: boolean;
430
- activeMemberHasAccess?: boolean;
431
- redirect: string;
432
- urls: {
433
- url: string;
434
- filter: string;
435
- }[];
436
- plans: {
437
- id: string;
438
- }[];
439
- }[];
440
- }>;
441
- getCurrentMember(options?: import("./requests").GetCurrentMemberParams): Promise<{
442
- data: {
443
- id: string;
444
- verified: boolean;
445
- auth: {
446
- email: string;
447
- };
448
- loginRedirect: string;
449
- stripeCustomerId: string;
450
- createdAt: string;
451
- metaData: object;
452
- customFields: object;
453
- permissions: [] | string[];
454
- planConnections: {
455
- id: string;
456
- active: boolean;
457
- status: string;
458
- planId: string;
459
- type: string;
460
- payment: {
461
- amount: number;
462
- currency: string;
463
- status: string;
464
- lastBillingDate: number;
465
- nextBillingDate: number;
466
- cancelAtDate: number;
467
- lastInvoice: string;
468
- lastReceipt: string;
469
- card: string;
470
- };
471
- }[];
472
- };
473
- }>;
474
- getMemberJSON(options?: import("./requests").MemberstackOptions): Promise<{
475
- data: {
476
- json: object;
477
- };
478
- }>;
479
- updateMemberJSON(params: import("../types").UpdateMemberJSONParams, options?: import("./requests").MemberstackOptions): Promise<{
480
- data: {
481
- json: object;
482
- };
483
- }>;
484
- getMemberCards(options?: import("./requests").MemberstackOptions): Promise<{
485
- data: {
486
- id: string;
487
- brand: string;
488
- expMonth: string;
489
- expYear: string;
490
- last4: string;
491
- default: boolean;
492
- }[];
493
- }>;
494
- getMemberInvoices(params?: import("../types").GetMemberInvoicesParams, options?: import("./requests").MemberstackOptions): Promise<{
495
- hasNext: boolean;
496
- endCursor: string;
497
- totalCount: number;
498
- data: {
499
- id: string;
500
- status: string;
501
- amount: number;
502
- url: string;
503
- description: string;
504
- number: string;
505
- planConnection: string;
506
- createdAt: string;
507
- currency: string;
508
- }[];
509
- }>;
510
- getMemberReceipts(params?: import("../types").GetMemberReceiptsParams, options?: import("./requests").MemberstackOptions): Promise<{
511
- hasNext: boolean;
512
- endCursor: string;
513
- totalCount: number;
514
- data: {
515
- id: string;
516
- amount: number;
517
- url: string;
518
- stripe?: {
519
- url: string;
520
- };
521
- number: string;
522
- purchase: string;
523
- invoice: string;
524
- createdAt: string;
525
- currency: string;
526
- }[];
527
- }>;
528
- getAuthenticationClientSecret(params: import("../types").GetAuthenticationClientSecretParams, options?: import("./requests").MemberstackOptions): Promise<{
529
- data: string;
530
- }>;
531
- getTotalCheckoutAmount(params: import("../types").GetTotalCheckoutAmountParams, options?: import("./requests").MemberstackOptions): Promise<{
532
- data: {
533
- total: number;
534
- subTotal: number;
535
- currency: string;
536
- setupFee?: {
537
- enabled: boolean;
538
- amount: number;
539
- name: string;
540
- };
541
- freeTrial?: {
542
- days: number;
543
- enabled: boolean;
544
- };
545
- tax?: {
546
- name: string;
547
- percent: number;
548
- description: string;
549
- }[];
550
- };
551
- }>;
552
- purchasePlans(params: import("../types").PurchasePlansParams, options?: import("./requests").MemberstackOptions): Promise<{
553
- data: {
554
- plan: string;
555
- payment: {
556
- requiresPayment: boolean;
557
- requiresAuthentication: boolean;
558
- };
559
- };
560
- }>;
561
- addPlan(params: import("../types").AddPlanParams, options?: import("./requests").MemberstackOptions): Promise<{
562
- data: {
563
- redirect: string;
564
- planConnection: {
565
- id: string;
566
- active: boolean;
567
- status: string;
568
- planId: string;
569
- type: string;
570
- payment: {
571
- amount: number;
572
- currency: string;
573
- status: string;
574
- lastBillingDate: number;
575
- nextBillingDate: number;
576
- cancelAtDate: number;
577
- lastInvoice: string;
578
- lastReceipt: string;
579
- card: string;
580
- };
581
- };
582
- };
583
- }>;
584
- purchasePlansWithCheckout(params: import("../types").PurchasePlansWithCheckoutParams, options?: import("./requests").MemberstackOptions): Promise<{
585
- data: {
586
- url: string;
587
- };
588
- }>;
589
- launchStripeCustomerPortal(params: import("../types").LaunchStripeCustomerPortalParams, options?: import("./requests").MemberstackOptions): Promise<{
590
- data: {
591
- url: string;
592
- };
593
- }>;
594
- removePlan(params: import("../types").RemovePlanParams, options?: import("./requests").MemberstackOptions): Promise<null>;
595
- cancelPlan(params: import("../types").CancelPlanParams, options?: import("./requests").MemberstackOptions): Promise<{
596
- data: {
597
- id: string;
598
- verified: boolean;
599
- auth: {
600
- email: string;
601
- };
602
- loginRedirect: string;
603
- stripeCustomerId: string;
604
- createdAt: string;
605
- metaData: object;
606
- customFields: object;
607
- permissions: [] | string[];
608
- planConnections: {
609
- id: string;
610
- active: boolean;
611
- status: string;
612
- planId: string;
613
- type: string;
614
- payment: {
615
- amount: number;
616
- currency: string;
617
- status: string;
618
- lastBillingDate: number;
619
- nextBillingDate: number;
620
- cancelAtDate: number;
621
- lastInvoice: string;
622
- lastReceipt: string;
623
- card: string;
624
- };
625
- }[];
626
- };
627
- }>;
628
- updateMember(params: import("../types").UpdateMemberParams, options?: import("./requests").MemberstackOptions): Promise<{
629
- data: {
630
- id: string;
631
- verified: boolean;
632
- auth: {
633
- email: string;
634
- };
635
- loginRedirect: string;
636
- stripeCustomerId: string;
637
- createdAt: string;
638
- metaData: object;
639
- customFields: object;
640
- permissions: [] | string[];
641
- planConnections: {
642
- id: string;
643
- active: boolean;
644
- status: string;
645
- planId: string;
646
- type: string;
647
- payment: {
648
- amount: number;
649
- currency: string;
650
- status: string;
651
- lastBillingDate: number;
652
- nextBillingDate: number;
653
- cancelAtDate: number;
654
- lastInvoice: string;
655
- lastReceipt: string;
656
- card: string;
657
- };
658
- }[];
659
- };
660
- }>;
661
- updateMemberAuth(params: import("../types").UpdateMemberAuthParams, options?: import("./requests").MemberstackOptions): Promise<{
662
- data: {
663
- id: string;
664
- verified: boolean;
665
- auth: {
666
- email: string;
667
- };
668
- loginRedirect: string;
669
- stripeCustomerId: string;
670
- createdAt: string;
671
- metaData: object;
672
- customFields: object;
673
- permissions: [] | string[];
674
- planConnections: {
675
- id: string;
676
- active: boolean;
677
- status: string;
678
- planId: string;
679
- type: string;
680
- payment: {
681
- amount: number;
682
- currency: string;
683
- status: string;
684
- lastBillingDate: number;
685
- nextBillingDate: number;
686
- cancelAtDate: number;
687
- lastInvoice: string;
688
- lastReceipt: string;
689
- card: string;
690
- };
691
- }[];
692
- };
693
- }>;
694
- addCard(params: import("../types").AddMemberCardParams, options?: import("./requests").MemberstackOptions): Promise<{
695
- data: {
696
- id: string;
697
- verified: boolean;
698
- auth: {
699
- email: string;
700
- };
701
- loginRedirect: string;
702
- stripeCustomerId: string;
703
- createdAt: string;
704
- metaData: object;
705
- customFields: object;
706
- permissions: [] | string[];
707
- planConnections: {
708
- id: string;
709
- active: boolean;
710
- status: string;
711
- planId: string;
712
- type: string;
713
- payment: {
714
- amount: number;
715
- currency: string;
716
- status: string;
717
- lastBillingDate: number;
718
- nextBillingDate: number;
719
- cancelAtDate: number;
720
- lastInvoice: string;
721
- lastReceipt: string;
722
- card: string;
723
- };
724
- }[];
725
- };
726
- }>;
727
- updateDefaultCard(params: import("../types").UpdateDefaultCardParams, options?: import("./requests").MemberstackOptions): Promise<{
728
- data: {
729
- id: string;
730
- verified: boolean;
731
- auth: {
732
- email: string;
733
- };
734
- loginRedirect: string;
735
- stripeCustomerId: string;
736
- createdAt: string;
737
- metaData: object;
738
- customFields: object;
739
- permissions: [] | string[];
740
- planConnections: {
741
- id: string;
742
- active: boolean;
743
- status: string;
744
- planId: string;
745
- type: string;
746
- payment: {
747
- amount: number;
748
- currency: string;
749
- status: string;
750
- lastBillingDate: number;
751
- nextBillingDate: number;
752
- cancelAtDate: number;
753
- lastInvoice: string;
754
- lastReceipt: string;
755
- card: string;
756
- };
757
- }[];
758
- };
759
- }>;
760
- updatePlanPayment(params: import("../types").UpdatePlanPaymentParams, options?: import("./requests").MemberstackOptions): Promise<{
761
- data: {
762
- id: string;
763
- verified: boolean;
764
- auth: {
765
- email: string;
766
- };
767
- loginRedirect: string;
768
- stripeCustomerId: string;
769
- createdAt: string;
770
- metaData: object;
771
- customFields: object;
772
- permissions: [] | string[];
773
- planConnections: {
774
- id: string;
775
- active: boolean;
776
- status: string;
777
- planId: string;
778
- type: string;
779
- payment: {
780
- amount: number;
781
- currency: string;
782
- status: string;
783
- lastBillingDate: number;
784
- nextBillingDate: number;
785
- cancelAtDate: number;
786
- lastInvoice: string;
787
- lastReceipt: string;
788
- card: string;
789
- };
790
- }[];
791
- };
792
- }>;
793
- signupMemberEmailPassword(params: import("../types").SignupMemberEmailPasswordParams, options?: any): Promise<{
794
- data: {
795
- tokens: {
796
- accessToken: string;
797
- expires: number;
798
- type: "bearer";
799
- };
800
- member: {
801
- id: string;
802
- verified: boolean;
803
- auth: {
804
- email: string;
805
- };
806
- loginRedirect: string;
807
- stripeCustomerId: string;
808
- createdAt: string;
809
- metaData: object;
810
- customFields: object;
811
- permissions: [] | string[];
812
- planConnections: {
813
- id: string;
814
- active: boolean;
815
- status: string;
816
- planId: string;
817
- type: string;
818
- payment: {
819
- amount: number;
820
- currency: string;
821
- status: string;
822
- lastBillingDate: number;
823
- nextBillingDate: number;
824
- cancelAtDate: number;
825
- lastInvoice: string;
826
- lastReceipt: string;
827
- card: string;
828
- };
829
- }[];
830
- };
831
- redirect: string;
832
- payment: {
833
- requirePayment: string[];
834
- requireAuthentication: string[];
835
- };
836
- contentGroups?: {
837
- id: string;
838
- name: string;
839
- key: string;
840
- allowAllMembers: boolean;
841
- activeMemberHasAccess?: boolean;
842
- redirect: string;
843
- urls: {
844
- url: string;
845
- filter: string;
846
- }[];
847
- plans: {
848
- id: string;
849
- }[];
850
- }[];
851
- };
852
- }>;
853
- signupMemberAuthProvider(params: import("../types").SignupMemberAuthProviderParams): Promise<{
854
- data: {
855
- tokens: {
856
- accessToken: string;
857
- expires: number;
858
- type: "bearer";
859
- };
860
- member: {
861
- id: string;
862
- verified: boolean;
863
- auth: {
864
- email: string;
865
- };
866
- loginRedirect: string;
867
- stripeCustomerId: string;
868
- createdAt: string;
869
- metaData: object;
870
- customFields: object;
871
- permissions: [] | string[];
872
- planConnections: {
873
- id: string;
874
- active: boolean;
875
- status: string;
876
- planId: string;
877
- type: string;
878
- payment: {
879
- amount: number;
880
- currency: string;
881
- status: string;
882
- lastBillingDate: number;
883
- nextBillingDate: number;
884
- cancelAtDate: number;
885
- lastInvoice: string;
886
- lastReceipt: string;
887
- card: string;
888
- };
889
- }[];
890
- };
891
- redirect: string;
892
- payment: {
893
- requirePayment: string[];
894
- requireAuthentication: string[];
895
- };
896
- contentGroups?: {
897
- id: string;
898
- name: string;
899
- key: string;
900
- allowAllMembers: boolean;
901
- activeMemberHasAccess?: boolean;
902
- redirect: string;
903
- urls: {
904
- url: string;
905
- filter: string;
906
- }[];
907
- plans: {
908
- id: string;
909
- }[];
910
- }[];
911
- };
912
- }>;
913
- sendMemberVerificationEmail(): Promise<void>;
914
- sendMemberResetPasswordEmail(params: import("../types").SendMemberResetPasswordEmailParams): Promise<{
915
- data: string;
916
- }>;
917
- resetMemberPassword(params: import("../types").ResetMemberPasswordParams): Promise<{
918
- data: {
919
- id: string;
920
- verified: boolean;
921
- auth: {
922
- email: string;
923
- };
924
- loginRedirect: string;
925
- stripeCustomerId: string;
926
- createdAt: string;
927
- metaData: object;
928
- customFields: object;
929
- permissions: [] | string[];
930
- planConnections: {
931
- id: string;
932
- active: boolean;
933
- status: string;
934
- planId: string;
935
- type: string;
936
- payment: {
937
- amount: number;
938
- currency: string;
939
- status: string;
940
- lastBillingDate: number;
941
- nextBillingDate: number;
942
- cancelAtDate: number;
943
- lastInvoice: string;
944
- lastReceipt: string;
945
- card: string;
946
- };
947
- }[];
948
- };
949
- }>;
950
- logout(options?: import("./requests").MemberstackOptions): Promise<{
951
- data: {
952
- redirect?: string;
953
- };
954
- }>;
955
- replacePlan(params: import("../types").ReplacePlanParams, options?: import("./requests").MemberstackOptions): Promise<{
956
- data: {
957
- plan: string;
958
- payment: {
959
- requiresPayment: boolean;
960
- requiresAuthentication: boolean;
961
- };
962
- };
963
- }>;
20
+ loginWithProvider(params?: import("../types").LoginWithProviderParams): Promise<unknown>;
21
+ connectProvider(params?: import("../types").LoginWithProviderParams): Promise<import("../types").ConnectProviderPayload>;
22
+ disconnectProvider(params: import("../types").LoginWithProviderParams): Promise<import("../types").ConnectProviderPayload>;
23
+ getAppAndMember(params?: any): Promise<import("../types").GetAppAndMemberPayload>;
24
+ getApp(): Promise<import("../types").AppPayload>;
25
+ loginMemberEmailPassword(params: import("../types").LoginMemberEmailPasswordParams, options?: any): Promise<import("../types").LoginMemberEmailPasswordPayload>;
26
+ loginMemberAuthProvider(params: import("../types").LoginMemberAuthProviderParams): Promise<import("../types").LoginMemberAuthProviderPayload>;
27
+ getPlan(params: import("../types").GetPlanParams): Promise<import("../types").GetPlanPayload>;
28
+ getPlans(): Promise<import("../types").GetPlansPayload>;
29
+ getRestrictedUrlGroups(): Promise<import("../types").GetRestrictedUrlGroupsPayload>;
30
+ getCurrentMember(options?: import("./requests").GetCurrentMemberParams): Promise<import("../types").GetCurrentMemberPayload>;
31
+ getMemberJSON(options?: import("./requests").MemberstackOptions): Promise<import("../types").GetMemberJSONPayload>;
32
+ updateMemberJSON(params: import("../types").UpdateMemberJSONParams, options?: import("./requests").MemberstackOptions): Promise<import("../types").GetMemberJSONPayload>;
33
+ addPlan(params: import("../types").AddPlanParams, options?: import("./requests").MemberstackOptions): Promise<import("../types").AddPlanPayload>;
34
+ purchasePlansWithCheckout(params: import("../types").PurchasePlansWithCheckoutParams, options?: import("./requests").MemberstackOptions): Promise<import("../types").PurchasePlansWithCheckoutPayload>;
35
+ launchStripeCustomerPortal(params: import("../types").LaunchStripeCustomerPortalParams, options?: import("./requests").MemberstackOptions): Promise<import("../types").LaunchStripeCustomerPortalPayload>;
36
+ removePlan(params: import("../types").RemovePlanParams, options?: import("./requests").MemberstackOptions): Promise<import("../types").RemovePlanPayload>;
37
+ updateMember(params: import("../types").UpdateMemberParams, options?: import("./requests").MemberstackOptions): Promise<import("../types").UpdateMemberPayload>;
38
+ updateMemberAuth(params: import("../types").UpdateMemberAuthParams, options?: import("./requests").MemberstackOptions): Promise<import("../types").UpdateMemberAuthPayload>;
39
+ setPassword(params: import("../types").SetPasswordParams, options?: import("./requests").MemberstackOptions): Promise<import("../types").SetPasswordPayload>;
40
+ signupMemberEmailPassword(params: import("../types").SignupMemberEmailPasswordParams, options?: any): Promise<import("../types").SignupMemberEmailPasswordPayload>;
41
+ sendMemberVerificationEmail(): Promise<import("../types").SendMemberVerificationEmailPayload>;
42
+ sendMemberResetPasswordEmail(params: import("../types").SendMemberResetPasswordEmailParams): Promise<import("../types").SendMemberResetPasswordEmailPayload>;
43
+ resetMemberPassword(params: import("../types").ResetMemberPasswordParams): Promise<import("../types").ResetMemberPassworPayload>;
44
+ logout(options?: import("./requests").MemberstackOptions): Promise<import("../types").LogoutMemberPayload>;
964
45
  decodeToken({ token }: {
965
46
  token: string;
966
47
  }): Promise<Pick<import("jose").JWTPayload, "iat" | "exp"> & {