@fossa-app/bridge 0.1.15 → 0.1.17

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 (62) hide show
  1. package/dist/Services/Clients/BranchClient.d.ts +10 -10
  2. package/dist/Services/Clients/CompanyClient.d.ts +8 -8
  3. package/dist/Services/Clients/CompanyLicenseClient.d.ts +4 -4
  4. package/dist/Services/Clients/CompanySettingsClient.d.ts +8 -8
  5. package/dist/Services/Clients/DepartmentClient.d.ts +10 -10
  6. package/dist/Services/Clients/EmployeeClient.d.ts +20 -20
  7. package/dist/Services/Clients/IBranchClient.d.ts +5 -5
  8. package/dist/Services/Clients/ICompanyClient.d.ts +4 -4
  9. package/dist/Services/Clients/ICompanyLicenseClient.d.ts +2 -2
  10. package/dist/Services/Clients/ICompanySettingsClient.d.ts +4 -4
  11. package/dist/Services/Clients/IDepartmentClient.d.ts +5 -5
  12. package/dist/Services/Clients/IEmployeeClient.d.ts +10 -10
  13. package/dist/Services/Clients/IIdentityClient.d.ts +1 -1
  14. package/dist/Services/Clients/ISystemLicenseClient.d.ts +1 -1
  15. package/dist/Services/Clients/IdentityClient.d.ts +2 -2
  16. package/dist/Services/Clients/SystemLicenseClient.d.ts +2 -2
  17. package/dist/Services/IHttpTransport.d.ts +5 -5
  18. package/package.json +1 -1
  19. package/dist/Models/ApiModels/EnvelopeModels.js +0 -34
  20. package/dist/Models/ApiModels/EnvelopeModels.js.map +0 -1
  21. package/dist/Models/ApiModels/PayloadModels.js +0 -286
  22. package/dist/Models/ApiModels/PayloadModels.js.map +0 -1
  23. package/dist/Models/ApiModels/SharedModels.js +0 -79
  24. package/dist/Models/ApiModels/SharedModels.js.map +0 -1
  25. package/dist/Services/Clients/BranchClient.js +0 -63
  26. package/dist/Services/Clients/BranchClient.js.map +0 -1
  27. package/dist/Services/Clients/CompanyClient.js +0 -45
  28. package/dist/Services/Clients/CompanyClient.js.map +0 -1
  29. package/dist/Services/Clients/CompanyLicenseClient.js +0 -31
  30. package/dist/Services/Clients/CompanyLicenseClient.js.map +0 -1
  31. package/dist/Services/Clients/CompanySettingsClient.js +0 -45
  32. package/dist/Services/Clients/CompanySettingsClient.js.map +0 -1
  33. package/dist/Services/Clients/DepartmentClient.js +0 -63
  34. package/dist/Services/Clients/DepartmentClient.js.map +0 -1
  35. package/dist/Services/Clients/EmployeeClient.js +0 -102
  36. package/dist/Services/Clients/EmployeeClient.js.map +0 -1
  37. package/dist/Services/Clients/IBranchClient.js +0 -2
  38. package/dist/Services/Clients/IBranchClient.js.map +0 -1
  39. package/dist/Services/Clients/ICompanyClient.js +0 -2
  40. package/dist/Services/Clients/ICompanyClient.js.map +0 -1
  41. package/dist/Services/Clients/ICompanyLicenseClient.js +0 -2
  42. package/dist/Services/Clients/ICompanyLicenseClient.js.map +0 -1
  43. package/dist/Services/Clients/ICompanySettingsClient.js +0 -2
  44. package/dist/Services/Clients/ICompanySettingsClient.js.map +0 -1
  45. package/dist/Services/Clients/IDepartmentClient.js +0 -2
  46. package/dist/Services/Clients/IDepartmentClient.js.map +0 -1
  47. package/dist/Services/Clients/IEmployeeClient.js +0 -2
  48. package/dist/Services/Clients/IEmployeeClient.js.map +0 -1
  49. package/dist/Services/Clients/IIdentityClient.js +0 -2
  50. package/dist/Services/Clients/IIdentityClient.js.map +0 -1
  51. package/dist/Services/Clients/ISystemLicenseClient.js +0 -2
  52. package/dist/Services/Clients/ISystemLicenseClient.js.map +0 -1
  53. package/dist/Services/Clients/IdentityClient.js +0 -24
  54. package/dist/Services/Clients/IdentityClient.js.map +0 -1
  55. package/dist/Services/Clients/SystemLicenseClient.js +0 -24
  56. package/dist/Services/Clients/SystemLicenseClient.js.map +0 -1
  57. package/dist/Services/Endpoints.js +0 -11
  58. package/dist/Services/Endpoints.js.map +0 -1
  59. package/dist/Services/IHttpTransport.js +0 -2
  60. package/dist/Services/IHttpTransport.js.map +0 -1
  61. package/dist/Services/UrlHelpers.js +0 -86
  62. package/dist/Services/UrlHelpers.js.map +0 -1
