@vendasta/iam 2.0.2 → 2.2.2

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.
Files changed (89) hide show
  1. package/CHANGELOG.md +101 -0
  2. package/README.md +113 -0
  3. package/bundles/vendasta-iam.umd.js +815 -1350
  4. package/bundles/vendasta-iam.umd.js.map +1 -1
  5. package/bundles/vendasta-iam.umd.min.js +2 -2
  6. package/bundles/vendasta-iam.umd.min.js.map +1 -1
  7. package/esm2015/lib/_generated/host.service.js +7 -8
  8. package/esm2015/lib/_generated/index.js +1 -1
  9. package/esm2015/lib/_internal/enums/api.enum.js +1 -1
  10. package/esm2015/lib/_internal/enums/index.js +3 -2
  11. package/esm2015/lib/_internal/enums/policies.enum.js +18 -0
  12. package/esm2015/lib/_internal/enums/resources.enum.js +1 -12
  13. package/esm2015/lib/_internal/enums/subjects.enum.js +1 -1
  14. package/esm2015/lib/_internal/enums/users.enum.js +1 -1
  15. package/esm2015/lib/_internal/iam.api.service.js +7 -9
  16. package/esm2015/lib/_internal/index.js +1 -2
  17. package/esm2015/lib/_internal/interfaces/annotations.interface.js +8 -0
  18. package/esm2015/lib/_internal/interfaces/api.interface.js +1 -1
  19. package/esm2015/lib/_internal/interfaces/attributes.interface.js +8 -0
  20. package/esm2015/lib/_internal/interfaces/field-mask.interface.js +1 -1
  21. package/esm2015/lib/_internal/interfaces/index.js +1 -1
  22. package/esm2015/lib/_internal/interfaces/policies.interface.js +3 -0
  23. package/esm2015/lib/_internal/interfaces/resources.interface.js +1 -1
  24. package/esm2015/lib/_internal/interfaces/security-logs.interface.js +1 -1
  25. package/esm2015/lib/_internal/interfaces/subjects.interface.js +1 -7
  26. package/esm2015/lib/_internal/interfaces/users.interface.js +1 -1
  27. package/esm2015/lib/_internal/objects/annotations.js +30 -0
  28. package/esm2015/lib/_internal/objects/api.js +14 -380
  29. package/esm2015/lib/_internal/objects/attributes.js +158 -0
  30. package/esm2015/lib/_internal/objects/field-mask.js +1 -4
  31. package/esm2015/lib/_internal/objects/index.js +7 -4
  32. package/esm2015/lib/_internal/objects/policies.js +264 -0
  33. package/esm2015/lib/_internal/objects/resources.js +5 -320
  34. package/esm2015/lib/_internal/objects/security-logs.js +1 -8
  35. package/esm2015/lib/_internal/objects/subjects.js +2 -232
  36. package/esm2015/lib/_internal/objects/users.js +1 -32
  37. package/esm2015/lib/_internal/user-iam.api.service.js +7 -9
  38. package/esm2015/lib/http/http.interface.js +1 -1
  39. package/esm2015/lib/http/http.js +1 -1
  40. package/esm2015/lib/http/iam.http.api.service.js +7 -9
  41. package/esm2015/lib/iam.service.js +7 -11
  42. package/esm2015/lib/index.js +1 -1
  43. package/esm2015/lib/personas/account-group.js +1 -1
  44. package/esm2015/lib/personas/base-personas.js +1 -1
  45. package/esm2015/lib/personas/developer.js +1 -1
  46. package/esm2015/lib/personas/digital-agent.js +1 -1
  47. package/esm2015/lib/personas/index.js +1 -1
  48. package/esm2015/lib/personas/partner-app.js +1 -1
  49. package/esm2015/lib/personas/partner.js +2 -1
  50. package/esm2015/lib/personas/persona-type.enum.js +1 -1
  51. package/esm2015/lib/personas/personas.js +1 -1
  52. package/esm2015/lib/personas/salesperson.js +1 -1
  53. package/esm2015/lib/personas/smb.js +1 -1
  54. package/esm2015/lib/personas/success.js +1 -1
  55. package/esm2015/lib/personas/vendor.js +1 -1
  56. package/esm2015/public_api.js +1 -1
  57. package/esm2015/vendasta-iam.js +1 -1
  58. package/fesm2015/vendasta-iam.js +377 -913
  59. package/fesm2015/vendasta-iam.js.map +1 -1
  60. package/lib/_generated/host.service.d.ts +3 -0
  61. package/lib/_internal/enums/index.d.ts +2 -1
  62. package/lib/_internal/enums/policies.enum.d.ts +9 -0
  63. package/lib/_internal/enums/resources.enum.d.ts +0 -9
  64. package/lib/_internal/iam.api.service.d.ts +3 -0
  65. package/lib/_internal/index.d.ts +0 -1
  66. package/lib/_internal/interfaces/annotations.interface.d.ts +4 -0
  67. package/lib/_internal/interfaces/api.interface.d.ts +5 -17
  68. package/lib/_internal/interfaces/attributes.interface.d.ts +26 -0
  69. package/lib/_internal/interfaces/index.d.ts +6 -3
  70. package/lib/_internal/interfaces/policies.interface.d.ts +42 -0
  71. package/lib/_internal/interfaces/resources.interface.d.ts +2 -41
  72. package/lib/_internal/interfaces/subjects.interface.d.ts +1 -26
  73. package/lib/_internal/objects/annotations.d.ts +9 -0
  74. package/lib/_internal/objects/api.d.ts +5 -23
  75. package/lib/_internal/objects/attributes.d.ts +43 -0
  76. package/lib/_internal/objects/index.d.ts +6 -3
  77. package/lib/_internal/objects/policies.d.ts +68 -0
  78. package/lib/_internal/objects/resources.d.ts +2 -65
  79. package/lib/_internal/objects/subjects.d.ts +1 -41
  80. package/lib/_internal/user-iam.api.service.d.ts +3 -0
  81. package/lib/http/iam.http.api.service.d.ts +3 -0
  82. package/lib/iam.service.d.ts +3 -0
  83. package/lib/personas/base-personas.d.ts +1 -1
  84. package/lib/personas/partner.d.ts +1 -0
  85. package/package.json +5 -3
  86. package/vendasta-iam.d.ts +1 -0
  87. package/esm2015/lib/_internal/iam-sso.api.service.js +0 -42
  88. package/lib/_internal/iam-sso.api.service.d.ts +0 -12
  89. package/vendasta-iam.metadata.json +0 -1
