@myclub_se/data-access 1.7.1 → 1.9.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -3,9 +3,13 @@ export interface ApiSwish {
3
3
  club_id: string;
4
4
  default_activated: boolean;
5
5
  name: string;
6
+ payment_terms_name: string;
7
+ payment_terms_organisation_id: string;
8
+ payment_terms_url: string;
6
9
  section_id: string;
7
10
  status: string;
8
11
  swish_payee_alias: string;
9
12
  test_account: boolean;
13
+ use_payment_terms: boolean;
10
14
  uses_myclub_certificate: boolean;
11
15
  }
@@ -4,4 +4,5 @@ export interface ApiMemberPublicForm {
4
4
  active_to: string | null;
5
5
  name: string;
6
6
  url: string;
7
+ user_token: string | null;
7
8
  }
@@ -14,6 +14,7 @@ export interface ApiNews {
14
14
  readonly read: boolean;
15
15
  readonly section_id: string | null;
16
16
  show_on_my_pages: boolean;
17
+ show_on_webpage: boolean;
17
18
  readonly team_id: string | null;
18
19
  text: string;
19
20
  title: string;
@@ -4,9 +4,13 @@ export declare class Swish {
4
4
  certificateValidUntil: string;
5
5
  defaultActivated: boolean;
6
6
  name: string;
7
+ paymentTermsName: string;
8
+ paymentTermsOrganisationId: string;
9
+ paymentTermsUrl: string;
7
10
  status: string;
8
11
  swishPayeeAlias: string;
9
12
  testAccount: boolean;
13
+ usePaymentTerms: boolean;
10
14
  usesMyClubCertificate: boolean;
11
- constructor(clubId: string, sectionId: string, certificateValidUntil: string, defaultActivated: boolean, name: string, status: string, swishPayeeAlias: string, testAccount: boolean, usesMyClubCertificate: boolean);
15
+ constructor(clubId: string, sectionId: string, certificateValidUntil: string, defaultActivated: boolean, name: string, paymentTermsName: string, paymentTermsOrganisationId: string, paymentTermsUrl: string, status: string, swishPayeeAlias: string, testAccount: boolean, usePaymentTerms: boolean, usesMyClubCertificate: boolean);
12
16
  }
@@ -2,7 +2,8 @@ export declare class MemberPublicForm {
2
2
  id: string;
3
3
  active_form: string | null;
4
4
  active_to: string | null;
5
+ userToken: string | null;
5
6
  name: string;
6
7
  url: string;
7
- constructor(id: string, active_form: string | null, active_to: string | null, name: string, url: string);
8
+ constructor(id: string, active_form: string | null, active_to: string | null, userToken: string | null, name: string, url: string);
8
9
  }
@@ -15,10 +15,11 @@ export declare class News {
15
15
  published_date: string | null;
16
16
  readonly read: boolean;
17
17
  show_on_my_pages: boolean;
18
+ show_on_webpage: boolean;
18
19
  text: string;
19
20
  title: string;
20
21
  readonly updated: string;
21
22
  urls: ImageUrls | null;
22
23
  static asFormGroup(news?: News | null): FormGroup;
23
- constructor(id: string, club_id: string, created: string, created_by_id: string, section_id: string | null, team_id: string | null, active_to: string | null, author: string, ingress: string, news_image: string | File | null, news_image_text: string, published_date: string | null, read: boolean, show_on_my_pages: boolean, text: string, title: string, updated: string, urls: ImageUrls | null);
24
+ constructor(id: string, club_id: string, created: string, created_by_id: string, section_id: string | null, team_id: string | null, active_to: string | null, author: string, ingress: string, news_image: string | File | null, news_image_text: string, published_date: string | null, read: boolean, show_on_my_pages: boolean, show_on_webpage: boolean, text: string, title: string, updated: string, urls: ImageUrls | null);
24
25
  }
@@ -5,6 +5,7 @@ export declare class MemberPublicFormService {
5
5
  private apiService;
6
6
  constructor(apiService: ApiService);
7
7
  getMemberMemberPublicForms(memberId: string): import("rxjs").Observable<import("../models").Collection<MemberPublicForm>>;
8
+ getMemberMemberPublicForm(memberId: string, id: string): import("rxjs").Observable<MemberPublicForm>;
8
9
  static ɵfac: i0.ɵɵFactoryDeclaration<MemberPublicFormService, never>;
9
10
  static ɵprov: i0.ɵɵInjectableDeclaration<MemberPublicFormService>;
10
11
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@myclub_se/data-access",
3
3
  "description": "This is the package required to access the api for the MyClub Member API V3 from angular",
4
- "version": "1.7.1",
4
+ "version": "1.9.0",
5
5
  "license": "MIT",
6
6
  "main": "src/index.ts",
7
7
  "peerDependencies": {