@@ -6,17 +6,17 @@ import { TypeInfo } from "@fable-org/fable-library-ts/Reflection.ts";
6
6
  export declare class BranchClient implements IBranchClient {
7
7
  readonly transport: IHttpTransport;
8
8
  constructor(transport: IHttpTransport);
9
- GetBranchesAsync(query: BranchQueryRequestModel): any;
10
- GetBranchAsync(id: int64): any;
11
- CreateBranchAsync(model: BranchModificationModel): any;
12
- UpdateBranchAsync(id: int64, model: BranchModificationModel): any;
13
- DeleteBranchAsync(id: int64): any;
9
+ GetBranchesAsync(query: BranchQueryRequestModel, cancellationToken: any): any;
10
+ GetBranchAsync(id: int64, cancellationToken: any): any;
11
+ CreateBranchAsync(model: BranchModificationModel, cancellationToken: any): any;
12
+ UpdateBranchAsync(id: int64, model: BranchModificationModel, cancellationToken: any): any;
13
+ DeleteBranchAsync(id: int64, cancellationToken: any): any;
14
14
  }
15
15
  export declare function BranchClient_$reflection(): TypeInfo;
16
16
  export declare function BranchClient_$ctor_Z7C557C0(transport: IHttpTransport): BranchClient;
17
- export declare function BranchClient__GetBranchesAsync_Z113C1396(_: BranchClient, query: BranchQueryRequestModel): any;
18
- export declare function BranchClient__GetBranchAsync_Z524259C1(_: BranchClient, id: int64): any;
19
- export declare function BranchClient__CreateBranchAsync_4022AC0F(_: BranchClient, model: BranchModificationModel): any;
20
- export declare function BranchClient__UpdateBranchAsync_2550C210(_: BranchClient, id: int64, model: BranchModificationModel): any;
21
- export declare function BranchClient__DeleteBranchAsync_Z524259C1(_: BranchClient, id: int64): any;
17
+ export declare function BranchClient__GetBranchesAsync_19A32868(_: BranchClient, query: BranchQueryRequestModel, cancellationToken: any): any;
18
+ export declare function BranchClient__GetBranchAsync_Z446FC023(_: BranchClient, id: int64, cancellationToken: any): any;
19
+ export declare function BranchClient__CreateBranchAsync_Z656583D3(_: BranchClient, model: BranchModificationModel, cancellationToken: any): any;
20
+ export declare function BranchClient__UpdateBranchAsync_118B55D2(_: BranchClient, id: int64, model: BranchModificationModel, cancellationToken: any): any;
21
+ export declare function BranchClient__DeleteBranchAsync_Z446FC023(_: BranchClient, id: int64, cancellationToken: any): any;
22
22
  export declare function BranchClient__buildUrl_Z113C1396(this$: BranchClient, queryParams: BranchQueryRequestModel): string;
@@ -5,14 +5,14 @@ import { TypeInfo } from "@fable-org/fable-library-ts/Reflection.ts";
5
5
  export declare class CompanyClient implements ICompanyClient {
6
6
  readonly transport: IHttpTransport;
7
7
  constructor(transport: IHttpTransport);
8
- GetCompanyAsync(): any;
9
- CreateCompanyAsync(model: CompanyModificationModel): any;
10
- UpdateCompanyAsync(model: CompanyModificationModel): any;
11
- DeleteCompanyAsync(): any;
8
+ GetCompanyAsync(cancellationToken: any): any;
9
+ CreateCompanyAsync(model: CompanyModificationModel, cancellationToken: any): any;
10
+ UpdateCompanyAsync(model: CompanyModificationModel, cancellationToken: any): any;
11
+ DeleteCompanyAsync(cancellationToken: any): any;
12
12
  }
13
13
  export declare function CompanyClient_$reflection(): TypeInfo;
14
14
  export declare function CompanyClient_$ctor_Z7C557C0(transport: IHttpTransport): CompanyClient;
