@fossa-app/bridge 0.1.19 → 0.1.20
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/dist/Models/ApiModels/EnvelopeModels.d.ts +21 -0
- package/dist/Models/ApiModels/EnvelopeModels.js +34 -0
- package/dist/Models/ApiModels/EnvelopeModels.js.map +1 -0
- package/dist/Models/ApiModels/PayloadModels.d.ts +147 -0
- package/dist/Models/ApiModels/PayloadModels.js +286 -0
- package/dist/Models/ApiModels/PayloadModels.js.map +1 -0
- package/dist/Models/ApiModels/SharedModels.d.ts +41 -0
- package/dist/Models/ApiModels/SharedModels.js +79 -0
- package/dist/Models/ApiModels/SharedModels.js.map +1 -0
- package/dist/Services/Clients/BranchClient.d.ts +22 -0
- package/dist/Services/Clients/BranchClient.js +63 -0
- package/dist/Services/Clients/BranchClient.js.map +1 -0
- package/dist/Services/Clients/CompanyClient.d.ts +18 -0
- package/dist/Services/Clients/CompanyClient.js +45 -0
- package/dist/Services/Clients/CompanyClient.js.map +1 -0
- package/dist/Services/Clients/CompanyLicenseClient.d.ts +13 -0
- package/dist/Services/Clients/CompanyLicenseClient.js +31 -0
- package/dist/Services/Clients/CompanyLicenseClient.js.map +1 -0
- package/dist/Services/Clients/CompanySettingsClient.d.ts +18 -0
- package/dist/Services/Clients/CompanySettingsClient.js +45 -0
- package/dist/Services/Clients/CompanySettingsClient.js.map +1 -0
- package/dist/Services/Clients/DepartmentClient.d.ts +22 -0
- package/dist/Services/Clients/DepartmentClient.js +63 -0
- package/dist/Services/Clients/DepartmentClient.js.map +1 -0
- package/dist/Services/Clients/EmployeeClient.d.ts +33 -0
- package/dist/Services/Clients/EmployeeClient.js +102 -0
- package/dist/Services/Clients/EmployeeClient.js.map +1 -0
- package/dist/Services/Clients/IBranchClient.d.ts +9 -0
- package/dist/Services/Clients/IBranchClient.js +2 -0
- package/dist/Services/Clients/IBranchClient.js.map +1 -0
- package/dist/Services/Clients/ICompanyClient.d.ts +7 -0
- package/dist/Services/Clients/ICompanyClient.js +2 -0
- package/dist/Services/Clients/ICompanyClient.js.map +1 -0
- package/dist/Services/Clients/ICompanyLicenseClient.d.ts +4 -0
- package/dist/Services/Clients/ICompanyLicenseClient.js +2 -0
- package/dist/Services/Clients/ICompanyLicenseClient.js.map +1 -0
- package/dist/Services/Clients/ICompanySettingsClient.d.ts +7 -0
- package/dist/Services/Clients/ICompanySettingsClient.js +2 -0
- package/dist/Services/Clients/ICompanySettingsClient.js.map +1 -0
- package/dist/Services/Clients/IDepartmentClient.d.ts +9 -0
- package/dist/Services/Clients/IDepartmentClient.js +2 -0
- package/dist/Services/Clients/IDepartmentClient.js.map +1 -0
- package/dist/Services/Clients/IEmployeeClient.d.ts +14 -0
- package/dist/Services/Clients/IEmployeeClient.js +2 -0
- package/dist/Services/Clients/IEmployeeClient.js.map +1 -0
- package/dist/Services/Clients/IIdentityClient.d.ts +3 -0
- package/dist/Services/Clients/IIdentityClient.js +2 -0
- package/dist/Services/Clients/IIdentityClient.js.map +1 -0
- package/dist/Services/Clients/ISystemLicenseClient.d.ts +3 -0
- package/dist/Services/Clients/ISystemLicenseClient.js +2 -0
- package/dist/Services/Clients/ISystemLicenseClient.js.map +1 -0
- package/dist/Services/Clients/IdentityClient.d.ts +11 -0
- package/dist/Services/Clients/IdentityClient.js +24 -0
- package/dist/Services/Clients/IdentityClient.js.map +1 -0
- package/dist/Services/Clients/SystemLicenseClient.d.ts +11 -0
- package/dist/Services/Clients/SystemLicenseClient.js +24 -0
- package/dist/Services/Clients/SystemLicenseClient.js.map +1 -0
- package/dist/Services/Endpoints.d.ts +10 -0
- package/dist/Services/Endpoints.js +11 -0
- package/dist/Services/Endpoints.js.map +1 -0
- package/dist/Services/IHttpTransport.d.ts +7 -0
- package/dist/Services/IHttpTransport.js +2 -0
- package/dist/Services/IHttpTransport.js.map +1 -0
- package/dist/Services/UrlHelpers.d.ts +25 -0
- package/dist/Services/UrlHelpers.js +86 -0
- package/dist/Services/UrlHelpers.js.map +1 -0
- package/package.json +1 -1
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { BranchModificationModel, BranchQueryRequestModel } from "../../Models/ApiModels/PayloadModels.ts";
|
|
2
|
+
import { int64 } from "@fable-org/fable-library-ts/BigInt.ts";
|
|
3
|
+
import { IHttpTransport } from "../IHttpTransport.ts";
|
|
4
|
+
import { IBranchClient } from "./IBranchClient.ts";
|
|
5
|
+
import { TypeInfo } from "@fable-org/fable-library-ts/Reflection.ts";
|
|
6
|
+
export declare class BranchClient implements IBranchClient {
|
|
7
|
+
readonly transport: IHttpTransport;
|
|
8
|
+
constructor(transport: IHttpTransport);
|
|
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
|
+
}
|
|
15
|
+
export declare function BranchClient_$reflection(): TypeInfo;
|
|
16
|
+
export declare function BranchClient_$ctor_Z7C557C0(transport: IHttpTransport): BranchClient;
|
|
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
|
+
export declare function BranchClient__buildUrl_Z113C1396(this$: BranchClient, queryParams: BranchQueryRequestModel): string;
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
import { class_type } from "@fable-org/fable-library-ts/Reflection.ts";
|
|
2
|
+
import { UrlPart_op_Implicit_Z524259A4, UrlPart_op_Implicit_Z524259C1, UrlPart_op_Implicit_Z721C83C5, composeRelativeUrl } from "../UrlHelpers.js";
|
|
3
|
+
import { Branches } from "../Endpoints.js";
|
|
4
|
+
import { singleton, empty, ofArray } from "@fable-org/fable-library-ts/List.ts";
|
|
5
|
+
import { singleton as singleton_1, empty as empty_1, map, append, delay, toList } from "@fable-org/fable-library-ts/Seq.ts";
|
|
6
|
+
import { nonNullValue, value, ofNullable } from "@fable-org/fable-library-ts/Option.ts";
|
|
7
|
+
import { count } from "@fable-org/fable-library-ts/CollectionUtil.ts";
|
|
8
|
+
import { isNullOrEmpty } from "@fable-org/fable-library-ts/String.ts";
|
|
9
|
+
export class BranchClient {
|
|
10
|
+
transport;
|
|
11
|
+
constructor(transport) {
|
|
12
|
+
this.transport = transport;
|
|
13
|
+
}
|
|
14
|
+
GetBranchesAsync(query, cancellationToken) {
|
|
15
|
+
const this$ = this;
|
|
16
|
+
return BranchClient__GetBranchesAsync_19A32868(this$, query, cancellationToken);
|
|
17
|
+
}
|
|
18
|
+
GetBranchAsync(id, cancellationToken) {
|
|
19
|
+
const this$ = this;
|
|
20
|
+
return BranchClient__GetBranchAsync_Z446FC023(this$, id, cancellationToken);
|
|
21
|
+
}
|
|
22
|
+
CreateBranchAsync(model, cancellationToken) {
|
|
23
|
+
const this$ = this;
|
|
24
|
+
return BranchClient__CreateBranchAsync_Z656583D3(this$, model, cancellationToken);
|
|
25
|
+
}
|
|
26
|
+
UpdateBranchAsync(id, model, cancellationToken) {
|
|
27
|
+
const this$ = this;
|
|
28
|
+
return BranchClient__UpdateBranchAsync_118B55D2(this$, id, model, cancellationToken);
|
|
29
|
+
}
|
|
30
|
+
DeleteBranchAsync(id, cancellationToken) {
|
|
31
|
+
const this$ = this;
|
|
32
|
+
return BranchClient__DeleteBranchAsync_Z446FC023(this$, id, cancellationToken);
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
export function BranchClient_$reflection() {
|
|
36
|
+
return class_type("Fossa.Bridge.Services.Clients.BranchClient", undefined, BranchClient);
|
|
37
|
+
}
|
|
38
|
+
export function BranchClient_$ctor_Z7C557C0(transport) {
|
|
39
|
+
return new BranchClient(transport);
|
|
40
|
+
}
|
|
41
|
+
export function BranchClient__GetBranchesAsync_19A32868(_, query, cancellationToken) {
|
|
42
|
+
return _.transport.GetAsync(BranchClient__buildUrl_Z113C1396(_, query), cancellationToken);
|
|
43
|
+
}
|
|
44
|
+
export function BranchClient__GetBranchAsync_Z446FC023(_, id, cancellationToken) {
|
|
45
|
+
return _.transport.GetAsync(composeRelativeUrl(ofArray([UrlPart_op_Implicit_Z721C83C5(Branches), UrlPart_op_Implicit_Z524259C1(id)]), empty()), cancellationToken);
|
|
46
|
+
}
|
|
47
|
+
export function BranchClient__CreateBranchAsync_Z656583D3(_, model, cancellationToken) {
|
|
48
|
+
return _.transport.PostAsync(composeRelativeUrl(singleton(UrlPart_op_Implicit_Z721C83C5(Branches)), empty()), model, cancellationToken);
|
|
49
|
+
}
|
|
50
|
+
export function BranchClient__UpdateBranchAsync_118B55D2(_, id, model, cancellationToken) {
|
|
51
|
+
return _.transport.PutAsync(composeRelativeUrl(ofArray([UrlPart_op_Implicit_Z721C83C5(Branches), UrlPart_op_Implicit_Z524259C1(id)]), empty()), model, cancellationToken);
|
|
52
|
+
}
|
|
53
|
+
export function BranchClient__DeleteBranchAsync_Z446FC023(_, id, cancellationToken) {
|
|
54
|
+
return _.transport.DeleteAsync(composeRelativeUrl(ofArray([UrlPart_op_Implicit_Z721C83C5(Branches), UrlPart_op_Implicit_Z524259C1(id)]), empty()), cancellationToken);
|
|
55
|
+
}
|
|
56
|
+
export function BranchClient__buildUrl_Z113C1396(this$, queryParams) {
|
|
57
|
+
const parameters = toList(delay(() => {
|
|
58
|
+
let matchValue = undefined, ids_1 = undefined;
|
|
59
|
+
return append((matchValue = ofNullable(queryParams.Id), (matchValue != null) ? ((count(value(matchValue)) > 0) ? ((ids_1 = value(matchValue), map((id) => ["Id", UrlPart_op_Implicit_Z524259C1(id)], ids_1))) : (empty_1())) : (empty_1())), delay(() => append(!isNullOrEmpty(queryParams.Search) ? singleton_1(["Search", UrlPart_op_Implicit_Z721C83C5(queryParams.Search)]) : empty_1(), delay(() => append((queryParams.PageNumber != null) ? singleton_1(["PageNumber", UrlPart_op_Implicit_Z524259A4(nonNullValue(queryParams.PageNumber))]) : empty_1(), delay(() => ((queryParams.PageSize != null) ? singleton_1(["PageSize", UrlPart_op_Implicit_Z524259A4(nonNullValue(queryParams.PageSize))]) : empty_1())))))));
|
|
60
|
+
}));
|
|
61
|
+
return composeRelativeUrl(singleton(UrlPart_op_Implicit_Z721C83C5(Branches)), parameters);
|
|
62
|
+
}
|
|
63
|
+
//# sourceMappingURL=BranchClient.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BranchClient.js","sourceRoot":"","sources":["../../../fable_output/Services/Clients/BranchClient.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,UAAU,EAAY,MAAM,2CAA2C,CAAC;AAEjF,OAAO,EAAE,6BAA6B,EAAW,6BAA6B,EAAE,6BAA6B,EAAE,kBAAkB,EAAE,MAAM,kBAAkB,CAAC;AAC5J,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EAAc,SAAS,EAAE,KAAK,EAAE,OAAO,EAAE,MAAM,qCAAqC,CAAC;AAC5F,OAAO,EAAE,SAAS,IAAI,WAAW,EAAE,KAAK,IAAI,OAAO,EAAE,GAAG,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,EAAE,MAAM,oCAAoC,CAAC;AAC5H,OAAO,EAAU,YAAY,EAAE,KAAK,EAAE,UAAU,EAAE,MAAM,uCAAuC,CAAC;AAChG,OAAO,EAAE,K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,CAAC,OAAO,EAAqB,EAAE,KAAK,CAAoB,GAAgC,EAAE,CAAC,CAAC,CAAC,WAAW,CAAC,QAAQ,IAAI,IAAI,CAAC,CAAC,CAAC,CAAC,WAAW,CAAoB,CAAC,UAAU,EAAE,6BAA6B,CAAC,YAAY,CAAC,WAAW,CAAC,QAAQ,CAAC,CAAC,CAAsB,CAAC,CAAC,CAAC,CAAC,OAAO,EAAqB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;IACnrC,CAAC,CAAC,CAAC,CAAC;IACJ,OAAO,kBAAkB,CAAC,SAAS,CAAC,6BAA6B,CAAC,QAAQ,CAAC,CAAC,EAAE,UAAU,CAAC,CAAC;AAC9F,CAAC"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { CompanyModificationModel } from "../../Models/ApiModels/PayloadModels.ts";
|
|
2
|
+
import { IHttpTransport } from "../IHttpTransport.ts";
|
|
3
|
+
import { ICompanyClient } from "./ICompanyClient.ts";
|
|
4
|
+
import { TypeInfo } from "@fable-org/fable-library-ts/Reflection.ts";
|
|
5
|
+
export declare class CompanyClient implements ICompanyClient {
|
|
6
|
+
readonly transport: IHttpTransport;
|
|
7
|
+
constructor(transport: IHttpTransport);
|
|
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
|
+
}
|
|
13
|
+
export declare function CompanyClient_$reflection(): TypeInfo;
|
|
14
|
+
export declare function CompanyClient_$ctor_Z7C557C0(transport: IHttpTransport): CompanyClient;
|
|
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;
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import { class_type } from "@fable-org/fable-library-ts/Reflection.ts";
|
|
2
|
+
import { UrlPart_op_Implicit_Z721C83C5, composeRelativeUrl } from "../UrlHelpers.js";
|
|
3
|
+
import { Company } from "../Endpoints.js";
|
|
4
|
+
import { empty, singleton } from "@fable-org/fable-library-ts/List.ts";
|
|
5
|
+
export class CompanyClient {
|
|
6
|
+
transport;
|
|
7
|
+
constructor(transport) {
|
|
8
|
+
this.transport = transport;
|
|
9
|
+
}
|
|
10
|
+
GetCompanyAsync(cancellationToken) {
|
|
11
|
+
const this$ = this;
|
|
12
|
+
return CompanyClient__GetCompanyAsync_Z211DAE3E(this$, cancellationToken);
|
|
13
|
+
}
|
|
14
|
+
CreateCompanyAsync(model, cancellationToken) {
|
|
15
|
+
const this$ = this;
|
|
16
|
+
return CompanyClient__CreateCompanyAsync_Z38C56082(this$, model, cancellationToken);
|
|
17
|
+
}
|
|
18
|
+
UpdateCompanyAsync(model, cancellationToken) {
|
|
19
|
+
const this$ = this;
|
|
20
|
+
return CompanyClient__UpdateCompanyAsync_Z38C56082(this$, model, cancellationToken);
|
|
21
|
+
}
|
|
22
|
+
DeleteCompanyAsync(cancellationToken) {
|
|
23
|
+
const this$ = this;
|
|
24
|
+
return CompanyClient__DeleteCompanyAsync_Z211DAE3E(this$, cancellationToken);
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
export function CompanyClient_$reflection() {
|
|
28
|
+
return class_type("Fossa.Bridge.Services.Clients.CompanyClient", undefined, CompanyClient);
|
|
29
|
+
}
|
|
30
|
+
export function CompanyClient_$ctor_Z7C557C0(transport) {
|
|
31
|
+
return new CompanyClient(transport);
|
|
32
|
+
}
|
|
33
|
+
export function CompanyClient__GetCompanyAsync_Z211DAE3E(_, cancellationToken) {
|
|
34
|
+
return _.transport.GetAsync(composeRelativeUrl(singleton(UrlPart_op_Implicit_Z721C83C5(Company)), empty()), cancellationToken);
|
|
35
|
+
}
|
|
36
|
+
export function CompanyClient__CreateCompanyAsync_Z38C56082(_, model, cancellationToken) {
|
|
37
|
+
return _.transport.PostAsync(composeRelativeUrl(singleton(UrlPart_op_Implicit_Z721C83C5(Company)), empty()), model, cancellationToken);
|
|
38
|
+
}
|
|
39
|
+
export function CompanyClient__UpdateCompanyAsync_Z38C56082(_, model, cancellationToken) {
|
|
40
|
+
return _.transport.PutAsync(composeRelativeUrl(singleton(UrlPart_op_Implicit_Z721C83C5(Company)), empty()), model, cancellationToken);
|
|
41
|
+
}
|
|
42
|
+
export function CompanyClient__DeleteCompanyAsync_Z211DAE3E(_, cancellationToken) {
|
|
43
|
+
return _.transport.DeleteAsync(composeRelativeUrl(singleton(UrlPart_op_Implicit_Z721C83C5(Company)), empty()), cancellationToken);
|
|
44
|
+
}
|
|
45
|
+
//# sourceMappingURL=CompanyClient.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CompanyClient.js","sourceRoot":"","sources":["../../../fable_output/Services/Clients/CompanyClient.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,UAAU,EAAY,MAAM,2CAA2C,CAAC;AACjF,OAAO,EAAW,6BAA6B,EAAE,kBAAkB,EAAE,MAAM,kBAAkB,CAAC;AAC9F,OAAO,EAAE,OAAO,EAAE,MAAM,iBAAiB,CAAC;AAC1C,OAAO,EAAE,KAAK,EAAE,SAAS,EAAE,MAAM,qCAAqC,CAAC;AAEvE,MAAM,OAAO,aAAa;IACb,SAAS,CAAiB;IACnC,YAAY,SAAyB;QACjC,IAAI,CAAC,SAAS,GAAG,SAAS,CAAC;IAC/B,CAAC;IACD,eAAe,CAAC,iBAAsB;QAClC,MAAM,KAAK,GAAkB,IAAI,CAA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M,UAAU,2CAA2C,CAAC,CAAgB,EAAE,KAA+B,EAAE,iBAAsB;IACjI,OAAO,CAAC,CAAC,SAAS,CAAC,QAAQ,CAA2B,kBAAkB,CAAC,SAAS,CAAC,6BAA6B,CAAC,OAAO,CAAC,CAAC,EAAE,KAAK,EAAqB,CAAC,EAAE,KAAK,EAAE,iBAAiB,CAAC,CAAC;AACvL,CAAC;AAED,MAAM,UAAU,2CAA2C,CAAC,CAAgB,EAAE,iBAAsB;IAChG,OAAO,CAAC,CAAC,SAAS,CAAC,WAAW,CAAC,kBAAkB,CAAC,SAAS,CAAC,6BAA6B,CAAC,OAAO,CAAC,CAAC,EAAE,KAAK,EAAqB,CAAC,EAAE,iBAAiB,CAAC,CAAC;AACzJ,CAAC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { IHttpTransport } from "../IHttpTransport.ts";
|
|
2
|
+
import { ICompanyLicenseClient } from "./ICompanyLicenseClient.ts";
|
|
3
|
+
import { TypeInfo } from "@fable-org/fable-library-ts/Reflection.ts";
|
|
4
|
+
export declare class CompanyLicenseClient implements ICompanyLicenseClient {
|
|
5
|
+
readonly transport: IHttpTransport;
|
|
6
|
+
constructor(transport: IHttpTransport);
|
|
7
|
+
GetLicenseAsync(cancellationToken: any): any;
|
|
8
|
+
CreateLicenseAsync(model: string, cancellationToken: any): any;
|
|
9
|
+
}
|
|
10
|
+
export declare function CompanyLicenseClient_$reflection(): TypeInfo;
|
|
11
|
+
export declare function CompanyLicenseClient_$ctor_Z7C557C0(transport: IHttpTransport): CompanyLicenseClient;
|
|
12
|
+
export declare function CompanyLicenseClient__GetLicenseAsync_Z211DAE3E(_: CompanyLicenseClient, cancellationToken: any): any;
|
|
13
|
+
export declare function CompanyLicenseClient__CreateLicenseAsync_Z6B4EADA7(_: CompanyLicenseClient, model: string, cancellationToken: any): any;
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { class_type } from "@fable-org/fable-library-ts/Reflection.ts";
|
|
2
|
+
import { UrlPart_op_Implicit_Z721C83C5, composeRelativeUrl } from "../UrlHelpers.js";
|
|
3
|
+
import { CompanyLicense } from "../Endpoints.js";
|
|
4
|
+
import { empty, singleton } from "@fable-org/fable-library-ts/List.ts";
|
|
5
|
+
export class CompanyLicenseClient {
|
|
6
|
+
transport;
|
|
7
|
+
constructor(transport) {
|
|
8
|
+
this.transport = transport;
|
|
9
|
+
}
|
|
10
|
+
GetLicenseAsync(cancellationToken) {
|
|
11
|
+
const this$ = this;
|
|
12
|
+
return CompanyLicenseClient__GetLicenseAsync_Z211DAE3E(this$, cancellationToken);
|
|
13
|
+
}
|
|
14
|
+
CreateLicenseAsync(model, cancellationToken) {
|
|
15
|
+
const this$ = this;
|
|
16
|
+
return CompanyLicenseClient__CreateLicenseAsync_Z6B4EADA7(this$, model, cancellationToken);
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
export function CompanyLicenseClient_$reflection() {
|
|
20
|
+
return class_type("Fossa.Bridge.Services.Clients.CompanyLicenseClient", undefined, CompanyLicenseClient);
|
|
21
|
+
}
|
|
22
|
+
export function CompanyLicenseClient_$ctor_Z7C557C0(transport) {
|
|
23
|
+
return new CompanyLicenseClient(transport);
|
|
24
|
+
}
|
|
25
|
+
export function CompanyLicenseClient__GetLicenseAsync_Z211DAE3E(_, cancellationToken) {
|
|
26
|
+
return _.transport.GetAsync(composeRelativeUrl(singleton(UrlPart_op_Implicit_Z721C83C5(CompanyLicense)), empty()), cancellationToken);
|
|
27
|
+
}
|
|
28
|
+
export function CompanyLicenseClient__CreateLicenseAsync_Z6B4EADA7(_, model, cancellationToken) {
|
|
29
|
+
return _.transport.PostAsync(composeRelativeUrl(singleton(UrlPart_op_Implicit_Z721C83C5(CompanyLicense)), empty()), model, cancellationToken);
|
|
30
|
+
}
|
|
31
|
+
//# sourceMappingURL=CompanyLicenseClient.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CompanyLicenseClient.js","sourceRoot":"","sources":["../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C,SAAS,CAAC,SAAS,CAAS,kBAAkB,CAAC,SAAS,CAAC,6BAA6B,CAAC,cAAc,CAAC,CAAC,EAAE,KAAK,EAAqB,CAAC,EAAE,KAAK,EAAE,iBAAiB,CAAC,CAAC;AAC7K,CAAC"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { CompanySettingsModificationModel } from "../../Models/ApiModels/PayloadModels.ts";
|
|
2
|
+
import { IHttpTransport } from "../IHttpTransport.ts";
|
|
3
|
+
import { ICompanySettingsClient } from "./ICompanySettingsClient.ts";
|
|
4
|
+
import { TypeInfo } from "@fable-org/fable-library-ts/Reflection.ts";
|
|
5
|
+
export declare class CompanySettingsClient implements ICompanySettingsClient {
|
|
6
|
+
readonly transport: IHttpTransport;
|
|
7
|
+
constructor(transport: IHttpTransport);
|
|
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
|
+
}
|
|
13
|
+
export declare function CompanySettingsClient_$reflection(): TypeInfo;
|
|
14
|
+
export declare function CompanySettingsClient_$ctor_Z7C557C0(transport: IHttpTransport): CompanySettingsClient;
|
|
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;
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import { class_type } from "@fable-org/fable-library-ts/Reflection.ts";
|
|
2
|
+
import { UrlPart_op_Implicit_Z721C83C5, composeRelativeUrl } from "../UrlHelpers.js";
|
|
3
|
+
import { CompanySettings } from "../Endpoints.js";
|
|
4
|
+
import { empty, singleton } from "@fable-org/fable-library-ts/List.ts";
|
|
5
|
+
export class CompanySettingsClient {
|
|
6
|
+
transport;
|
|
7
|
+
constructor(transport) {
|
|
8
|
+
this.transport = transport;
|
|
9
|
+
}
|
|
10
|
+
GetCompanySettingsAsync(cancellationToken) {
|
|
11
|
+
const this$ = this;
|
|
12
|
+
return CompanySettingsClient__GetCompanySettingsAsync_Z211DAE3E(this$, cancellationToken);
|
|
13
|
+
}
|
|
14
|
+
CreateCompanySettingsAsync(model, cancellationToken) {
|
|
15
|
+
const this$ = this;
|
|
16
|
+
return CompanySettingsClient__CreateCompanySettingsAsync_158F9BFB(this$, model, cancellationToken);
|
|
17
|
+
}
|
|
18
|
+
UpdateCompanySettingsAsync(model, cancellationToken) {
|
|
19
|
+
const this$ = this;
|
|
20
|
+
return CompanySettingsClient__UpdateCompanySettingsAsync_158F9BFB(this$, model, cancellationToken);
|
|
21
|
+
}
|
|
22
|
+
DeleteCompanySettingsAsync(cancellationToken) {
|
|
23
|
+
const this$ = this;
|
|
24
|
+
return CompanySettingsClient__DeleteCompanySettingsAsync_Z211DAE3E(this$, cancellationToken);
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
export function CompanySettingsClient_$reflection() {
|
|
28
|
+
return class_type("Fossa.Bridge.Services.Clients.CompanySettingsClient", undefined, CompanySettingsClient);
|
|
29
|
+
}
|
|
30
|
+
export function CompanySettingsClient_$ctor_Z7C557C0(transport) {
|
|
31
|
+
return new CompanySettingsClient(transport);
|
|
32
|
+
}
|
|
33
|
+
export function CompanySettingsClient__GetCompanySettingsAsync_Z211DAE3E(_, cancellationToken) {
|
|
34
|
+
return _.transport.GetAsync(composeRelativeUrl(singleton(UrlPart_op_Implicit_Z721C83C5(CompanySettings)), empty()), cancellationToken);
|
|
35
|
+
}
|
|
36
|
+
export function CompanySettingsClient__CreateCompanySettingsAsync_158F9BFB(_, model, cancellationToken) {
|
|
37
|
+
return _.transport.PostAsync(composeRelativeUrl(singleton(UrlPart_op_Implicit_Z721C83C5(CompanySettings)), empty()), model, cancellationToken);
|
|
38
|
+
}
|
|
39
|
+
export function CompanySettingsClient__UpdateCompanySettingsAsync_158F9BFB(_, model, cancellationToken) {
|
|
40
|
+
return _.transport.PutAsync(composeRelativeUrl(singleton(UrlPart_op_Implicit_Z721C83C5(CompanySettings)), empty()), model, cancellationToken);
|
|
41
|
+
}
|
|
42
|
+
export function CompanySettingsClient__DeleteCompanySettingsAsync_Z211DAE3E(_, cancellationToken) {
|
|
43
|
+
return _.transport.DeleteAsync(composeRelativeUrl(singleton(UrlPart_op_Implicit_Z721C83C5(CompanySettings)), empty()), cancellationToken);
|
|
44
|
+
}
|
|
45
|
+
//# sourceMappingURL=CompanySettingsClient.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CompanySettingsClient.js","sourceRoot":"","sources":["../../../fable_output/Services/Clients/CompanySettingsClient.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,UAAU,EAAY,MAAM,2CAA2C,CAAC;AACjF,OAAO,EAAW,6BAA6B,EAAE,kBAAkB,EAAE,MAAM,kBAAkB,CAAC;AAC9F,OAAO,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAC;AAClD,OAAO,EAAE,KAAK,EAAE,SAAS,EAAE,MAAM,qCAAqC,CAAC;AAEvE,MAAM,OAAO,qBAAqB;IACrB,SAAS,CAAiB;IACnC,YAAY,SAAyB;QACjC,IAAI,CAAC,SAAS,GAAG,SAAS,CAAC;IAC/B,CAAC;IACD,uBAAuB,CAAC,iBAAsB;QAC1C,MAAM,KAAK,GAA0B,IAAI,CAAC;QAC1C,OAAO,wDAAwD,CAAC,KAAK,EAAE,iBAAiB,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AuC,EAAE,iBAAsB;IAChK,OAAO,CAAC,CAAC,SAAS,CAAC,QAAQ,CAAmC,kBAAkB,CAAC,SAAS,CAAC,6BAA6B,CAAC,eAAe,CAAC,CAAC,EAAE,KAAK,EAAqB,CAAC,EAAE,KAAK,EAAE,iBAAiB,CAAC,CAAC;AACvM,CAAC;AAED,MAAM,UAAU,2DAA2D,CAAC,CAAwB,EAAE,iBAAsB;IACxH,OAAO,CAAC,CAAC,SAAS,CAAC,WAAW,CAAC,kBAAkB,CAAC,SAAS,CAAC,6BAA6B,CAAC,eAAe,CAAC,CAAC,EAAE,KAAK,EAAqB,CAAC,EAAE,iBAAiB,CAAC,CAAC;AACjK,CAAC"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { DepartmentModificationModel, DepartmentQueryRequestModel } from "../../Models/ApiModels/PayloadModels.ts";
|
|
2
|
+
import { int64 } from "@fable-org/fable-library-ts/BigInt.ts";
|
|
3
|
+
import { IHttpTransport } from "../IHttpTransport.ts";
|
|
4
|
+
import { IDepartmentClient } from "./IDepartmentClient.ts";
|
|
5
|
+
import { TypeInfo } from "@fable-org/fable-library-ts/Reflection.ts";
|
|
6
|
+
export declare class DepartmentClient implements IDepartmentClient {
|
|
7
|
+
readonly transport: IHttpTransport;
|
|
8
|
+
constructor(transport: IHttpTransport);
|
|
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
|
+
}
|
|
15
|
+
export declare function DepartmentClient_$reflection(): TypeInfo;
|
|
16
|
+
export declare function DepartmentClient_$ctor_Z7C557C0(transport: IHttpTransport): DepartmentClient;
|
|
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
|
+
export declare function DepartmentClient__buildUrl_Z2E433DA6(this$: DepartmentClient, queryParams: DepartmentQueryRequestModel): string;
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
import { class_type } from "@fable-org/fable-library-ts/Reflection.ts";
|
|
2
|
+
import { UrlPart_op_Implicit_Z524259A4, UrlPart_op_Implicit_Z524259C1, UrlPart_op_Implicit_Z721C83C5, composeRelativeUrl } from "../UrlHelpers.js";
|
|
3
|
+
import { Departments } from "../Endpoints.js";
|
|
4
|
+
import { singleton, empty, ofArray } from "@fable-org/fable-library-ts/List.ts";
|
|
5
|
+
import { singleton as singleton_1, empty as empty_1, map, append, delay, toList } from "@fable-org/fable-library-ts/Seq.ts";
|
|
6
|
+
import { nonNullValue, value, ofNullable } from "@fable-org/fable-library-ts/Option.ts";
|
|
7
|
+
import { count } from "@fable-org/fable-library-ts/CollectionUtil.ts";
|
|
8
|
+
import { isNullOrEmpty } from "@fable-org/fable-library-ts/String.ts";
|
|
9
|
+
export class DepartmentClient {
|
|
10
|
+
transport;
|
|
11
|
+
constructor(transport) {
|
|
12
|
+
this.transport = transport;
|
|
13
|
+
}
|
|
14
|
+
GetDepartmentsAsync(query, cancellationToken) {
|
|
15
|
+
const this$ = this;
|
|
16
|
+
return DepartmentClient__GetDepartmentsAsync_Z2848A3A8(this$, query, cancellationToken);
|
|
17
|
+
}
|
|
18
|
+
GetDepartmentAsync(id, cancellationToken) {
|
|
19
|
+
const this$ = this;
|
|
20
|
+
return DepartmentClient__GetDepartmentAsync_Z446FC023(this$, id, cancellationToken);
|
|
21
|
+
}
|
|
22
|
+
CreateDepartmentAsync(model, cancellationToken) {
|
|
23
|
+
const this$ = this;
|
|
24
|
+
return DepartmentClient__CreateDepartmentAsync_62951BDD(this$, model, cancellationToken);
|
|
25
|
+
}
|
|
26
|
+
UpdateDepartmentAsync(id, model, cancellationToken) {
|
|
27
|
+
const this$ = this;
|
|
28
|
+
return DepartmentClient__UpdateDepartmentAsync_5770A1E2(this$, id, model, cancellationToken);
|
|
29
|
+
}
|
|
30
|
+
DeleteDepartmentAsync(id, cancellationToken) {
|
|
31
|
+
const this$ = this;
|
|
32
|
+
return DepartmentClient__DeleteDepartmentAsync_Z446FC023(this$, id, cancellationToken);
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
export function DepartmentClient_$reflection() {
|
|
36
|
+
return class_type("Fossa.Bridge.Services.Clients.DepartmentClient", undefined, DepartmentClient);
|
|
37
|
+
}
|
|
38
|
+
export function DepartmentClient_$ctor_Z7C557C0(transport) {
|
|
39
|
+
return new DepartmentClient(transport);
|
|
40
|
+
}
|
|
41
|
+
export function DepartmentClient__GetDepartmentsAsync_Z2848A3A8(_, query, cancellationToken) {
|
|
42
|
+
return _.transport.GetAsync(DepartmentClient__buildUrl_Z2E433DA6(_, query), cancellationToken);
|
|
43
|
+
}
|
|
44
|
+
export function DepartmentClient__GetDepartmentAsync_Z446FC023(_, id, cancellationToken) {
|
|
45
|
+
return _.transport.GetAsync(composeRelativeUrl(ofArray([UrlPart_op_Implicit_Z721C83C5(Departments), UrlPart_op_Implicit_Z524259C1(id)]), empty()), cancellationToken);
|
|
46
|
+
}
|
|
47
|
+
export function DepartmentClient__CreateDepartmentAsync_62951BDD(_, model, cancellationToken) {
|
|
48
|
+
return _.transport.PostAsync(composeRelativeUrl(singleton(UrlPart_op_Implicit_Z721C83C5(Departments)), empty()), model, cancellationToken);
|
|
49
|
+
}
|
|
50
|
+
export function DepartmentClient__UpdateDepartmentAsync_5770A1E2(_, id, model, cancellationToken) {
|
|
51
|
+
return _.transport.PutAsync(composeRelativeUrl(ofArray([UrlPart_op_Implicit_Z721C83C5(Departments), UrlPart_op_Implicit_Z524259C1(id)]), empty()), model, cancellationToken);
|
|
52
|
+
}
|
|
53
|
+
export function DepartmentClient__DeleteDepartmentAsync_Z446FC023(_, id, cancellationToken) {
|
|
54
|
+
return _.transport.DeleteAsync(composeRelativeUrl(ofArray([UrlPart_op_Implicit_Z721C83C5(Departments), UrlPart_op_Implicit_Z524259C1(id)]), empty()), cancellationToken);
|
|
55
|
+
}
|
|
56
|
+
export function DepartmentClient__buildUrl_Z2E433DA6(this$, queryParams) {
|
|
57
|
+
const parameters = toList(delay(() => {
|
|
58
|
+
let matchValue = undefined, ids_1 = undefined;
|
|
59
|
+
return append((matchValue = ofNullable(queryParams.Id), (matchValue != null) ? ((count(value(matchValue)) > 0) ? ((ids_1 = value(matchValue), map((id) => ["Id", UrlPart_op_Implicit_Z524259C1(id)], ids_1))) : (empty_1())) : (empty_1())), delay(() => append(!isNullOrEmpty(queryParams.Search) ? singleton_1(["Search", UrlPart_op_Implicit_Z721C83C5(queryParams.Search)]) : empty_1(), delay(() => append((queryParams.PageNumber != null) ? singleton_1(["PageNumber", UrlPart_op_Implicit_Z524259A4(nonNullValue(queryParams.PageNumber))]) : empty_1(), delay(() => ((queryParams.PageSize != null) ? singleton_1(["PageSize", UrlPart_op_Implicit_Z524259A4(nonNullValue(queryParams.PageSize))]) : empty_1())))))));
|
|
60
|
+
}));
|
|
61
|
+
return composeRelativeUrl(singleton(UrlPart_op_Implicit_Z721C83C5(Departments)), parameters);
|
|
62
|
+
}
|
|
63
|
+
//# sourceMappingURL=DepartmentClient.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1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AA6B,CAAC,EAAE,CAAC,CAAuB,EAAE,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,OAAO,EAAqB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,OAAO,EAAqB,CAAC,CAAC,EAAE,KAAK,CAAoB,GAAgC,EAAE,CAAC,MAAM,CAAoB,CAAC,aAAa,CAAC,WAAW,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,WAAW,CAAoB,CAAC,QAAQ,EAAE,6BAA6B,CAAC,WAAW,CAAC,MAAM,CAAC,CAAsB,CAAC,CAAC,CAAC,CAAC,OAAO,EAAqB,EAAE,KAAK,CAAoB,GAAgC,EAAE,CAAC,MAAM,CAAoB,CAAC,WAAW,CAAC,UAAU,IAAI,IAAI,CAAC,CAAC,CAAC,CAAC,WAAW,CAAoB,CAAC,YAAY,EAAE,6BAA6B,CAAC,YAAY,CAAC,WAAW,CAAC,UAAU,CAAC,CAAC,CAAsB,CAAC,CAAC,CAAC,CAAC,OAAO,EAAqB,EAAE,KAAK,CAAoB,GAAgC,EAAE,CAAC,CAAC,CAAC,WAAW,CAAC,QAAQ,IAAI,IAAI,CAAC,CAAC,CAAC,CAAC,WAAW,CAAoB,CAAC,UAAU,EAAE,6BAA6B,CAAC,YAAY,CAAC,WAAW,CAAC,QAAQ,CAAC,CAAC,CAAsB,CAAC,CAAC,CAAC,CAAC,OAAO,EAAqB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;IACnrC,CAAC,CAAC,CAAC,CAAC;IACJ,OAAO,kBAAkB,CAAC,SAAS,CAAC,6BAA6B,CAAC,WAAW,CAAC,CAAC,EAAE,UAAU,CAAC,CAAC;AACjG,CAAC"}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { EmployeeManagementModel, EmployeeModificationModel, EmployeePagingRequestModel, EmployeeQueryRequestModel } from "../../Models/ApiModels/PayloadModels.ts";
|
|
2
|
+
import { int64 } from "@fable-org/fable-library-ts/BigInt.ts";
|
|
3
|
+
import { IHttpTransport } from "../IHttpTransport.ts";
|
|
4
|
+
import { IEmployeeClient } from "./IEmployeeClient.ts";
|
|
5
|
+
import { TypeInfo } from "@fable-org/fable-library-ts/Reflection.ts";
|
|
6
|
+
export declare class EmployeeClient implements IEmployeeClient {
|
|
7
|
+
readonly transport: IHttpTransport;
|
|
8
|
+
constructor(transport: IHttpTransport);
|
|
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
|
+
}
|
|
20
|
+
export declare function EmployeeClient_$reflection(): TypeInfo;
|
|
21
|
+
export declare function EmployeeClient_$ctor_Z7C557C0(transport: IHttpTransport): EmployeeClient;
|
|
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
|
+
export declare function EmployeeClient__buildUrl_Z134B9264(this$: EmployeeClient, queryParams: EmployeeQueryRequestModel): string;
|
|
33
|
+
export declare function EmployeeClient__buildPagingUrl_5E920BE0(this$: EmployeeClient, queryParams: EmployeePagingRequestModel): string;
|
|
@@ -0,0 +1,102 @@
|
|
|
1
|
+
import { class_type } from "@fable-org/fable-library-ts/Reflection.ts";
|
|
2
|
+
import { UrlPart_op_Implicit_Z1FBCCD16, UrlPart_op_Implicit_Z524259A4, UrlPart_op_Implicit_Z524259C1, UrlPart_op_Implicit_Z721C83C5, composeRelativeUrl } from "../UrlHelpers.js";
|
|
3
|
+
import { Employee, Employees } from "../Endpoints.js";
|
|
4
|
+
import { singleton, empty, ofArray } from "@fable-org/fable-library-ts/List.ts";
|
|
5
|
+
import { singleton as singleton_1, empty as empty_1, map, append, delay, toList } from "@fable-org/fable-library-ts/Seq.ts";
|
|
6
|
+
import { nonNullValue, value, ofNullable } from "@fable-org/fable-library-ts/Option.ts";
|
|
7
|
+
import { count } from "@fable-org/fable-library-ts/CollectionUtil.ts";
|
|
8
|
+
import { isNullOrEmpty } from "@fable-org/fable-library-ts/String.ts";
|
|
9
|
+
export class EmployeeClient {
|
|
10
|
+
transport;
|
|
11
|
+
constructor(transport) {
|
|
12
|
+
this.transport = transport;
|
|
13
|
+
}
|
|
14
|
+
GetEmployeesAsync(query, cancellationToken) {
|
|
15
|
+
const this$ = this;
|
|
16
|
+
return EmployeeClient__GetEmployeesAsync_5DA070DE(this$, query, cancellationToken);
|
|
17
|
+
}
|
|
18
|
+
GetEmployeesPagingAsync(query, cancellationToken) {
|
|
19
|
+
const this$ = this;
|
|
20
|
+
return EmployeeClient__GetEmployeesPagingAsync_Z11CE29DE(this$, query, cancellationToken);
|
|
21
|
+
}
|
|
22
|
+
GetEmployeeAsync(id, cancellationToken) {
|
|
23
|
+
const this$ = this;
|
|
24
|
+
return EmployeeClient__GetEmployeeAsync_Z446FC023(this$, id, cancellationToken);
|
|
25
|
+
}
|
|
26
|
+
GetCurrentEmployeeAsync(cancellationToken) {
|
|
27
|
+
const this$ = this;
|
|
28
|
+
return EmployeeClient__GetCurrentEmployeeAsync_Z211DAE3E(this$, cancellationToken);
|
|
29
|
+
}
|
|
30
|
+
CreateEmployeeAsync(model, cancellationToken) {
|
|
31
|
+
const this$ = this;
|
|
32
|
+
return EmployeeClient__CreateEmployeeAsync_26ADFE5B(this$, model, cancellationToken);
|
|
33
|
+
}
|
|
34
|
+
UpdateEmployeeAsync(id, model, cancellationToken) {
|
|
35
|
+
const this$ = this;
|
|
36
|
+
return EmployeeClient__UpdateEmployeeAsync_Z4FFE351C(this$, id, model, cancellationToken);
|
|
37
|
+
}
|
|
38
|
+
UpdateCurrentEmployeeAsync(model, cancellationToken) {
|
|
39
|
+
const this$ = this;
|
|
40
|
+
return EmployeeClient__UpdateCurrentEmployeeAsync_26ADFE5B(this$, model, cancellationToken);
|
|
41
|
+
}
|
|
42
|
+
ManageEmployeeAsync(id, model, cancellationToken) {
|
|
43
|
+
const this$ = this;
|
|
44
|
+
return EmployeeClient__ManageEmployeeAsync_Z59544D17(this$, id, model, cancellationToken);
|
|
45
|
+
}
|
|
46
|
+
DeleteEmployeeAsync(id, cancellationToken) {
|
|
47
|
+
const this$ = this;
|
|
48
|
+
return EmployeeClient__DeleteEmployeeAsync_Z446FC023(this$, id, cancellationToken);
|
|
49
|
+
}
|
|
50
|
+
DeleteCurrentEmployeeAsync(cancellationToken) {
|
|
51
|
+
const this$ = this;
|
|
52
|
+
return EmployeeClient__DeleteCurrentEmployeeAsync_Z211DAE3E(this$, cancellationToken);
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
export function EmployeeClient_$reflection() {
|
|
56
|
+
return class_type("Fossa.Bridge.Services.Clients.EmployeeClient", undefined, EmployeeClient);
|
|
57
|
+
}
|
|
58
|
+
export function EmployeeClient_$ctor_Z7C557C0(transport) {
|
|
59
|
+
return new EmployeeClient(transport);
|
|
60
|
+
}
|
|
61
|
+
export function EmployeeClient__GetEmployeesAsync_5DA070DE(_, query, cancellationToken) {
|
|
62
|
+
return _.transport.GetAsync(EmployeeClient__buildUrl_Z134B9264(_, query), cancellationToken);
|
|
63
|
+
}
|
|
64
|
+
export function EmployeeClient__GetEmployeesPagingAsync_Z11CE29DE(_, query, cancellationToken) {
|
|
65
|
+
return _.transport.GetAsync(EmployeeClient__buildPagingUrl_5E920BE0(_, query), cancellationToken);
|
|
66
|
+
}
|
|
67
|
+
export function EmployeeClient__GetEmployeeAsync_Z446FC023(_, id, cancellationToken) {
|
|
68
|
+
return _.transport.GetAsync(composeRelativeUrl(ofArray([UrlPart_op_Implicit_Z721C83C5(Employees), UrlPart_op_Implicit_Z524259C1(id)]), empty()), cancellationToken);
|
|
69
|
+
}
|
|
70
|
+
export function EmployeeClient__GetCurrentEmployeeAsync_Z211DAE3E(_, cancellationToken) {
|
|
71
|
+
return _.transport.GetAsync(composeRelativeUrl(singleton(UrlPart_op_Implicit_Z721C83C5(Employee)), empty()), cancellationToken);
|
|
72
|
+
}
|
|
73
|
+
export function EmployeeClient__CreateEmployeeAsync_26ADFE5B(_, model, cancellationToken) {
|
|
74
|
+
return _.transport.PostAsync(composeRelativeUrl(singleton(UrlPart_op_Implicit_Z721C83C5(Employee)), empty()), model, cancellationToken);
|
|
75
|
+
}
|
|
76
|
+
export function EmployeeClient__UpdateEmployeeAsync_Z4FFE351C(_, id, model, cancellationToken) {
|
|
77
|
+
return _.transport.PutAsync(composeRelativeUrl(ofArray([UrlPart_op_Implicit_Z721C83C5(Employee), UrlPart_op_Implicit_Z524259C1(id)]), empty()), model, cancellationToken);
|
|
78
|
+
}
|
|
79
|
+
export function EmployeeClient__UpdateCurrentEmployeeAsync_26ADFE5B(_, model, cancellationToken) {
|
|
80
|
+
return _.transport.PutAsync(composeRelativeUrl(singleton(UrlPart_op_Implicit_Z721C83C5(Employee)), empty()), model, cancellationToken);
|
|
81
|
+
}
|
|
82
|
+
export function EmployeeClient__ManageEmployeeAsync_Z59544D17(_, id, model, cancellationToken) {
|
|
83
|
+
return _.transport.PutAsync(composeRelativeUrl(ofArray([UrlPart_op_Implicit_Z721C83C5(Employees), UrlPart_op_Implicit_Z524259C1(id)]), empty()), model, cancellationToken);
|
|
84
|
+
}
|
|
85
|
+
export function EmployeeClient__DeleteEmployeeAsync_Z446FC023(_, id, cancellationToken) {
|
|
86
|
+
return _.transport.DeleteAsync(composeRelativeUrl(ofArray([UrlPart_op_Implicit_Z721C83C5(Employee), UrlPart_op_Implicit_Z524259C1(id)]), empty()), cancellationToken);
|
|
87
|
+
}
|
|
88
|
+
export function EmployeeClient__DeleteCurrentEmployeeAsync_Z211DAE3E(_, cancellationToken) {
|
|
89
|
+
return _.transport.DeleteAsync(composeRelativeUrl(singleton(UrlPart_op_Implicit_Z721C83C5(Employee)), empty()), cancellationToken);
|
|
90
|
+
}
|
|
91
|
+
export function EmployeeClient__buildUrl_Z134B9264(this$, queryParams) {
|
|
92
|
+
const parameters = toList(delay(() => {
|
|
93
|
+
let matchValue = undefined, ids_1 = undefined;
|
|
94
|
+
return append((matchValue = ofNullable(queryParams.Id), (matchValue != null) ? ((count(value(matchValue)) > 0) ? ((ids_1 = value(matchValue), map((id) => ["Id", UrlPart_op_Implicit_Z524259C1(id)], ids_1))) : (empty_1())) : (empty_1())), delay(() => append(!isNullOrEmpty(queryParams.Search) ? singleton_1(["Search", UrlPart_op_Implicit_Z721C83C5(queryParams.Search)]) : empty_1(), delay(() => append((queryParams.PageNumber != null) ? singleton_1(["PageNumber", UrlPart_op_Implicit_Z524259A4(nonNullValue(queryParams.PageNumber))]) : empty_1(), delay(() => append((queryParams.PageSize != null) ? singleton_1(["PageSize", UrlPart_op_Implicit_Z524259A4(nonNullValue(queryParams.PageSize))]) : empty_1(), delay(() => append((queryParams.ReportsToId != null) ? singleton_1(["ReportsToId", UrlPart_op_Implicit_Z524259C1(nonNullValue(queryParams.ReportsToId))]) : empty_1(), delay(() => ((queryParams.TopLevelOnly != null) ? singleton_1(["TopLevelOnly", UrlPart_op_Implicit_Z1FBCCD16(nonNullValue(queryParams.TopLevelOnly))]) : empty_1())))))))))));
|
|
95
|
+
}));
|
|
96
|
+
return composeRelativeUrl(singleton(UrlPart_op_Implicit_Z721C83C5(Employees)), parameters);
|
|
97
|
+
}
|
|
98
|
+
export function EmployeeClient__buildPagingUrl_5E920BE0(this$, queryParams) {
|
|
99
|
+
const parameters = toList(delay(() => append(!isNullOrEmpty(queryParams.Search) ? singleton_1(["Search", UrlPart_op_Implicit_Z721C83C5(queryParams.Search)]) : empty_1(), delay(() => append((queryParams.PageNumber != null) ? singleton_1(["PageNumber", UrlPart_op_Implicit_Z524259A4(nonNullValue(queryParams.PageNumber))]) : empty_1(), delay(() => ((queryParams.PageSize != null) ? singleton_1(["PageSize", UrlPart_op_Implicit_Z524259A4(nonNullValue(queryParams.PageSize))]) : empty_1())))))));
|
|
100
|
+
return composeRelativeUrl(singleton(UrlPart_op_Implicit_Z721C83C5(Employees)), parameters);
|
|
101
|
+
}
|
|
102
|
+
//# sourceMappingURL=EmployeeClient.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"EmployeeClient.js","sourceRoot":"","sources":["../../../fable_output/Services/Clients/EmployeeClient.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,UAAU,EAAY,MAAM,2CAA2C,CAAC;AAEjF,OAAO,EAAE,6BAA6B,EAAE,6BAA6B,EAAW,6BAA6B,EAAE,6BAA6B,EAAE,kBAAkB,EAAE,MAAM,kBAAkB,CAAC;AAC3L,OAAO,EAAE,QAAQ,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AACtD,OAAO,EAAc,SAAS,EAAE,KAAK,EAAE,OAAO,EAAE,MAAM,qCAAqC,CAAC;AAC5F,OAAO,EAAE,SAAS,IAAI,WAAW,EAAE,KAAK,IAAI,OAAO,EAAE,GAAG,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,EAAE,MAAM,oCAAoC,CAAC;AAC5H,OAAO,EAAU,YAAY,EAAE,KAAK,EAAE,UAAU,EAAE,MAAM,uCAAuC,CAAC;AAChG,OAAO,EAAE,KAAK,EAAE,MAAM,+CAA+C,CAAC;AACtE,OAAO,EAAE,aAAa,EAAE,MAAM,uCAAuC,CAAC;AAEtE,MAAM,OAAO,cAAc;IACd,SAAS,CAAiB;IACnC,YAAY,SAAyB;QACjC,IAAI,CAAC,SAAS,GAAG,SAAS,CAAC;IAC/B,CAAC;IACD,iBAAiB,CAAC,KAAgC,EAAE,iBAAsB;QACtE,MAAM,KAAK,GAAmB,IAAI,CAAC;QACnC,OAAO,0CAA0C,CAAC,KAAK,EAAE,KAAK,EAAE,iBAAiB,CAAC,CAAC;IACvF,CAAC;IACD,uBAAuB,CAAC,KAAiC,EAAE,iBAAsB;QAC7E,MAAM,KAAK,GAAmB,IAAI,CAAC;QACnC,OAAO,iDAAiD,CAAC,KAAK,EAAE,KAAK,EAAE,iBAAiB,CAAC,CAAC;IAC9F,CAAC;IACD,gBAA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AAC,KAAqB,EAAE,WAAuC;IAClH,MAAM,UAAU,GAAkC,MAAM,CAAoB,KAAK,CAAoB,GAAgC,EAAE,CAAC,MAAM,CAAoB,CAAC,aAAa,CAAC,WAAW,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,WAAW,CAAoB,CAAC,QAAQ,EAAE,6BAA6B,CAAC,WAAW,CAAC,MAAM,CAAC,CAAsB,CAAC,CAAC,CAAC,CAAC,OAAO,EAAqB,EAAE,KAAK,CAAoB,GAAgC,EAAE,CAAC,MAAM,CAAoB,CAAC,WAAW,CAAC,UAAU,IAAI,IAAI,CAAC,CAAC,CAAC,CAAC,WAAW,CAAoB,CAAC,YAAY,EAAE,6BAA6B,CAAC,YAAY,CAAC,WAAW,CAAC,UAAU,CAAC,CAAC,CAAsB,CAAC,CAAC,CAAC,CAAC,OAAO,EAAqB,EAAE,KAAK,CAAoB,GAAgC,EAAE,CAAC,CAAC,CAAC,WAAW,CAAC,QAAQ,IAAI,IAAI,CAAC,CAAC,CAAC,CAAC,WAAW,CAAoB,CAAC,UAAU,EAAE,6BAA6B,CAAC,YAAY,CAAC,WAAW,CAAC,QAAQ,CAAC,CAAC,CAAsB,CAAC,CAAC,CAAC,CAAC,OAAO,EAAqB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;IACr4B,OAAO,kBAAkB,CAAC,SAAS,CAAC,6BAA6B,CAAC,SAAS,CAAC,CAAC,EAAE,UAAU,CAAC,CAAC;AAC/F,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { BranchQueryRequestModel, BranchModificationModel } from "../../Models/ApiModels/PayloadModels.ts";
|
|
2
|
+
import { int64 } from "@fable-org/fable-library-ts/BigInt.ts";
|
|
3
|
+
export interface IBranchClient {
|
|
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
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"IBranchClient.js","sourceRoot":"","sources":["../../../fable_output/Services/Clients/IBranchClient.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { CompanyModificationModel } from "../../Models/ApiModels/PayloadModels.ts";
|
|
2
|
+
export interface ICompanyClient {
|
|
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
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ICompanyClient.js","sourceRoot":"","sources":["../../../fable_output/Services/Clients/ICompanyClient.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ICompanyLicenseClient.js","sourceRoot":"","sources":["../../../fable_output/Services/Clients/ICompanyLicenseClient.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { CompanySettingsModificationModel } from "../../Models/ApiModels/PayloadModels.ts";
|
|
2
|
+
export interface ICompanySettingsClient {
|
|
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
|
+
}
|