@posiwise/user-module 0.0.186 → 0.0.188
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/package.json
CHANGED
|
@@ -32,6 +32,7 @@ import { LazyLoadEvent, MenuItem } from "primeng/api";
|
|
|
32
32
|
import { AppBaseComponent } from "@posiwise/app-base-component";
|
|
33
33
|
import { Country, PRODUCT_CATEGORY, Product, Project, Subscription, TAG_ENTITY, TAG_TYPE, User } from "@posiwise/common-utilities";
|
|
34
34
|
import { Observable, Subscription as Subscription$1 } from "rxjs";
|
|
35
|
+
import { Qualification, SecondaryCardSummary, SecondaryProvider, Skill, StripeCardSummary } from "@posiwise/common-services";
|
|
35
36
|
declare namespace account_component_d_exports {
|
|
36
37
|
export { AccountComponent };
|
|
37
38
|
}
|
|
@@ -293,10 +294,6 @@ interface UserProfile {
|
|
|
293
294
|
slug: string;
|
|
294
295
|
headline: string;
|
|
295
296
|
}
|
|
296
|
-
interface UserRelationship {
|
|
297
|
-
followed_id: number;
|
|
298
|
-
follower_id: number;
|
|
299
|
-
}
|
|
300
297
|
interface AboutUser {
|
|
301
298
|
id: number;
|
|
302
299
|
slug: string;
|
|
@@ -312,23 +309,6 @@ interface AboutUserProfile {
|
|
|
312
309
|
gender: string;
|
|
313
310
|
phone_number: string;
|
|
314
311
|
}
|
|
315
|
-
interface Qualification {
|
|
316
|
-
id: number;
|
|
317
|
-
degree: string;
|
|
318
|
-
course: string;
|
|
319
|
-
school: string;
|
|
320
|
-
started_on: string;
|
|
321
|
-
ended_on: string;
|
|
322
|
-
}
|
|
323
|
-
interface UserLink {
|
|
324
|
-
[key: string]: string;
|
|
325
|
-
}
|
|
326
|
-
interface Skill {
|
|
327
|
-
category_name: string;
|
|
328
|
-
tags: {
|
|
329
|
-
name: string;
|
|
330
|
-
}[];
|
|
331
|
-
}
|
|
332
312
|
interface ModalContext {
|
|
333
313
|
modal: {
|
|
334
314
|
dismiss: () => void;
|
|
@@ -451,33 +431,6 @@ export declare class ClearMaskedOnFocusDirective {
|
|
|
451
431
|
static ɵfac: i0.ɵɵFactoryDeclaration<ClearMaskedOnFocusDirective, never>;
|
|
452
432
|
static ɵdir: i0.ɵɵDirectiveDeclaration<ClearMaskedOnFocusDirective, "input[pwClearMaskedOnFocus]", never, {}, {}, never, never, true, never>;
|
|
453
433
|
}
|
|
454
|
-
interface BraintreeCardSummary {
|
|
455
|
-
provider: 'braintree';
|
|
456
|
-
token: string;
|
|
457
|
-
card_number: string;
|
|
458
|
-
exp_month: number;
|
|
459
|
-
exp_year: number;
|
|
460
|
-
}
|
|
461
|
-
interface AirwallexCardSummary {
|
|
462
|
-
provider: 'airwallex';
|
|
463
|
-
brand: string;
|
|
464
|
-
card_number: string;
|
|
465
|
-
exp_month: number;
|
|
466
|
-
exp_year: number;
|
|
467
|
-
}
|
|
468
|
-
type SecondaryCardSummary = BraintreeCardSummary | AirwallexCardSummary;
|
|
469
|
-
type SecondaryProvider = 'braintree' | 'airwallex';
|
|
470
|
-
interface PaymentMethods {
|
|
471
|
-
primary: CardDetails | null;
|
|
472
|
-
secondary: SecondaryCardSummary | null;
|
|
473
|
-
secondary_provider: SecondaryProvider | null;
|
|
474
|
-
}
|
|
475
|
-
interface StripeJsApi {
|
|
476
|
-
setPublishableKey(key: string): void;
|
|
477
|
-
card: {
|
|
478
|
-
createToken(card: CardDetails, callback: (status: number, response: StripeCardResponse) => void): void;
|
|
479
|
-
};
|
|
480
|
-
}
|
|
481
434
|
declare namespace update_payment_details_component_d_exports {
|
|
482
435
|
export { UpdatePaymentDetailsComponent };
|
|
483
436
|
}
|
|
@@ -492,7 +445,7 @@ export declare class UpdatePaymentDetailsComponent extends AppBaseComponent impl
|
|
|
492
445
|
months: any[];
|
|
493
446
|
busy: boolean;
|
|
494
447
|
isChangePayment: boolean;
|
|
495
|
-
cardDetails:
|
|
448
|
+
cardDetails: StripeCardSummary | null;
|
|
496
449
|
secondaryCard: SecondaryCardSummary | null;
|
|
497
450
|
secondaryProvider: SecondaryProvider;
|
|
498
451
|
loading: boolean;
|