15
- export declare function CompanyClient__GetCompanyAsync(_: CompanyClient): any;
16
- export declare function CompanyClient__CreateCompanyAsync_4E5BE73C(_: CompanyClient, model: CompanyModificationModel): any;
17
- export declare function CompanyClient__UpdateCompanyAsync_4E5BE73C(_: CompanyClient, model: CompanyModificationModel): any;
18
- export declare function CompanyClient__DeleteCompanyAsync(_: CompanyClient): any;
15
+ export declare function CompanyClient__GetCompanyAsync_Z211DAE3E(_: CompanyClient, cancellationToken: any): any;
16
+ export declare function CompanyClient__CreateCompanyAsync_Z38C56082(_: CompanyClient, model: CompanyModificationModel, cancellationToken: any): any;
17
+ export declare function CompanyClient__UpdateCompanyAsync_Z38C56082(_: CompanyClient, model: CompanyModificationModel, cancellationToken: any): any;
18
+ export declare function CompanyClient__DeleteCompanyAsync_Z211DAE3E(_: CompanyClient, cancellationToken: any): any;
@@ -4,10 +4,10 @@ import { TypeInfo } from "@fable-org/fable-library-ts/Reflection.ts";
4
4
  export declare class CompanyLicenseClient implements ICompanyLicenseClient {
5
5
  readonly transport: IHttpTransport;
6
6
  constructor(transport: IHttpTransport);
7
- GetLicenseAsync(): any;
8
- CreateLicenseAsync(model: string): any;
7
+ GetLicenseAsync(cancellationToken: any): any;
8
+ CreateLicenseAsync(model: string, cancellationToken: any): any;
9
9
  }
10
10
  export declare function CompanyLicenseClient_$reflection(): TypeInfo;
11
11
  export declare function CompanyLicenseClient_$ctor_Z7C557C0(transport: IHttpTransport): CompanyLicenseClient;
12
- export declare function CompanyLicenseClient__GetLicenseAsync(_: CompanyLicenseClient): any;
13
- export declare function CompanyLicenseClient__CreateLicenseAsync_Z721C83C5(_: CompanyLicenseClient, model: string): any;
12
+ export declare function CompanyLicenseClient__GetLicenseAsync_Z211DAE3E(_: CompanyLicenseClient, cancellationToken: any): any;
13
+ export declare function CompanyLicenseClient__CreateLicenseAsync_Z6B4EADA7(_: CompanyLicenseClient, model: string, cancellationToken: any): any;
@@ -5,14 +5,14 @@ import { TypeInfo } from "@fable-org/fable-library-ts/Reflection.ts";
5
5
  export declare class CompanySettingsClient implements ICompanySettingsClient {
6
6
  readonly transport: IHttpTransport;
7
7
  constructor(transport: IHttpTransport);
8
- GetCompanySettingsAsync(): any;
9
- CreateCompanySettingsAsync(model: CompanySettingsModificationModel): any;
10
- UpdateCompanySettingsAsync(model: CompanySettingsModificationModel): any;
11
- DeleteCompanySettingsAsync(): any;
8
+ GetCompanySettingsAsync(cancellationToken: any): any;
9
+ CreateCompanySettingsAsync(model: CompanySettingsModificationModel, cancellationToken: any): any;
10
+ UpdateCompanySettingsAsync(model: CompanySettingsModificationModel, cancellationToken: any): any;
11
+ DeleteCompanySettingsAsync(cancellationToken: any): any;
12
12
  }
13
13
  export declare function CompanySettingsClient_$reflection(): TypeInfo;
14
14
  export declare function CompanySettingsClient_$ctor_Z7C557C0(transport: IHttpTransport): CompanySettingsClient;
15
- export declare function CompanySettingsClient__GetCompanySettingsAsync(_: CompanySettingsClient): any;
16
- export declare function CompanySettingsClient__CreateCompanySettingsAsync_Z5EAF18E7(_: CompanySettingsClient, model: CompanySettingsModificationModel): any;
17
- export declare function CompanySettingsClient__UpdateCompanySettingsAsync_Z5EAF18E7(_: CompanySettingsClient, model: CompanySettingsModificationModel): any;
18
- export declare function CompanySettingsClient__DeleteCompanySettingsAsync(_: CompanySettingsClient): any;
15
+ export declare function CompanySettingsClient__GetCompanySettingsAsync_Z211DAE3E(_: CompanySettingsClient, cancellationToken: any): any;
16
+ export declare function CompanySettingsClient__CreateCompanySettingsAsync_158F9BFB(_: CompanySettingsClient, model: CompanySettingsModificationModel, cancellationToken: any): any;
17
+ export declare function CompanySettingsClient__UpdateCompanySettingsAsync_158F9BFB(_: CompanySettingsClient, model: CompanySettingsModificationModel, cancellationToken: any): any;
18
+ export declare function CompanySettingsClient__DeleteCompanySettingsAsync_Z211DAE3E(_: CompanySettingsClient, cancellationToken: any): any;
@@ -6,17 +6,17 @@ import { TypeInfo } from "@fable-org/fable-library-ts/Reflection.ts";
6
6
  export declare class DepartmentClient implements IDepartmentClient {
7
7
  readonly transport: IHttpTransport;
8
8
  constructor(transport: IHttpTransport);
9
- GetDepartmentsAsync(query: DepartmentQueryRequestModel): any;
10
- GetDepartmentAsync(id: int64): any;
11
- CreateDepartmentAsync(model: DepartmentModificationModel): any;
12
- UpdateDepartmentAsync(id: int64, model: DepartmentModificationModel): any;
13
- DeleteDepartmentAsync(id: int64): any;
9
+ GetDepartmentsAsync(query: DepartmentQueryRequestModel, cancellationToken: any): any;
10
+ GetDepartmentAsync(id: int64, cancellationToken: any): any;
11
+ CreateDepartmentAsync(model: DepartmentModificationModel, cancellationToken: any): any;
12
+ UpdateDepartmentAsync(id: int64, model: DepartmentModificationModel, cancellationToken: any): any;
13
+ DeleteDepartmentAsync(id: int64, cancellationToken: any): any;
14
14
  }