@@ -1,26 +1,7 @@
1
1
  import * as i from '../interfaces';
2
+ import { StructAttribute } from './attributes';
2
3
  import * as e from '../enums';
3
4
  export declare function enumStringToValue<E>(enumRef: any, value: string): E;
4
- export declare class Attribute implements i.AttributeInterface {
5
- intAttribute: number;
6
- doubleAttribute: number;
7
- stringAttribute: string;
8
- boolAttribute: boolean;
9
- structAttribute: StructAttribute;
10
- listAttribute: ListAttribute;
11
- timestampAttribute: Date;
12
- geopointAttribute: GeoPointAttribute;
13
- static fromProto(proto: any): Attribute;
14
- constructor(kwargs?: i.AttributeInterface);
15
- toApiJson(): object;
16
- }
17
- export declare class StructAttributeAttributesEntry implements i.StructAttributeAttributesEntryInterface {
18
- key: string;
19
- value: Attribute;
20
- static fromProto(proto: any): StructAttributeAttributesEntry;
21
- constructor(kwargs?: i.StructAttributeAttributesEntryInterface);
22
- toApiJson(): object;
23
- }
24
5
  export declare class Context implements i.ContextInterface {
25
6
  namespaced: NamespacedContext;
26
7
  typed: TypedContext;
@@ -28,19 +9,6 @@ export declare class Context implements i.ContextInterface {
28
9
  constructor(kwargs?: i.ContextInterface);
29
10
  toApiJson(): object;
30
11
  }
31
- export declare class GeoPointAttribute implements i.GeoPointAttributeInterface {
32
- latitude: number;
33
- longitude: number;
34
- static fromProto(proto: any): GeoPointAttribute;
35
- constructor(kwargs?: i.GeoPointAttributeInterface);
36
- toApiJson(): object;
37
- }
38
- export declare class ListAttribute implements i.ListAttributeInterface {
39
- attributes: Attribute[];
40
- static fromProto(proto: any): ListAttribute;
41
- constructor(kwargs?: i.ListAttributeInterface);
42
- toApiJson(): object;
43
- }
44
12
  export declare class MultiValueAttribute implements i.MultiValueAttributeInterface {
45
13
  key: string;
46
14
  values: string[];
@@ -96,14 +64,6 @@ export declare class SingleValueAttribute implements i.SingleValueAttributeInter
96
64
  constructor(kwargs?: i.SingleValueAttributeInterface);
97
65
  toApiJson(): object;
98
66
  }
99
- export declare class StructAttribute implements i.StructAttributeInterface {
100
- attributes: {
101
- [key: string]: Attribute;
102
- };
103
- static fromProto(proto: any): StructAttribute;
104
- constructor(kwargs?: i.StructAttributeInterface);
105
- toApiJson(): object;
106
- }
107
67
  export declare class Subject implements i.SubjectInterface {
108
68
  subjectId: string;
109
69
  email: string;
@@ -3,6 +3,7 @@ import { GetImpersonationTokenRequestInterface, GetSessionTokenRequestInterface,
3
3
  import { HttpClient, HttpResponse } from '@angular/common/http';
4
4
  import { HostService } from '../_generated/host.service';
5
5
  import { Observable } from 'rxjs';
6
+ import * as i0 from "@angular/core";
6
7
  export declare class UserIAMApiService {
7
8
  private http;
8
9
  private hostService;
@@ -14,4 +15,6 @@ export declare class UserIAMApiService {
14
15
  getSessionToken(r: GetSessionTokenRequest | GetSessionTokenRequestInterface): Observable<GetTokenResponse>;
15
16
  resetPasswordWithToken(r: ResetPasswordWithTokenRequest | ResetPasswordWithTokenRequestInterface): Observable<HttpResponse<null>>;
16
17
  getImpersonationToken(r: GetImpersonationTokenRequest | GetImpersonationTokenRequestInterface): Observable<GetImpersonationTokenResponse>;
18
+ static ɵfac: i0.ɵɵFactoryDef<UserIAMApiService, never>;
19
+ static ɵprov: i0.ɵɵInjectableDef<UserIAMApiService>;
17
20
  }
@@ -3,6 +3,7 @@ import { Observable } from 'rxjs';
3
3
  import { HostService } from '../_generated/host.service';
4
4
  import { LoginRequestInterface, SSOLoginRequestInterface } from './http.interface';
5
5
  import { LoginRequest, LoginResponse, LogoutResponse, SSOLoginRequest } from './http';
6
+ import * as i0 from "@angular/core";
6
7
  export declare class IamHttpApiService {
7
8
  private http;
8
9
  private hostService;
@@ -11,4 +12,6 @@ export declare class IamHttpApiService {
11
12
  login(r: LoginRequest | LoginRequestInterface): Observable<LoginResponse>;
12
13
  logout(): Observable<LogoutResponse>;
13
14
  ssoLogin(r: SSOLoginRequest | SSOLoginRequestInterface): void;
15
+ static ɵfac: i0.ɵɵFactoryDef<IamHttpApiService, never>;
16
+ static ɵprov: i0.ɵɵInjectableDef<IamHttpApiService>;
14
17
  }
@@ -8,6 +8,7 @@ import { PersonaType } from './personas/persona-type.enum';
8
8
  import { User } from './_internal/objects/users';
9
9
  import { IAMApiService } from './_internal/iam.api.service';
10
10
  import { UserIdentifierInterface, UserSortOptionsInterface } from './_internal/interfaces';
11
+ import * as i0 from "@angular/core";
11
12
  export declare class IAMService {
12
13
  private api;
13
14
  private httpApi;
@@ -25,4 +26,6 @@ export declare class IAMService {
25
26
  getMultiUsers(userIdentifiers: UserIdentifierInterface[]): Observable<User[]>;
26
27
  listSecurityLogs(userId: string, cursor?: string, pageSize?: number, actionId?: string): Observable<ListSecurityLogsResponse>;
27
28
  listUsers(namespace: string, email?: string, cursor?: string, pageSize?: number, subjectTypes?: string[], searchTerms?: string[], sortOptions?: UserSortOptionsInterface[]): Observable<ListUsersResponse>;
29
+ static ɵfac: i0.ɵɵFactoryDef<IAMService, never>;
30
+ static ɵprov: i0.ɵɵInjectableDef<IAMService>;
28
31
  }
@@ -1,4 +1,4 @@
1
- import { AttributeInterface, StructAttributeInterface } from '../_internal/interfaces/subjects.interface';
1
+ import { AttributeInterface, StructAttributeInterface } from '../_internal/interfaces/attributes.interface';
2
2
  import { Persona } from '../_internal/objects/subjects';
3
3
  import { PersonaType } from './persona-type.enum';
4
4
  export declare class BasePersona {
@@ -23,4 +23,5 @@ export declare class PartnerPersona extends TypedPersona {
23
23
  canAccessAutomations: boolean;
24
24
  canAccessMarketplace: boolean;
25
25
  canEnableApps: boolean;
26
+ canAccessRetailBilling: boolean;
26
27
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vendasta/iam",
3
- "version": "2.0.2",
3
+ "version": "2.2.2",
4
4
  "peerDependencies": {
5
5
  "@angular/core": "^10.0.0",
6
6
  "@angular/common": "^10.0.0",
@@ -19,6 +19,8 @@
19
19
  "es2015": "fesm2015/vendasta-iam.js",
20
20
  "esm2015": "esm2015/vendasta-iam.js",
21
21
  "fesm2015": "fesm2015/vendasta-iam.js",
22
- "metadata": "vendasta-iam.metadata.json",
23
- "sideEffects": false
22
+ "sideEffects": false,
23
+ "scripts": {
24
+ "prepublishOnly": "node --eval \"console.error('ERROR: Trying to publish a package that has been compiled by Ivy. This is not allowed.\\nPlease delete and rebuild the package, without compiling with Ivy, before attempting to publish.\\n')\" && exit 1"
25
+ }
24
26
  }
package/vendasta-iam.d.ts CHANGED
@@ -1,4 +1,5 @@
1
1
  /**
2
2
  * Generated bundle index. Do not edit.
3
3
  */
4
+ /// <amd-module name="@vendasta/iam" />
4
5
  export * from './public_api';
@@ -1,42 +0,0 @@
1
- // *********************************
2
- // Code generated by sdkgen
3
- // DO NOT EDIT!.
4
- //
5
- // API Service.
6
- // *********************************
7
- import { Injectable } from '@angular/core';
8
- import { GetSessionForUserRequest, GetSessionForUserResponse, } from './objects/';
9
- import { HttpHeaders, HttpClient } from '@angular/common/http';
10
- import { HostService } from '../_generated/host.service';
11
- import { map, share } from 'rxjs/operators';
12
- import * as i0 from "@angular/core";
13
- import * as i1 from "@angular/common/http";
14
- import * as i2 from "../_generated/host.service";
15
- export class IAMSsoApiService {
16
- constructor(http, hostService) {
17
- this.http = http;
18
- this.hostService = hostService;
19
- }
20
- apiOptions() {
21
- return {
22
- headers: new HttpHeaders({
23
- 'Content-Type': 'application/json'
24
- }),
25
- withCredentials: true
26
- };
27
- }
28
- getSessionForUser(r) {
29
- const request = (r.toApiJson) ? r : new GetSessionForUserRequest(r);
30
- return this.http.post(this.hostService.hostWithScheme() + "/iam.v1.IAMSso/GetSessionForUser", request.toApiJson(), this.apiOptions())
31
- .pipe(map(resp => GetSessionForUserResponse.fromProto(resp)), share());
32
- }
33
- }
34
- IAMSsoApiService.ɵprov = i0.ɵɵdefineInjectable({ factory: function IAMSsoApiService_Factory() { return new IAMSsoApiService(i0.ɵɵinject(i1.HttpClient), i0.ɵɵinject(i2.HostService)); }, token: IAMSsoApiService, providedIn: "root" });
35
- IAMSsoApiService.decorators = [
36
- { type: Injectable, args: [{ providedIn: 'root' },] }
37
- ];
38
- IAMSsoApiService.ctorParameters = () => [
39
- { type: HttpClient },
40
- { type: HostService }
41
- ];
42
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaWFtLXNzby5hcGkuc2VydmljZS5qcyIsInNvdXJjZVJvb3QiOiIvY29kZWZyZXNoL3ZvbHVtZS9JQU0vc2Rrcy90eXBlc2NyaXB0L3NyYy9pYW1fc2RrL3NyYy8iLCJzb3VyY2VzIjpbImxpYi9faW50ZXJuYWwvaWFtLXNzby5hcGkuc2VydmljZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxvQ0FBb0M7QUFDcEMsMkJBQTJCO0FBQzNCLGdCQUFnQjtBQUNoQixFQUFFO0F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pICsgXCIvaWFtLnYxLklBTVNzby9HZXRTZXNzaW9uRm9yVXNlclwiLCByZXF1ZXN0LnRvQXBpSnNvbigpLCB0aGlzLmFwaU9wdGlvbnMoKSlcbiAgICAgICAgICAgIC5waXBlKFxuICAgICAgICAgICAgICAgIG1hcChyZXNwID0+IEdldFNlc3Npb25Gb3JVc2VyUmVzcG9uc2UuZnJvbVByb3RvKHJlc3ApKSxcbiAgICAgICAgICAgICAgICBzaGFyZSgpXG4gICAgICAgICAgICApO1xuICAgIH1cbiAgICBcbn1cbiJdfQ==
@@ -1,12 +0,0 @@
1
- import { GetSessionForUserRequest, GetSessionForUserResponse } from './objects/';
2
- import { GetSessionForUserRequestInterface } from './interfaces/';
3
- import { HttpClient } from '@angular/common/http';
4
- import { HostService } from '../_generated/host.service';
5
- import { Observable } from 'rxjs';
6
- export declare class IAMSsoApiService {
7
- private http;
8
- private hostService;
9
- constructor(http: HttpClient, hostService: HostService);
10
- private apiOptions;
11
- getSessionForUser(r: GetSessionForUserRequest | GetSessionForUserRequestInterface): Observable<GetSessionForUserResponse>;
12
- }
@@ -1 +0,0 @@
1
- {"__symbolic":"module","version":4,"exports":[{"from":"./_internal"},{"export":[{"name":"IAMService","as":"IAMService"}],"from":"./iam.service"},{"export":[{"name":"HostService","as":"HostService"}],"from":"./_generated"},{"export":[{"name":"UserSortOptionsInterface","as":"UserSortOptionsInterface"},{"name":"UserFilterInterface","as":"UserFilterInterface"}],"from":"./_internal/interfaces/api.interface"},{"export":[{"name":"SortDirection","as":"SortDirection"},{"name":"UserSortField","as":"UserSortField"}],"from":"./_internal/enums/api.enum"},{"export":[{"name":"PersonaType","as":"PersonaType"},{"name":"BasePersona","as":"BasePersona"},{"name":"PartnerPersona","as":"PartnerPersona"},{"name":"PartnerAppPersona","as":"PartnerAppPersona"},{"name":"SalespersonPersona","as":"SalespersonPersona"},{"name":"SMBPersona","as":"SMBPersona"},{"name":"VendorPersona","as":"VendorPersona"},{"name":"DeveloperPersona","as":"DeveloperPersona"},{"name":"DigitalAgentPersona","as":"DigitalAgentPersona"},{"name":"NamespacedPersona","as":"NamespacedPersona"},{"name":"TypedPersona","as":"TypedPersona"},{"name":"fromPersona","as":"fromPersona"}],"from":"./personas"}],"metadata":{},"origins":{},"importAs":"@vendasta/iam"}