15
15
  export declare function DepartmentClient_$reflection(): TypeInfo;
16
16
  export declare function DepartmentClient_$ctor_Z7C557C0(transport: IHttpTransport): DepartmentClient;
17
- export declare function DepartmentClient__GetDepartmentsAsync_Z2E433DA6(_: DepartmentClient, query: DepartmentQueryRequestModel): any;
18
- export declare function DepartmentClient__GetDepartmentAsync_Z524259C1(_: DepartmentClient, id: int64): any;
19
- export declare function DepartmentClient__CreateDepartmentAsync_Z7668FDC1(_: DepartmentClient, model: DepartmentModificationModel): any;
20
- export declare function DepartmentClient__UpdateDepartmentAsync_Z131A93E0(_: DepartmentClient, id: int64, model: DepartmentModificationModel): any;
21
- export declare function DepartmentClient__DeleteDepartmentAsync_Z524259C1(_: DepartmentClient, id: int64): any;
17
+ export declare function DepartmentClient__GetDepartmentsAsync_Z2848A3A8(_: DepartmentClient, query: DepartmentQueryRequestModel, cancellationToken: any): any;
18
+ export declare function DepartmentClient__GetDepartmentAsync_Z446FC023(_: DepartmentClient, id: int64, cancellationToken: any): any;
19
+ export declare function DepartmentClient__CreateDepartmentAsync_62951BDD(_: DepartmentClient, model: DepartmentModificationModel, cancellationToken: any): any;
20
+ export declare function DepartmentClient__UpdateDepartmentAsync_5770A1E2(_: DepartmentClient, id: int64, model: DepartmentModificationModel, cancellationToken: any): any;
21
+ export declare function DepartmentClient__DeleteDepartmentAsync_Z446FC023(_: DepartmentClient, id: int64, cancellationToken: any): any;
22
22
  export declare function DepartmentClient__buildUrl_Z2E433DA6(this$: DepartmentClient, queryParams: DepartmentQueryRequestModel): string;
@@ -6,28 +6,28 @@ import { TypeInfo } from "@fable-org/fable-library-ts/Reflection.ts";
6
6
  export declare class EmployeeClient implements IEmployeeClient {
7
7
  readonly transport: IHttpTransport;
8
8
  constructor(transport: IHttpTransport);
9
- GetEmployeesAsync(query: EmployeeQueryRequestModel): any;
10
- GetEmployeesPagingAsync(query: EmployeePagingRequestModel): any;
11
- GetEmployeeAsync(id: int64): any;
12
- GetCurrentEmployeeAsync(): any;
13
- CreateEmployeeAsync(model: EmployeeModificationModel): any;
14
- UpdateEmployeeAsync(id: int64, model: EmployeeModificationModel): any;
15
- UpdateCurrentEmployeeAsync(model: EmployeeModificationModel): any;
16
- ManageEmployeeAsync(id: int64, model: EmployeeManagementModel): any;
17
- DeleteEmployeeAsync(id: int64): any;
18
- DeleteCurrentEmployeeAsync(): any;
9
+ GetEmployeesAsync(query: EmployeeQueryRequestModel, cancellationToken: any): any;
10
+ GetEmployeesPagingAsync(query: EmployeePagingRequestModel, cancellationToken: any): any;
11
+ GetEmployeeAsync(id: int64, cancellationToken: any): any;
12
+ GetCurrentEmployeeAsync(cancellationToken: any): any;
13
+ CreateEmployeeAsync(model: EmployeeModificationModel, cancellationToken: any): any;
14
+ UpdateEmployeeAsync(id: int64, model: EmployeeModificationModel, cancellationToken: any): any;
15
+ UpdateCurrentEmployeeAsync(model: EmployeeModificationModel, cancellationToken: any): any;
16
+ ManageEmployeeAsync(id: int64, model: EmployeeManagementModel, cancellationToken: any): any;
17
+ DeleteEmployeeAsync(id: int64, cancellationToken: any): any;
18
+ DeleteCurrentEmployeeAsync(cancellationToken: any): any;
19
19
  }
20
20
  export declare function EmployeeClient_$reflection(): TypeInfo;
21
21
  export declare function EmployeeClient_$ctor_Z7C557C0(transport: IHttpTransport): EmployeeClient;
22
- export declare function EmployeeClient__GetEmployeesAsync_Z134B9264(_: EmployeeClient, query: EmployeeQueryRequestModel): any;
23
- export declare function EmployeeClient__GetEmployeesPagingAsync_5E920BE0(_: EmployeeClient, query: EmployeePagingRequestModel): any;
24
- export declare function EmployeeClient__GetEmployeeAsync_Z524259C1(_: EmployeeClient, id: int64): any;
25
- export declare function EmployeeClient__GetCurrentEmployeeAsync(_: EmployeeClient): any;
26
- export declare function EmployeeClient__CreateEmployeeAsync_5CDBA079(_: EmployeeClient, model: EmployeeModificationModel): any;
27
- export declare function EmployeeClient__UpdateEmployeeAsync_39A9CE66(_: EmployeeClient, id: int64, model: EmployeeModificationModel): any;
28
- export declare function EmployeeClient__UpdateCurrentEmployeeAsync_5CDBA079(_: EmployeeClient, model: EmployeeModificationModel): any;
29
- export declare function EmployeeClient__ManageEmployeeAsync_41B4A9CB(_: EmployeeClient, id: int64, model: EmployeeManagementModel): any;
30
- export declare function EmployeeClient__DeleteEmployeeAsync_Z524259C1(_: EmployeeClient, id: int64): any;
31
- export declare function EmployeeClient__DeleteCurrentEmployeeAsync(_: EmployeeClient): any;
22
+ export declare function EmployeeClient__GetEmployeesAsync_5DA070DE(_: EmployeeClient, query: EmployeeQueryRequestModel, cancellationToken: any): any;
23
+ export declare function EmployeeClient__GetEmployeesPagingAsync_Z11CE29DE(_: EmployeeClient, query: EmployeePagingRequestModel, cancellationToken: any): any;
24
+ export declare function EmployeeClient__GetEmployeeAsync_Z446FC023(_: EmployeeClient, id: int64, cancellationToken: any): any;
25
+ export declare function EmployeeClient__GetCurrentEmployeeAsync_Z211DAE3E(_: EmployeeClient, cancellationToken: any): any;
26
+ export declare function EmployeeClient__CreateEmployeeAsync_26ADFE5B(_: EmployeeClient, model: EmployeeModificationModel, cancellationToken: any): any;
27
+ export declare function EmployeeClient__UpdateEmployeeAsync_Z4FFE351C(_: EmployeeClient, id: int64, model: EmployeeModificationModel, cancellationToken: any): any;
28
+ export declare function EmployeeClient__UpdateCurrentEmployeeAsync_26ADFE5B(_: EmployeeClient, model: EmployeeModificationModel, cancellationToken: any): any;
29
+ export declare function EmployeeClient__ManageEmployeeAsync_Z59544D17(_: EmployeeClient, id: int64, model: EmployeeManagementModel, cancellationToken: any): any;
30
+ export declare function EmployeeClient__DeleteEmployeeAsync_Z446FC023(_: EmployeeClient, id: int64, cancellationToken: any): any;
31
+ export declare function EmployeeClient__DeleteCurrentEmployeeAsync_Z211DAE3E(_: EmployeeClient, cancellationToken: any): any;
32
32
  export declare function EmployeeClient__buildUrl_Z134B9264(this$: EmployeeClient, queryParams: EmployeeQueryRequestModel): string;
33
33
  export declare function EmployeeClient__buildPagingUrl_5E920BE0(this$: EmployeeClient, queryParams: EmployeePagingRequestModel): string;
@@ -1,9 +1,9 @@
1
1
  import { BranchQueryRequestModel, BranchModificationModel } from "../../Models/ApiModels/PayloadModels.ts";
2
2
  import { int64 } from "@fable-org/fable-library-ts/BigInt.ts";
3
3
  export interface IBranchClient {
4
- CreateBranchAsync(model: BranchModificationModel): any;
5
- DeleteBranchAsync(id: int64): any;
6
- GetBranchAsync(id: int64): any;
7
- GetBranchesAsync(query: BranchQueryRequestModel): any;
8
- UpdateBranchAsync(id: int64, model: BranchModificationModel): any;
4
+ CreateBranchAsync(model: BranchModificationModel, cancellationToken: any): any;
5
+ DeleteBranchAsync(id: int64, cancellationToken: any): any;
6
+ GetBranchAsync(id: int64, cancellationToken: any): any;
7
+ GetBranchesAsync(query: BranchQueryRequestModel, cancellationToken: any): any;
8
+ UpdateBranchAsync(id: int64, model: BranchModificationModel, cancellationToken: any): any;
9
9
  }
@@ -1,7 +1,7 @@
1
1
  import { CompanyModificationModel } from "../../Models/ApiModels/PayloadModels.ts";
2
2
  export interface ICompanyClient {
3
- CreateCompanyAsync(model: CompanyModificationModel): any;
4
- DeleteCompanyAsync(): any;
5
- GetCompanyAsync(): any;
6
- UpdateCompanyAsync(model: CompanyModificationModel): any;
3
+ CreateCompanyAsync(model: CompanyModificationModel, cancellationToken: any): any;
4
+ DeleteCompanyAsync(cancellationToken: any): any;
5
+ GetCompanyAsync(cancellationToken: any): any;
6
+ UpdateCompanyAsync(model: CompanyModificationModel, cancellationToken: any): any;
7
7
  }
@@ -1,4 +1,4 @@
1
1
  export interface ICompanyLicenseClient {
2
- CreateLicenseAsync(model: string): any;
3
- GetLicenseAsync(): any;
2
+ CreateLicenseAsync(model: string, cancellationToken: any): any;
3
+ GetLicenseAsync(cancellationToken: any): any;
4
4
  }
@@ -1,7 +1,7 @@
1
1
  import { CompanySettingsModificationModel } from "../../Models/ApiModels/PayloadModels.ts";
2
2
  export interface ICompanySettingsClient {
3
- CreateCompanySettingsAsync(model: CompanySettingsModificationModel): any;
4
- DeleteCompanySettingsAsync(): any;
5
- GetCompanySettingsAsync(): any;
6
- UpdateCompanySettingsAsync(model: CompanySettingsModificationModel): any;
3
+ CreateCompanySettingsAsync(model: CompanySettingsModificationModel, cancellationToken: any): any;
4
+ DeleteCompanySettingsAsync(cancellationToken: any): any;
5
+ GetCompanySettingsAsync(cancellationToken: any): any;
6
+ UpdateCompanySettingsAsync(model: CompanySettingsModificationModel, cancellationToken: any): any;
7
7
  }
@@ -1,9 +1,9 @@
1
1
  import { DepartmentQueryRequestModel, DepartmentModificationModel } from "../../Models/ApiModels/PayloadModels.ts";
2
2
  import { int64 } from "@fable-org/fable-library-ts/BigInt.ts";
3
3
  export interface IDepartmentClient {
4
- CreateDepartmentAsync(model: DepartmentModificationModel): any;
5
- DeleteDepartmentAsync(id: int64): any;
6
- GetDepartmentAsync(id: int64): any;
7
- GetDepartmentsAsync(query: DepartmentQueryRequestModel): any;
8
- UpdateDepartmentAsync(id: int64, model: DepartmentModificationModel): any;
4
+ CreateDepartmentAsync(model: DepartmentModificationModel, cancellationToken: any): any;
5
+ DeleteDepartmentAsync(id: int64, cancellationToken: any): any;
6
+ GetDepartmentAsync(id: int64, cancellationToken: any): any;
7
+ GetDepartmentsAsync(query: DepartmentQueryRequestModel, cancellationToken: any): any;
8
+ UpdateDepartmentAsync(id: int64, model: DepartmentModificationModel, cancellationToken: any): any;
9
9
  }
@@ -1,14 +1,14 @@
1
1
  import { EmployeeManagementModel, EmployeePagingRequestModel, EmployeeQueryRequestModel, EmployeeModificationModel } from "../../Models/ApiModels/PayloadModels.ts";
2
2
  import { int64 } from "@fable-org/fable-library-ts/BigInt.ts";
3
3
  export interface IEmployeeClient {
4
- CreateEmployeeAsync(model: EmployeeModificationModel): any;
5
- DeleteCurrentEmployeeAsync(): any;
6
- DeleteEmployeeAsync(id: int64): any;
7
- GetCurrentEmployeeAsync(): any;
8
- GetEmployeeAsync(id: int64): any;
9
- GetEmployeesAsync(query: EmployeeQueryRequestModel): any;
10
- GetEmployeesPagingAsync(query: EmployeePagingRequestModel): any;
11
- ManageEmployeeAsync(id: int64, model: EmployeeManagementModel): any;
12
- UpdateCurrentEmployeeAsync(model: EmployeeModificationModel): any;
13
- UpdateEmployeeAsync(id: int64, model: EmployeeModificationModel): any;
4
+ CreateEmployeeAsync(model: EmployeeModificationModel, cancellationToken: any): any;
5
+ DeleteCurrentEmployeeAsync(cancellationToken: any): any;
6
+ DeleteEmployeeAsync(id: int64, cancellationToken: any): any;
7
+ GetCurrentEmployeeAsync(cancellationToken: any): any;
8
+ GetEmployeeAsync(id: int64, cancellationToken: any): any;
9
+ GetEmployeesAsync(query: EmployeeQueryRequestModel, cancellationToken: any): any;
10
+ GetEmployeesPagingAsync(query: EmployeePagingRequestModel, cancellationToken: any): any;
11
+ ManageEmployeeAsync(id: int64, model: EmployeeManagementModel, cancellationToken: any): any;
12
+ UpdateCurrentEmployeeAsync(model: EmployeeModificationModel, cancellationToken: any): any;
13
+ UpdateEmployeeAsync(id: int64, model: EmployeeModificationModel, cancellationToken: any): any;
14
14
  }
@@ -1,3 +1,3 @@
1
1
  export interface IIdentityClient {
2
- GetClientAsync(origin: string): any;
2
+ GetClientAsync(origin: string, cancellationToken: any): any;
3
3
  }
@@ -1,3 +1,3 @@
1
1
  export interface ISystemLicenseClient {
2
- GetLicenseAsync(): any;
2
+ GetLicenseAsync(cancellationToken: any): any;
3
3
  }
@@ -4,8 +4,8 @@ import { TypeInfo } from "@fable-org/fable-library-ts/Reflection.ts";
4
4
  export declare class IdentityClient implements IIdentityClient {
5
5
  readonly transport: IHttpTransport;
6
6
  constructor(transport: IHttpTransport);
7
- GetClientAsync(origin: string): any;
7
+ GetClientAsync(origin: string, cancellationToken: any): any;
8
8
  }
9
9
  export declare function IdentityClient_$reflection(): TypeInfo;
10
10
  export declare function IdentityClient_$ctor_Z7C557C0(transport: IHttpTransport): IdentityClient;
11
- export declare function IdentityClient__GetClientAsync_Z721C83C5(_: IdentityClient, origin: string): any;
11
+ export declare function IdentityClient__GetClientAsync_Z6B4EADA7(_: IdentityClient, origin: string, cancellationToken: any): any;
@@ -4,8 +4,8 @@ import { TypeInfo } from "@fable-org/fable-library-ts/Reflection.ts";
4
4
  export declare class SystemLicenseClient implements ISystemLicenseClient {
5
5
  readonly transport: IHttpTransport;
6
6
  constructor(transport: IHttpTransport);
7
- GetLicenseAsync(): any;
7
+ GetLicenseAsync(cancellationToken: any): any;
8
8
  }
9
9
  export declare function SystemLicenseClient_$reflection(): TypeInfo;
10
10
  export declare function SystemLicenseClient_$ctor_Z7C557C0(transport: IHttpTransport): SystemLicenseClient;
11
- export declare function SystemLicenseClient__GetLicenseAsync(_: SystemLicenseClient): any;
11
+ export declare function SystemLicenseClient__GetLicenseAsync_Z211DAE3E(_: SystemLicenseClient, cancellationToken: any): any;
@@ -1,7 +1,7 @@
1
1
  export interface IHttpTransport {
2
- DeleteAsync(requestUri: string): any;
3
- GetAsync<TResponse>(requestUri: string): any;
4
- PatchAsync<TRequest>(requestUri: string, request: TRequest): any;
5
- PostAsync<TRequest>(requestUri: string, request: TRequest): any;
6
- PutAsync<TRequest>(requestUri: string, request: TRequest): any;
2
+ DeleteAsync(requestUri: string, cancellationToken: any): any;
3
+ GetAsync<TResponse>(requestUri: string, cancellationToken: any): any;
4
+ PatchAsync<TRequest>(requestUri: string, request: TRequest, cancellationToken: any): any;
5
+ PostAsync<TRequest>(requestUri: string, request: TRequest, cancellationToken: any): any;
6
+ PutAsync<TRequest>(requestUri: string, request: TRequest, cancellationToken: any): any;
7
7
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fossa-app/bridge",
3
- "version": "0.1.15",
3
+ "version": "0.1.17",
4
4
  "description": "Shared Domain Models and DTOs for Fossa UI and API",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.js",
@@ -1,34 +0,0 @@
1
- import { Record } from "@fable-org/fable-library-ts/Types.ts";
2
- import { LicenseTermsModel_$reflection } from "./SharedModels.js";
3
- import { int64_type, class_type, option_type, int32_type, record_type } from "@fable-org/fable-library-ts/Reflection.ts";
4
- export class LicenseResponseModel$1 extends Record {
5
- Terms;
6
- Entitlements;
7
- constructor(Terms, Entitlements) {
8
- super();
9
- this.Terms = Terms;
10
- this.Entitlements = Entitlements;
11
- }
12
- }
13
- export function LicenseResponseModel$1_$reflection(gen0) {
14
- return record_type("Fossa.Bridge.Models.ApiModels.LicenseResponseModel`1", [gen0], LicenseResponseModel$1, () => [["Terms", LicenseTermsModel_$reflection()], ["Entitlements", gen0]]);
15
- }
16
- export class PagingResponseModel$1 extends Record {
17
- PageNumber;
18
- PageSize;
19
- Items;
20
- TotalItems;
21
- TotalPages;
22
- constructor(PageNumber, PageSize, Items, TotalItems, TotalPages) {
23
- super();
24
- this.PageNumber = PageNumber;
25
- this.PageSize = PageSize;
26
- this.Items = Items;
27
- this.TotalItems = TotalItems;
28
- this.TotalPages = TotalPages;
29
- }
30
- }
31
- export function PagingResponseModel$1_$reflection(gen0) {
32
- return record_type("Fossa.Bridge.Models.ApiModels.PagingResponseModel`1", [gen0], PagingResponseModel$1, () => [["PageNumber", option_type(int32_type)], ["PageSize", option_type(int32_type)], ["Items", class_type("System.Collections.Generic.IReadOnlyCollection`1", [gen0])], ["TotalItems", option_type(int64_type)], ["TotalPages", option_type(int64_type)]]);
33
- }
34
- //# sourceMappingURL=EnvelopeModels.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"EnvelopeModels.js","sourceRoot":"","sources":["../../../fable_output/Models/ApiModels/EnvelopeModels.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,MAAM,EAAE,MAAM,sCAAsC,CAAC;AAC9D,OAAO,EAAE,6BAA6B,EAAqB,MAAM,mBAAmB,CAAC;AAErF,OAAO,EAAE,UAAU,EAAE,UAAU,EAAE,WAAW,EAAE,UAAU,EAAE,WAAW,EAAY,MAAM,2CAA2C,CAAC;AAInI,MAAM,OAAO,sBAA2C,SAAQ,MAAM;IACzD,KAAK,CAAoB;IACzB,YAAY,CAAqB;IAC1C,YAAY,KAAwB,EAAE,YAAgC;QAClE,KAAK,EAAE,CAAC;QACR,IAAI,CAAC,KAAK,GAAG,KAAK,CAAC;QACnB,IAAI,CAAC,YAAY,GAAG,YAAY,CAAC;IACrC,CAAC;CACJ;AAED,MAAM,UAAU,kCAAkC,CAAC,IAAc;IAC7D,OAAO,WAAW,CAAC,sDAAsD,EAAE,CAAC,IAAI,CAAC,EAAE,sBAAsB,EAAE,GAAG,EAAE,CAAC,CAAC,CAAC,OAAO,EAAE,6BAA6B,EAAE,CAAC,EAAE,CAAC,cAAc,EAAE,IAAI,CAAC,CAAC,CAAC,CAAC;AAC3L,CAAC;AAED,MAAM,OAAO,qBAAyB,SAAQ,MAAM;IACvC,UAAU,CAAkB;IAC5B,QAAQ,CAAkB;IAC1B,KAAK,CAAM;IACX,UAAU,CAAkB;IAC5B,UAAU,CAAkB;IACrC,YAAY,UAA2B,EAAE,QAAyB,EAAE,KAAU,EAAE,UAA2B,EAAE,UAA2B;QACpI,KAAK,EAAE,CAAC;QACR,IAAI,CAAC,UAAU,GAAG,UAAU,CAAC;QAC7B,IAAI,CAAC,QAAQ,GAAG,QAAQ,CAAC;QACzB,IAAI,CAAC,KAAK,GAAG,KAAK,CAAC;QACnB,IAAI,CAAC,UAAU,GAAG,UAAU,CAAC;QAC7B,IAAI,CAAC,UAAU,GAAG,UAAU,CAAC;IACjC,CAAC;CACJ;AAED,MAAM,UAAU,iCAAiC,CAAC,IAAc;IAC5D,OAAO,WAAW,CAAC,qDAAqD,EAAE,CAAC,IAAI,CAAC,EAAE,qBAAqB,EAAE,GAAG,EAAE,CAAC,CAAC,CAAC,YAAY,EAAE,WAAW,CAAC,UAAU,CAAC,CAAC,EAAE,CAAC,UAAU,EAAE,WAAW,CAAC,UAAU,CAAC,CAAC,EAAE,CAAC,OAAO,EAAE,UAAU,CAAC,kDAAkD,EAAE,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,CAAC,YAAY,EAAE,WAAW,CAAC,UAAU,CAAC,CAAC,EAAE,CAAC,YAAY,EAAE,WAAW,CAAC,UAAU,CAAC,CAAC,CAAC,CAAC,CAAC;AAC1W,CAAC"}