@fossa-app/bridge 0.1.7 → 0.1.9
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.d.ts → ApiModels/PayloadModels.d.ts} +12 -64
- package/dist/Models/ApiModels/PayloadModels.js +256 -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 +74 -0
- package/dist/Models/ApiModels/SharedModels.js.map +1 -0
- package/dist/Services/Clients/BranchClient.d.ts +13 -7
- package/dist/Services/Clients/BranchClient.js +42 -31
- package/dist/Services/Clients/BranchClient.js.map +1 -1
- package/dist/Services/Clients/CompanyClient.d.ts +9 -4
- package/dist/Services/Clients/CompanyClient.js +26 -8
- package/dist/Services/Clients/CompanyClient.js.map +1 -1
- package/dist/Services/Clients/CompanyLicenseClient.d.ts +4 -1
- package/dist/Services/Clients/CompanyLicenseClient.js +12 -2
- package/dist/Services/Clients/CompanyLicenseClient.js.map +1 -1
- package/dist/Services/Clients/CompanySettingsClient.d.ts +9 -4
- package/dist/Services/Clients/CompanySettingsClient.js +26 -8
- package/dist/Services/Clients/CompanySettingsClient.js.map +1 -1
- package/dist/Services/Clients/DepartmentClient.d.ts +13 -7
- package/dist/Services/Clients/DepartmentClient.js +42 -31
- package/dist/Services/Clients/DepartmentClient.js.map +1 -1
- package/dist/Services/Clients/EmployeeClient.d.ts +16 -9
- package/dist/Services/Clients/EmployeeClient.js +53 -53
- package/dist/Services/Clients/EmployeeClient.js.map +1 -1
- package/dist/Services/Clients/IBranchClient.d.ts +9 -0
- package/dist/Services/Clients/IBranchClient.js +3 -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 +3 -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 +3 -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 +3 -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 +3 -0
- package/dist/Services/Clients/IDepartmentClient.js.map +1 -0
- package/dist/Services/Clients/IEmployeeClient.d.ts +10 -0
- package/dist/Services/Clients/IEmployeeClient.js +3 -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 +3 -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 +3 -0
- package/dist/Services/Clients/ISystemLicenseClient.js.map +1 -0
- package/dist/Services/Clients/IdentityClient.d.ts +3 -1
- package/dist/Services/Clients/IdentityClient.js +7 -2
- package/dist/Services/Clients/IdentityClient.js.map +1 -1
- package/dist/Services/Clients/SystemLicenseClient.d.ts +3 -1
- package/dist/Services/Clients/SystemLicenseClient.js +7 -1
- package/dist/Services/Clients/SystemLicenseClient.js.map +1 -1
- package/dist/Services/UrlHelpers.d.ts +24 -0
- package/dist/Services/UrlHelpers.js +84 -0
- package/dist/Services/UrlHelpers.js.map +1 -1
- package/package.json +1 -1
- package/dist/Models/ApiModels.js +0 -350
- package/dist/Models/ApiModels.js.map +0 -1
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { Record } from "../../fable_modules/fable-library-ts.5.0.0-rc.1/Types.ts";
|
|
2
|
+
import { LicenseTermsModel } from "./SharedModels.ts";
|
|
3
|
+
import { Nullable, IEquatable } from "../../fable_modules/fable-library-ts.5.0.0-rc.1/Util.ts";
|
|
4
|
+
import { TypeInfo } from "../../fable_modules/fable-library-ts.5.0.0-rc.1/Reflection.ts";
|
|
5
|
+
import { int32 } from "../../fable_modules/fable-library-ts.5.0.0-rc.1/Int32.ts";
|
|
6
|
+
import { int64 } from "../../fable_modules/fable-library-ts.5.0.0-rc.1/BigInt.ts";
|
|
7
|
+
export declare class LicenseResponseModel$1<TEntitlementsModel> extends Record implements IEquatable<LicenseResponseModel$1<TEntitlementsModel>> {
|
|
8
|
+
readonly Terms: LicenseTermsModel;
|
|
9
|
+
readonly Entitlements: TEntitlementsModel;
|
|
10
|
+
constructor(Terms: LicenseTermsModel, Entitlements: TEntitlementsModel);
|
|
11
|
+
}
|
|
12
|
+
export declare function LicenseResponseModel$1_$reflection(gen0: TypeInfo): TypeInfo;
|
|
13
|
+
export declare class PagingResponseModel$1<T> extends Record implements IEquatable<PagingResponseModel$1<T>> {
|
|
14
|
+
readonly PageNumber: Nullable<int32>;
|
|
15
|
+
readonly PageSize: Nullable<int32>;
|
|
16
|
+
readonly Items: any;
|
|
17
|
+
readonly TotalItems: Nullable<int64>;
|
|
18
|
+
readonly TotalPages: Nullable<int64>;
|
|
19
|
+
constructor(PageNumber: Nullable<int32>, PageSize: Nullable<int32>, Items: any, TotalItems: Nullable<int64>, TotalPages: Nullable<int64>);
|
|
20
|
+
}
|
|
21
|
+
export declare function PagingResponseModel$1_$reflection(gen0: TypeInfo): TypeInfo;
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.PagingResponseModel$1 = exports.LicenseResponseModel$1 = void 0;
|
|
4
|
+
exports.LicenseResponseModel$1_$reflection = LicenseResponseModel$1_$reflection;
|
|
5
|
+
exports.PagingResponseModel$1_$reflection = PagingResponseModel$1_$reflection;
|
|
6
|
+
const Types_ts_1 = require("../../fable_modules/fable-library-ts.5.0.0-rc.1/Types.js");
|
|
7
|
+
const SharedModels_ts_1 = require("./SharedModels.js");
|
|
8
|
+
const Reflection_ts_1 = require("../../fable_modules/fable-library-ts.5.0.0-rc.1/Reflection.js");
|
|
9
|
+
class LicenseResponseModel$1 extends Types_ts_1.Record {
|
|
10
|
+
constructor(Terms, Entitlements) {
|
|
11
|
+
super();
|
|
12
|
+
this.Terms = Terms;
|
|
13
|
+
this.Entitlements = Entitlements;
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
exports.LicenseResponseModel$1 = LicenseResponseModel$1;
|
|
17
|
+
function LicenseResponseModel$1_$reflection(gen0) {
|
|
18
|
+
return (0, Reflection_ts_1.record_type)("Fossa.Bridge.Models.ApiModels.LicenseResponseModel`1", [gen0], LicenseResponseModel$1, () => [["Terms", (0, SharedModels_ts_1.LicenseTermsModel_$reflection)()], ["Entitlements", gen0]]);
|
|
19
|
+
}
|
|
20
|
+
class PagingResponseModel$1 extends Types_ts_1.Record {
|
|
21
|
+
constructor(PageNumber, PageSize, Items, TotalItems, TotalPages) {
|
|
22
|
+
super();
|
|
23
|
+
this.PageNumber = PageNumber;
|
|
24
|
+
this.PageSize = PageSize;
|
|
25
|
+
this.Items = Items;
|
|
26
|
+
this.TotalItems = TotalItems;
|
|
27
|
+
this.TotalPages = TotalPages;
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
exports.PagingResponseModel$1 = PagingResponseModel$1;
|
|
31
|
+
function PagingResponseModel$1_$reflection(gen0) {
|
|
32
|
+
return (0, Reflection_ts_1.record_type)("Fossa.Bridge.Models.ApiModels.PagingResponseModel`1", [gen0], PagingResponseModel$1, () => [["PageNumber", (0, Reflection_ts_1.option_type)(Reflection_ts_1.int32_type)], ["PageSize", (0, Reflection_ts_1.option_type)(Reflection_ts_1.int32_type)], ["Items", (0, Reflection_ts_1.class_type)("System.Collections.Generic.IReadOnlyCollection`1", [gen0])], ["TotalItems", (0, Reflection_ts_1.option_type)(Reflection_ts_1.int64_type)], ["TotalPages", (0, Reflection_ts_1.option_type)(Reflection_ts_1.int64_type)]]);
|
|
33
|
+
}
|
|
34
|
+
//# sourceMappingURL=EnvelopeModels.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"EnvelopeModels.js","sourceRoot":"","sources":["../../../fable_output/Models/ApiModels/EnvelopeModels.ts"],"names":[],"mappings":";;;AAkBA,gFAEC;AAkBD,8EAEC;AAvCD,uFAAkF;AAClF,uDAAqF;AAErF,iGAAuJ;AAIvJ,MAAa,sBAA2C,SAAQ,iBAAM;IAGlE,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;AARD,wDAQC;AAED,SAAgB,kCAAkC,CAAC,IAAc;IAC7D,OAAO,IAAA,2BAAW,EAAC,sDAAsD,EAAE,CAAC,IAAI,CAAC,EAAE,sBAAsB,EAAE,GAAG,EAAE,CAAC,CAAC,CAAC,OAAO,EAAE,IAAA,+CAA6B,GAAE,CAAC,EAAE,CAAC,cAAc,EAAE,IAAI,CAAC,CAAC,CAAC,CAAC;AAC3L,CAAC;AAED,MAAa,qBAAyB,SAAQ,iBAAM;IAMhD,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;AAdD,sDAcC;AAED,SAAgB,iCAAiC,CAAC,IAAc;IAC5D,OAAO,IAAA,2BAAW,EAAC,qDAAqD,EAAE,CAAC,IAAI,CAAC,EAAE,qBAAqB,EAAE,GAAG,EAAE,CAAC,CAAC,CAAC,YAAY,EAAE,IAAA,2BAAW,EAAC,0BAAU,CAAC,CAAC,EAAE,CAAC,UAAU,EAAE,IAAA,2BAAW,EAAC,0BAAU,CAAC,CAAC,EAAE,CAAC,OAAO,EAAE,IAAA,0BAAU,EAAC,kDAAkD,EAAE,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,CAAC,YAAY,EAAE,IAAA,2BAAW,EAAC,0BAAU,CAAC,CAAC,EAAE,CAAC,YAAY,EAAE,IAAA,2BAAW,EAAC,0BAAU,CAAC,CAAC,CAAC,CAAC,CAAC;AAC1W,CAAC"}
|
|
@@ -1,23 +1,14 @@
|
|
|
1
|
-
import { Record } from "
|
|
2
|
-
import {
|
|
3
|
-
import { TypeInfo } from "
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
readonly
|
|
9
|
-
readonly City: string;
|
|
10
|
-
readonly Subdivision: string;
|
|
11
|
-
readonly PostalCode: string;
|
|
12
|
-
readonly CountryCode: string;
|
|
13
|
-
constructor(Line1: string, Line2: string, City: string, Subdivision: string, PostalCode: string, CountryCode: string);
|
|
14
|
-
}
|
|
15
|
-
export declare function AddressModel_$reflection(): TypeInfo;
|
|
16
|
-
export declare class IdentityClientRetrievalModel extends Record implements IEquatable<IdentityClientRetrievalModel>, IComparable<IdentityClientRetrievalModel> {
|
|
17
|
-
readonly ClientId: string;
|
|
1
|
+
import { Record } from "../../fable_modules/fable-library-ts.5.0.0-rc.1/Types.ts";
|
|
2
|
+
import { IComparable, IEquatable, Nullable } from "../../fable_modules/fable-library-ts.5.0.0-rc.1/Util.ts";
|
|
3
|
+
import { TypeInfo } from "../../fable_modules/fable-library-ts.5.0.0-rc.1/Reflection.ts";
|
|
4
|
+
import { AddressModel } from "./SharedModels.ts";
|
|
5
|
+
import { int32 } from "../../fable_modules/fable-library-ts.5.0.0-rc.1/Int32.ts";
|
|
6
|
+
import { int64 } from "../../fable_modules/fable-library-ts.5.0.0-rc.1/BigInt.ts";
|
|
7
|
+
export declare class IdentityClientRetrievalModel extends Record implements IEquatable<IdentityClientRetrievalModel> {
|
|
8
|
+
readonly ClientId: Nullable<string>;
|
|
18
9
|
readonly ClientName: string;
|
|
19
|
-
readonly TenantId: string
|
|
20
|
-
constructor(ClientId: string
|
|
10
|
+
readonly TenantId: Nullable<string>;
|
|
11
|
+
constructor(ClientId: Nullable<string>, ClientName: string, TenantId: Nullable<string>);
|
|
21
12
|
}
|
|
22
13
|
export declare function IdentityClientRetrievalModel_$reflection(): TypeInfo;
|
|
23
14
|
export declare class BranchModificationModel extends Record implements IEquatable<BranchModificationModel>, IComparable<BranchModificationModel> {
|
|
@@ -77,12 +68,6 @@ export declare class CompanySettingsRetrievalModel extends Record implements IEq
|
|
|
77
68
|
constructor(Id: int64, CompanyId: int64, ColorSchemeId: string);
|
|
78
69
|
}
|
|
79
70
|
export declare function CompanySettingsRetrievalModel_$reflection(): TypeInfo;
|
|
80
|
-
export declare class CountryModel extends Record implements IEquatable<CountryModel>, IComparable<CountryModel> {
|
|
81
|
-
readonly Name: string;
|
|
82
|
-
readonly Code: string;
|
|
83
|
-
constructor(Name: string, Code: string);
|
|
84
|
-
}
|
|
85
|
-
export declare function CountryModel_$reflection(): TypeInfo;
|
|
86
71
|
export declare class DepartmentModificationModel extends Record implements IEquatable<DepartmentModificationModel> {
|
|
87
72
|
readonly Name: string;
|
|
88
73
|
readonly ParentDepartmentId: Nullable<int64>;
|
|
@@ -102,8 +87,8 @@ export declare class DepartmentRetrievalModel extends Record implements IEquatab
|
|
|
102
87
|
readonly Id: int64;
|
|
103
88
|
readonly Name: string;
|
|
104
89
|
readonly ParentDepartmentId: Nullable<int64>;
|
|
105
|
-
readonly ManagerId: int64
|
|
106
|
-
constructor(Id: int64, Name: string, ParentDepartmentId: Nullable<int64>, ManagerId: int64);
|
|
90
|
+
readonly ManagerId: Nullable<int64>;
|
|
91
|
+
constructor(Id: int64, Name: string, ParentDepartmentId: Nullable<int64>, ManagerId: Nullable<int64>);
|
|
107
92
|
}
|
|
108
93
|
export declare function DepartmentRetrievalModel_$reflection(): TypeInfo;
|
|
109
94
|
export declare class EmployeeManagementModel extends Record implements IEquatable<EmployeeManagementModel> {
|
|
@@ -151,43 +136,6 @@ export declare class EmployeeRetrievalModel extends Record implements IEquatable
|
|
|
151
136
|
constructor(Id: int64, CompanyId: int64, AssignedBranchId: Nullable<int64>, AssignedDepartmentId: Nullable<int64>, ReportsToId: Nullable<int64>, JobTitle: string, FirstName: string, LastName: string, FullName: string);
|
|
152
137
|
}
|
|
153
138
|
export declare function EmployeeRetrievalModel_$reflection(): TypeInfo;
|
|
154
|
-
export declare class TimeZoneModel extends Record implements IEquatable<TimeZoneModel>, IComparable<TimeZoneModel> {
|
|
155
|
-
readonly Id: string;
|
|
156
|
-
readonly Name: string;
|
|
157
|
-
readonly CountryCode: string;
|
|
158
|
-
readonly CurrentOffset: number;
|
|
159
|
-
constructor(Id: string, Name: string, CountryCode: string, CurrentOffset: number);
|
|
160
|
-
}
|
|
161
|
-
export declare function TimeZoneModel_$reflection(): TypeInfo;
|
|
162
|
-
export declare class PartyModel extends Record implements IEquatable<PartyModel>, IComparable<PartyModel> {
|
|
163
|
-
readonly LongName: string;
|
|
164
|
-
readonly ShortName: string;
|
|
165
|
-
constructor(LongName: string, ShortName: string);
|
|
166
|
-
}
|
|
167
|
-
export declare function PartyModel_$reflection(): TypeInfo;
|
|
168
|
-
export declare class LicenseTermsModel extends Record implements IEquatable<LicenseTermsModel>, IComparable<LicenseTermsModel> {
|
|
169
|
-
readonly Licensor: PartyModel;
|
|
170
|
-
readonly Licensee: PartyModel;
|
|
171
|
-
readonly NotBefore: Date;
|
|
172
|
-
readonly NotAfter: Date;
|
|
173
|
-
constructor(Licensor: PartyModel, Licensee: PartyModel, NotBefore: Date, NotAfter: Date);
|
|
174
|
-
}
|
|
175
|
-
export declare function LicenseTermsModel_$reflection(): TypeInfo;
|
|
176
|
-
export declare class LicenseResponseModel$1<TEntitlementsModel> extends Record implements IEquatable<LicenseResponseModel$1<TEntitlementsModel>>, IComparable<LicenseResponseModel$1<TEntitlementsModel>> {
|
|
177
|
-
readonly Terms: LicenseTermsModel;
|
|
178
|
-
readonly Entitlements: TEntitlementsModel;
|
|
179
|
-
constructor(Terms: LicenseTermsModel, Entitlements: TEntitlementsModel);
|
|
180
|
-
}
|
|
181
|
-
export declare function LicenseResponseModel$1_$reflection(gen0: TypeInfo): TypeInfo;
|
|
182
|
-
export declare class PagingResponseModel$1<T> extends Record implements IEquatable<PagingResponseModel$1<T>> {
|
|
183
|
-
readonly PageNumber: Nullable<int32>;
|
|
184
|
-
readonly PageSize: Nullable<int32>;
|
|
185
|
-
readonly Items: any;
|
|
186
|
-
readonly TotalItems: Nullable<int64>;
|
|
187
|
-
readonly TotalPages: Nullable<int64>;
|
|
188
|
-
constructor(PageNumber: Nullable<int32>, PageSize: Nullable<int32>, Items: any, TotalItems: Nullable<int64>, TotalPages: Nullable<int64>);
|
|
189
|
-
}
|
|
190
|
-
export declare function PagingResponseModel$1_$reflection(gen0: TypeInfo): TypeInfo;
|
|
191
139
|
export declare class SystemEntitlementsModel extends Record implements IEquatable<SystemEntitlementsModel> {
|
|
192
140
|
readonly EnvironmentName: string;
|
|
193
141
|
readonly EnvironmentKind: string;
|
|
@@ -0,0 +1,256 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.SystemEntitlementsModel = exports.EmployeeRetrievalModel = exports.EmployeeQueryRequestModel = exports.EmployeePagingRequestModel = exports.EmployeeModificationModel = exports.EmployeeManagementModel = exports.DepartmentRetrievalModel = exports.DepartmentQueryRequestModel = exports.DepartmentModificationModel = exports.CompanySettingsRetrievalModel = exports.CompanySettingsModificationModel = exports.CompanyRetrievalModel = exports.CompanyModificationModel = exports.CompanyEntitlementsModel = exports.BranchRetrievalModel = exports.BranchQueryRequestModel = exports.BranchModificationModel = exports.IdentityClientRetrievalModel = void 0;
|
|
4
|
+
exports.IdentityClientRetrievalModel_$reflection = IdentityClientRetrievalModel_$reflection;
|
|
5
|
+
exports.BranchModificationModel_$reflection = BranchModificationModel_$reflection;
|
|
6
|
+
exports.BranchQueryRequestModel_$reflection = BranchQueryRequestModel_$reflection;
|
|
7
|
+
exports.BranchRetrievalModel_$reflection = BranchRetrievalModel_$reflection;
|
|
8
|
+
exports.CompanyEntitlementsModel_$reflection = CompanyEntitlementsModel_$reflection;
|
|
9
|
+
exports.CompanyModificationModel_$reflection = CompanyModificationModel_$reflection;
|
|
10
|
+
exports.CompanyRetrievalModel_$reflection = CompanyRetrievalModel_$reflection;
|
|
11
|
+
exports.CompanySettingsModificationModel_$reflection = CompanySettingsModificationModel_$reflection;
|
|
12
|
+
exports.CompanySettingsRetrievalModel_$reflection = CompanySettingsRetrievalModel_$reflection;
|
|
13
|
+
exports.DepartmentModificationModel_$reflection = DepartmentModificationModel_$reflection;
|
|
14
|
+
exports.DepartmentQueryRequestModel_$reflection = DepartmentQueryRequestModel_$reflection;
|
|
15
|
+
exports.DepartmentRetrievalModel_$reflection = DepartmentRetrievalModel_$reflection;
|
|
16
|
+
exports.EmployeeManagementModel_$reflection = EmployeeManagementModel_$reflection;
|
|
17
|
+
exports.EmployeeModificationModel_$reflection = EmployeeModificationModel_$reflection;
|
|
18
|
+
exports.EmployeePagingRequestModel_$reflection = EmployeePagingRequestModel_$reflection;
|
|
19
|
+
exports.EmployeeQueryRequestModel_$reflection = EmployeeQueryRequestModel_$reflection;
|
|
20
|
+
exports.EmployeeRetrievalModel_$reflection = EmployeeRetrievalModel_$reflection;
|
|
21
|
+
exports.SystemEntitlementsModel_$reflection = SystemEntitlementsModel_$reflection;
|
|
22
|
+
const Types_ts_1 = require("../../fable_modules/fable-library-ts.5.0.0-rc.1/Types.js");
|
|
23
|
+
const Reflection_ts_1 = require("../../fable_modules/fable-library-ts.5.0.0-rc.1/Reflection.js");
|
|
24
|
+
const SharedModels_ts_1 = require("./SharedModels.js");
|
|
25
|
+
class IdentityClientRetrievalModel extends Types_ts_1.Record {
|
|
26
|
+
constructor(ClientId, ClientName, TenantId) {
|
|
27
|
+
super();
|
|
28
|
+
this.ClientId = ClientId;
|
|
29
|
+
this.ClientName = ClientName;
|
|
30
|
+
this.TenantId = TenantId;
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
exports.IdentityClientRetrievalModel = IdentityClientRetrievalModel;
|
|
34
|
+
function IdentityClientRetrievalModel_$reflection() {
|
|
35
|
+
return (0, Reflection_ts_1.record_type)("Fossa.Bridge.Models.ApiModels.IdentityClientRetrievalModel", [], IdentityClientRetrievalModel, () => [["ClientId", (0, Reflection_ts_1.option_type)((0, Reflection_ts_1.class_type)("System.Guid"))], ["ClientName", Reflection_ts_1.string_type], ["TenantId", (0, Reflection_ts_1.option_type)((0, Reflection_ts_1.class_type)("System.Guid"))]]);
|
|
36
|
+
}
|
|
37
|
+
class BranchModificationModel extends Types_ts_1.Record {
|
|
38
|
+
constructor(Name, TimeZoneId, Address) {
|
|
39
|
+
super();
|
|
40
|
+
this.Name = Name;
|
|
41
|
+
this.TimeZoneId = TimeZoneId;
|
|
42
|
+
this.Address = Address;
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
exports.BranchModificationModel = BranchModificationModel;
|
|
46
|
+
function BranchModificationModel_$reflection() {
|
|
47
|
+
return (0, Reflection_ts_1.record_type)("Fossa.Bridge.Models.ApiModels.BranchModificationModel", [], BranchModificationModel, () => [["Name", Reflection_ts_1.string_type], ["TimeZoneId", Reflection_ts_1.string_type], ["Address", (0, SharedModels_ts_1.AddressModel_$reflection)()]]);
|
|
48
|
+
}
|
|
49
|
+
class BranchQueryRequestModel extends Types_ts_1.Record {
|
|
50
|
+
constructor(Id, Search, PageNumber, PageSize) {
|
|
51
|
+
super();
|
|
52
|
+
this.Id = Id;
|
|
53
|
+
this.Search = Search;
|
|
54
|
+
this.PageNumber = PageNumber;
|
|
55
|
+
this.PageSize = PageSize;
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
exports.BranchQueryRequestModel = BranchQueryRequestModel;
|
|
59
|
+
function BranchQueryRequestModel_$reflection() {
|
|
60
|
+
return (0, Reflection_ts_1.record_type)("Fossa.Bridge.Models.ApiModels.BranchQueryRequestModel", [], BranchQueryRequestModel, () => [["Id", (0, Reflection_ts_1.class_type)("System.Collections.Generic.IReadOnlyList`1", [Reflection_ts_1.int64_type])], ["Search", Reflection_ts_1.string_type], ["PageNumber", (0, Reflection_ts_1.option_type)(Reflection_ts_1.int32_type)], ["PageSize", (0, Reflection_ts_1.option_type)(Reflection_ts_1.int32_type)]]);
|
|
61
|
+
}
|
|
62
|
+
class BranchRetrievalModel extends Types_ts_1.Record {
|
|
63
|
+
constructor(Id, CompanyId, Name, TimeZoneId, Address) {
|
|
64
|
+
super();
|
|
65
|
+
this.Id = Id;
|
|
66
|
+
this.CompanyId = CompanyId;
|
|
67
|
+
this.Name = Name;
|
|
68
|
+
this.TimeZoneId = TimeZoneId;
|
|
69
|
+
this.Address = Address;
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
exports.BranchRetrievalModel = BranchRetrievalModel;
|
|
73
|
+
function BranchRetrievalModel_$reflection() {
|
|
74
|
+
return (0, Reflection_ts_1.record_type)("Fossa.Bridge.Models.ApiModels.BranchRetrievalModel", [], BranchRetrievalModel, () => [["Id", Reflection_ts_1.int64_type], ["CompanyId", Reflection_ts_1.int64_type], ["Name", Reflection_ts_1.string_type], ["TimeZoneId", Reflection_ts_1.string_type], ["Address", (0, SharedModels_ts_1.AddressModel_$reflection)()]]);
|
|
75
|
+
}
|
|
76
|
+
class CompanyEntitlementsModel extends Types_ts_1.Record {
|
|
77
|
+
constructor(CompanyId, MaximumBranchCount, MaximumEmployeeCount, MaximumDepartmentCount) {
|
|
78
|
+
super();
|
|
79
|
+
this.CompanyId = CompanyId;
|
|
80
|
+
this.MaximumBranchCount = (MaximumBranchCount | 0);
|
|
81
|
+
this.MaximumEmployeeCount = (MaximumEmployeeCount | 0);
|
|
82
|
+
this.MaximumDepartmentCount = (MaximumDepartmentCount | 0);
|
|
83
|
+
}
|
|
84
|
+
}
|
|
85
|
+
exports.CompanyEntitlementsModel = CompanyEntitlementsModel;
|
|
86
|
+
function CompanyEntitlementsModel_$reflection() {
|
|
87
|
+
return (0, Reflection_ts_1.record_type)("Fossa.Bridge.Models.ApiModels.CompanyEntitlementsModel", [], CompanyEntitlementsModel, () => [["CompanyId", Reflection_ts_1.int64_type], ["MaximumBranchCount", Reflection_ts_1.int32_type], ["MaximumEmployeeCount", Reflection_ts_1.int32_type], ["MaximumDepartmentCount", Reflection_ts_1.int32_type]]);
|
|
88
|
+
}
|
|
89
|
+
class CompanyModificationModel extends Types_ts_1.Record {
|
|
90
|
+
constructor(Name, CountryCode) {
|
|
91
|
+
super();
|
|
92
|
+
this.Name = Name;
|
|
93
|
+
this.CountryCode = CountryCode;
|
|
94
|
+
}
|
|
95
|
+
}
|
|
96
|
+
exports.CompanyModificationModel = CompanyModificationModel;
|
|
97
|
+
function CompanyModificationModel_$reflection() {
|
|
98
|
+
return (0, Reflection_ts_1.record_type)("Fossa.Bridge.Models.ApiModels.CompanyModificationModel", [], CompanyModificationModel, () => [["Name", Reflection_ts_1.string_type], ["CountryCode", Reflection_ts_1.string_type]]);
|
|
99
|
+
}
|
|
100
|
+
class CompanyRetrievalModel extends Types_ts_1.Record {
|
|
101
|
+
constructor(Id, Name, CountryCode) {
|
|
102
|
+
super();
|
|
103
|
+
this.Id = Id;
|
|
104
|
+
this.Name = Name;
|
|
105
|
+
this.CountryCode = CountryCode;
|
|
106
|
+
}
|
|
107
|
+
}
|
|
108
|
+
exports.CompanyRetrievalModel = CompanyRetrievalModel;
|
|
109
|
+
function CompanyRetrievalModel_$reflection() {
|
|
110
|
+
return (0, Reflection_ts_1.record_type)("Fossa.Bridge.Models.ApiModels.CompanyRetrievalModel", [], CompanyRetrievalModel, () => [["Id", Reflection_ts_1.int64_type], ["Name", Reflection_ts_1.string_type], ["CountryCode", Reflection_ts_1.string_type]]);
|
|
111
|
+
}
|
|
112
|
+
class CompanySettingsModificationModel extends Types_ts_1.Record {
|
|
113
|
+
constructor(ColorSchemeId) {
|
|
114
|
+
super();
|
|
115
|
+
this.ColorSchemeId = ColorSchemeId;
|
|
116
|
+
}
|
|
117
|
+
}
|
|
118
|
+
exports.CompanySettingsModificationModel = CompanySettingsModificationModel;
|
|
119
|
+
function CompanySettingsModificationModel_$reflection() {
|
|
120
|
+
return (0, Reflection_ts_1.record_type)("Fossa.Bridge.Models.ApiModels.CompanySettingsModificationModel", [], CompanySettingsModificationModel, () => [["ColorSchemeId", Reflection_ts_1.string_type]]);
|
|
121
|
+
}
|
|
122
|
+
class CompanySettingsRetrievalModel extends Types_ts_1.Record {
|
|
123
|
+
constructor(Id, CompanyId, ColorSchemeId) {
|
|
124
|
+
super();
|
|
125
|
+
this.Id = Id;
|
|
126
|
+
this.CompanyId = CompanyId;
|
|
127
|
+
this.ColorSchemeId = ColorSchemeId;
|
|
128
|
+
}
|
|
129
|
+
}
|
|
130
|
+
exports.CompanySettingsRetrievalModel = CompanySettingsRetrievalModel;
|
|
131
|
+
function CompanySettingsRetrievalModel_$reflection() {
|
|
132
|
+
return (0, Reflection_ts_1.record_type)("Fossa.Bridge.Models.ApiModels.CompanySettingsRetrievalModel", [], CompanySettingsRetrievalModel, () => [["Id", Reflection_ts_1.int64_type], ["CompanyId", Reflection_ts_1.int64_type], ["ColorSchemeId", Reflection_ts_1.string_type]]);
|
|
133
|
+
}
|
|
134
|
+
class DepartmentModificationModel extends Types_ts_1.Record {
|
|
135
|
+
constructor(Name, ParentDepartmentId, ManagerId) {
|
|
136
|
+
super();
|
|
137
|
+
this.Name = Name;
|
|
138
|
+
this.ParentDepartmentId = ParentDepartmentId;
|
|
139
|
+
this.ManagerId = ManagerId;
|
|
140
|
+
}
|
|
141
|
+
}
|
|
142
|
+
exports.DepartmentModificationModel = DepartmentModificationModel;
|
|
143
|
+
function DepartmentModificationModel_$reflection() {
|
|
144
|
+
return (0, Reflection_ts_1.record_type)("Fossa.Bridge.Models.ApiModels.DepartmentModificationModel", [], DepartmentModificationModel, () => [["Name", Reflection_ts_1.string_type], ["ParentDepartmentId", (0, Reflection_ts_1.option_type)(Reflection_ts_1.int64_type)], ["ManagerId", (0, Reflection_ts_1.option_type)(Reflection_ts_1.int64_type)]]);
|
|
145
|
+
}
|
|
146
|
+
class DepartmentQueryRequestModel extends Types_ts_1.Record {
|
|
147
|
+
constructor(Id, Search, PageNumber, PageSize) {
|
|
148
|
+
super();
|
|
149
|
+
this.Id = Id;
|
|
150
|
+
this.Search = Search;
|
|
151
|
+
this.PageNumber = PageNumber;
|
|
152
|
+
this.PageSize = PageSize;
|
|
153
|
+
}
|
|
154
|
+
}
|
|
155
|
+
exports.DepartmentQueryRequestModel = DepartmentQueryRequestModel;
|
|
156
|
+
function DepartmentQueryRequestModel_$reflection() {
|
|
157
|
+
return (0, Reflection_ts_1.record_type)("Fossa.Bridge.Models.ApiModels.DepartmentQueryRequestModel", [], DepartmentQueryRequestModel, () => [["Id", (0, Reflection_ts_1.class_type)("System.Collections.Generic.IReadOnlyList`1", [Reflection_ts_1.int64_type])], ["Search", Reflection_ts_1.string_type], ["PageNumber", (0, Reflection_ts_1.option_type)(Reflection_ts_1.int32_type)], ["PageSize", (0, Reflection_ts_1.option_type)(Reflection_ts_1.int32_type)]]);
|
|
158
|
+
}
|
|
159
|
+
class DepartmentRetrievalModel extends Types_ts_1.Record {
|
|
160
|
+
constructor(Id, Name, ParentDepartmentId, ManagerId) {
|
|
161
|
+
super();
|
|
162
|
+
this.Id = Id;
|
|
163
|
+
this.Name = Name;
|
|
164
|
+
this.ParentDepartmentId = ParentDepartmentId;
|
|
165
|
+
this.ManagerId = ManagerId;
|
|
166
|
+
}
|
|
167
|
+
}
|
|
168
|
+
exports.DepartmentRetrievalModel = DepartmentRetrievalModel;
|
|
169
|
+
function DepartmentRetrievalModel_$reflection() {
|
|
170
|
+
return (0, Reflection_ts_1.record_type)("Fossa.Bridge.Models.ApiModels.DepartmentRetrievalModel", [], DepartmentRetrievalModel, () => [["Id", Reflection_ts_1.int64_type], ["Name", Reflection_ts_1.string_type], ["ParentDepartmentId", (0, Reflection_ts_1.option_type)(Reflection_ts_1.int64_type)], ["ManagerId", (0, Reflection_ts_1.option_type)(Reflection_ts_1.int64_type)]]);
|
|
171
|
+
}
|
|
172
|
+
class EmployeeManagementModel extends Types_ts_1.Record {
|
|
173
|
+
constructor(AssignedBranchId, AssignedDepartmentId, ReportsToId, JobTitle) {
|
|
174
|
+
super();
|
|
175
|
+
this.AssignedBranchId = AssignedBranchId;
|
|
176
|
+
this.AssignedDepartmentId = AssignedDepartmentId;
|
|
177
|
+
this.ReportsToId = ReportsToId;
|
|
178
|
+
this.JobTitle = JobTitle;
|
|
179
|
+
}
|
|
180
|
+
}
|
|
181
|
+
exports.EmployeeManagementModel = EmployeeManagementModel;
|
|
182
|
+
function EmployeeManagementModel_$reflection() {
|
|
183
|
+
return (0, Reflection_ts_1.record_type)("Fossa.Bridge.Models.ApiModels.EmployeeManagementModel", [], EmployeeManagementModel, () => [["AssignedBranchId", (0, Reflection_ts_1.option_type)(Reflection_ts_1.int64_type)], ["AssignedDepartmentId", (0, Reflection_ts_1.option_type)(Reflection_ts_1.int64_type)], ["ReportsToId", (0, Reflection_ts_1.option_type)(Reflection_ts_1.int64_type)], ["JobTitle", Reflection_ts_1.string_type]]);
|
|
184
|
+
}
|
|
185
|
+
class EmployeeModificationModel extends Types_ts_1.Record {
|
|
186
|
+
constructor(FirstName, LastName, FullName) {
|
|
187
|
+
super();
|
|
188
|
+
this.FirstName = FirstName;
|
|
189
|
+
this.LastName = LastName;
|
|
190
|
+
this.FullName = FullName;
|
|
191
|
+
}
|
|
192
|
+
}
|
|
193
|
+
exports.EmployeeModificationModel = EmployeeModificationModel;
|
|
194
|
+
function EmployeeModificationModel_$reflection() {
|
|
195
|
+
return (0, Reflection_ts_1.record_type)("Fossa.Bridge.Models.ApiModels.EmployeeModificationModel", [], EmployeeModificationModel, () => [["FirstName", Reflection_ts_1.string_type], ["LastName", Reflection_ts_1.string_type], ["FullName", Reflection_ts_1.string_type]]);
|
|
196
|
+
}
|
|
197
|
+
class EmployeePagingRequestModel extends Types_ts_1.Record {
|
|
198
|
+
constructor(Search, PageNumber, PageSize) {
|
|
199
|
+
super();
|
|
200
|
+
this.Search = Search;
|
|
201
|
+
this.PageNumber = PageNumber;
|
|
202
|
+
this.PageSize = PageSize;
|
|
203
|
+
}
|
|
204
|
+
}
|
|
205
|
+
exports.EmployeePagingRequestModel = EmployeePagingRequestModel;
|
|
206
|
+
function EmployeePagingRequestModel_$reflection() {
|
|
207
|
+
return (0, Reflection_ts_1.record_type)("Fossa.Bridge.Models.ApiModels.EmployeePagingRequestModel", [], EmployeePagingRequestModel, () => [["Search", Reflection_ts_1.string_type], ["PageNumber", (0, Reflection_ts_1.option_type)(Reflection_ts_1.int32_type)], ["PageSize", (0, Reflection_ts_1.option_type)(Reflection_ts_1.int32_type)]]);
|
|
208
|
+
}
|
|
209
|
+
class EmployeeQueryRequestModel extends Types_ts_1.Record {
|
|
210
|
+
constructor(Id, Search, PageNumber, PageSize, ReportsToId, TopLevelOnly) {
|
|
211
|
+
super();
|
|
212
|
+
this.Id = Id;
|
|
213
|
+
this.Search = Search;
|
|
214
|
+
this.PageNumber = PageNumber;
|
|
215
|
+
this.PageSize = PageSize;
|
|
216
|
+
this.ReportsToId = ReportsToId;
|
|
217
|
+
this.TopLevelOnly = TopLevelOnly;
|
|
218
|
+
}
|
|
219
|
+
}
|
|
220
|
+
exports.EmployeeQueryRequestModel = EmployeeQueryRequestModel;
|
|
221
|
+
function EmployeeQueryRequestModel_$reflection() {
|
|
222
|
+
return (0, Reflection_ts_1.record_type)("Fossa.Bridge.Models.ApiModels.EmployeeQueryRequestModel", [], EmployeeQueryRequestModel, () => [["Id", (0, Reflection_ts_1.class_type)("System.Collections.Generic.IReadOnlyList`1", [Reflection_ts_1.int64_type])], ["Search", Reflection_ts_1.string_type], ["PageNumber", (0, Reflection_ts_1.option_type)(Reflection_ts_1.int32_type)], ["PageSize", (0, Reflection_ts_1.option_type)(Reflection_ts_1.int32_type)], ["ReportsToId", (0, Reflection_ts_1.option_type)(Reflection_ts_1.int64_type)], ["TopLevelOnly", (0, Reflection_ts_1.option_type)(Reflection_ts_1.bool_type)]]);
|
|
223
|
+
}
|
|
224
|
+
class EmployeeRetrievalModel extends Types_ts_1.Record {
|
|
225
|
+
constructor(Id, CompanyId, AssignedBranchId, AssignedDepartmentId, ReportsToId, JobTitle, FirstName, LastName, FullName) {
|
|
226
|
+
super();
|
|
227
|
+
this.Id = Id;
|
|
228
|
+
this.CompanyId = CompanyId;
|
|
229
|
+
this.AssignedBranchId = AssignedBranchId;
|
|
230
|
+
this.AssignedDepartmentId = AssignedDepartmentId;
|
|
231
|
+
this.ReportsToId = ReportsToId;
|
|
232
|
+
this.JobTitle = JobTitle;
|
|
233
|
+
this.FirstName = FirstName;
|
|
234
|
+
this.LastName = LastName;
|
|
235
|
+
this.FullName = FullName;
|
|
236
|
+
}
|
|
237
|
+
}
|
|
238
|
+
exports.EmployeeRetrievalModel = EmployeeRetrievalModel;
|
|
239
|
+
function EmployeeRetrievalModel_$reflection() {
|
|
240
|
+
return (0, Reflection_ts_1.record_type)("Fossa.Bridge.Models.ApiModels.EmployeeRetrievalModel", [], EmployeeRetrievalModel, () => [["Id", Reflection_ts_1.int64_type], ["CompanyId", Reflection_ts_1.int64_type], ["AssignedBranchId", (0, Reflection_ts_1.option_type)(Reflection_ts_1.int64_type)], ["AssignedDepartmentId", (0, Reflection_ts_1.option_type)(Reflection_ts_1.int64_type)], ["ReportsToId", (0, Reflection_ts_1.option_type)(Reflection_ts_1.int64_type)], ["JobTitle", Reflection_ts_1.string_type], ["FirstName", Reflection_ts_1.string_type], ["LastName", Reflection_ts_1.string_type], ["FullName", Reflection_ts_1.string_type]]);
|
|
241
|
+
}
|
|
242
|
+
class SystemEntitlementsModel extends Types_ts_1.Record {
|
|
243
|
+
constructor(EnvironmentName, EnvironmentKind, Countries, TimeZones, MaximumCompanyCount) {
|
|
244
|
+
super();
|
|
245
|
+
this.EnvironmentName = EnvironmentName;
|
|
246
|
+
this.EnvironmentKind = EnvironmentKind;
|
|
247
|
+
this.Countries = Countries;
|
|
248
|
+
this.TimeZones = TimeZones;
|
|
249
|
+
this.MaximumCompanyCount = (MaximumCompanyCount | 0);
|
|
250
|
+
}
|
|
251
|
+
}
|
|
252
|
+
exports.SystemEntitlementsModel = SystemEntitlementsModel;
|
|
253
|
+
function SystemEntitlementsModel_$reflection() {
|
|
254
|
+
return (0, Reflection_ts_1.record_type)("Fossa.Bridge.Models.ApiModels.SystemEntitlementsModel", [], SystemEntitlementsModel, () => [["EnvironmentName", Reflection_ts_1.string_type], ["EnvironmentKind", Reflection_ts_1.string_type], ["Countries", (0, Reflection_ts_1.class_type)("System.Collections.Generic.IReadOnlyList`1", [(0, SharedModels_ts_1.CountryModel_$reflection)()])], ["TimeZones", (0, Reflection_ts_1.class_type)("System.Collections.Generic.IReadOnlyList`1", [(0, SharedModels_ts_1.TimeZoneModel_$reflection)()])], ["MaximumCompanyCount", Reflection_ts_1.int32_type]]);
|
|
255
|
+
}
|
|
256
|
+
//# sourceMappingURL=PayloadModels.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PayloadModels.js","sourceRoot":"","sources":["../../../fable_output/Models/ApiModels/PayloadModels.ts"],"names":[],"mappings":";;;AAoBA,4FAEC;AAcD,kFAEC;AAgBD,kFAEC;AAkBD,4EAEC;AAgBD,oFAEC;AAYD,oFAEC;AAcD,8EAEC;AAUD,oGAEC;AAcD,8FAEC;AAcD,0FAEC;AA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C3Z,CAAC;AAED,MAAa,uBAAwB,SAAQ,iBAAM;IAM/C,YAAY,eAAuB,EAAE,eAAuB,EAAE,SAAc,EAAE,SAAc,EAAE,mBAA0B;QACpH,KAAK,EAAE,CAAC;QACR,IAAI,CAAC,eAAe,GAAG,eAAe,CAAC;QACvC,IAAI,CAAC,eAAe,GAAG,eAAe,CAAC;QACvC,IAAI,CAAC,SAAS,GAAG,SAAS,CAAC;QAC3B,IAAI,CAAC,SAAS,GAAG,SAAS,CAAC;QAC3B,IAAI,CAAC,mBAAmB,GAAG,CAAC,mBAAmB,GAAG,CAAC,CAAC,CAAC;IACzD,CAAC;CACJ;AAdD,0DAcC;AAED,SAAgB,mCAAmC;IAC/C,OAAO,IAAA,2BAAW,EAAC,uDAAuD,EAAE,EAAE,EAAE,uBAAuB,EAAE,GAAG,EAAE,CAAC,CAAC,CAAC,iBAAiB,EAAE,2BAAW,CAAC,EAAE,CAAC,iBAAiB,EAAE,2BAAW,CAAC,EAAE,CAAC,WAAW,EAAE,IAAA,0BAAU,EAAC,4CAA4C,EAAE,CAAC,IAAA,0CAAwB,GAAE,CAAC,CAAC,CAAC,EAAE,CAAC,WAAW,EAAE,IAAA,0BAAU,EAAC,4CAA4C,EAAE,CAAC,IAAA,2CAAyB,GAAE,CAAC,CAAC,CAAC,EAAE,CAAC,qBAAqB,EAAE,0BAAU,CAAC,CAAC,CAAC,CAAC;AAC7a,CAAC"}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { Record } from "../../fable_modules/fable-library-ts.5.0.0-rc.1/Types.ts";
|
|
2
|
+
import { Nullable, IComparable, IEquatable } from "../../fable_modules/fable-library-ts.5.0.0-rc.1/Util.ts";
|
|
3
|
+
import { TypeInfo } from "../../fable_modules/fable-library-ts.5.0.0-rc.1/Reflection.ts";
|
|
4
|
+
export declare class AddressModel extends Record implements IEquatable<AddressModel>, IComparable<AddressModel> {
|
|
5
|
+
readonly Line1: string;
|
|
6
|
+
readonly Line2: string;
|
|
7
|
+
readonly City: string;
|
|
8
|
+
readonly Subdivision: string;
|
|
9
|
+
readonly PostalCode: string;
|
|
10
|
+
readonly CountryCode: string;
|
|
11
|
+
constructor(Line1: string, Line2: string, City: string, Subdivision: string, PostalCode: string, CountryCode: string);
|
|
12
|
+
}
|
|
13
|
+
export declare function AddressModel_$reflection(): TypeInfo;
|
|
14
|
+
export declare class CountryModel extends Record implements IEquatable<CountryModel>, IComparable<CountryModel> {
|
|
15
|
+
readonly Name: string;
|
|
16
|
+
readonly Code: string;
|
|
17
|
+
constructor(Name: string, Code: string);
|
|
18
|
+
}
|
|
19
|
+
export declare function CountryModel_$reflection(): TypeInfo;
|
|
20
|
+
export declare class TimeZoneModel extends Record implements IEquatable<TimeZoneModel> {
|
|
21
|
+
readonly Id: string;
|
|
22
|
+
readonly Name: string;
|
|
23
|
+
readonly CountryCode: string;
|
|
24
|
+
readonly CurrentOffset: Nullable<number>;
|
|
25
|
+
constructor(Id: string, Name: string, CountryCode: string, CurrentOffset: Nullable<number>);
|
|
26
|
+
}
|
|
27
|
+
export declare function TimeZoneModel_$reflection(): TypeInfo;
|
|
28
|
+
export declare class PartyModel extends Record implements IEquatable<PartyModel>, IComparable<PartyModel> {
|
|
29
|
+
readonly LongName: string;
|
|
30
|
+
readonly ShortName: string;
|
|
31
|
+
constructor(LongName: string, ShortName: string);
|
|
32
|
+
}
|
|
33
|
+
export declare function PartyModel_$reflection(): TypeInfo;
|
|
34
|
+
export declare class LicenseTermsModel extends Record implements IEquatable<LicenseTermsModel> {
|
|
35
|
+
readonly Licensor: PartyModel;
|
|
36
|
+
readonly Licensee: PartyModel;
|
|
37
|
+
readonly NotBefore: Nullable<Date>;
|
|
38
|
+
readonly NotAfter: Nullable<Date>;
|
|
39
|
+
constructor(Licensor: PartyModel, Licensee: PartyModel, NotBefore: Nullable<Date>, NotAfter: Nullable<Date>);
|
|
40
|
+
}
|
|
41
|
+
export declare function LicenseTermsModel_$reflection(): TypeInfo;
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.LicenseTermsModel = exports.PartyModel = exports.TimeZoneModel = exports.CountryModel = exports.AddressModel = void 0;
|
|
4
|
+
exports.AddressModel_$reflection = AddressModel_$reflection;
|
|
5
|
+
exports.CountryModel_$reflection = CountryModel_$reflection;
|
|
6
|
+
exports.TimeZoneModel_$reflection = TimeZoneModel_$reflection;
|
|
7
|
+
exports.PartyModel_$reflection = PartyModel_$reflection;
|
|
8
|
+
exports.LicenseTermsModel_$reflection = LicenseTermsModel_$reflection;
|
|
9
|
+
const Types_ts_1 = require("../../fable_modules/fable-library-ts.5.0.0-rc.1/Types.js");
|
|
10
|
+
const Reflection_ts_1 = require("../../fable_modules/fable-library-ts.5.0.0-rc.1/Reflection.js");
|
|
11
|
+
class AddressModel extends Types_ts_1.Record {
|
|
12
|
+
constructor(Line1, Line2, City, Subdivision, PostalCode, CountryCode) {
|
|
13
|
+
super();
|
|
14
|
+
this.Line1 = Line1;
|
|
15
|
+
this.Line2 = Line2;
|
|
16
|
+
this.City = City;
|
|
17
|
+
this.Subdivision = Subdivision;
|
|
18
|
+
this.PostalCode = PostalCode;
|
|
19
|
+
this.CountryCode = CountryCode;
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
exports.AddressModel = AddressModel;
|
|
23
|
+
function AddressModel_$reflection() {
|
|
24
|
+
return (0, Reflection_ts_1.record_type)("Fossa.Bridge.Models.ApiModels.AddressModel", [], AddressModel, () => [["Line1", Reflection_ts_1.string_type], ["Line2", Reflection_ts_1.string_type], ["City", Reflection_ts_1.string_type], ["Subdivision", Reflection_ts_1.string_type], ["PostalCode", Reflection_ts_1.string_type], ["CountryCode", Reflection_ts_1.string_type]]);
|
|
25
|
+
}
|
|
26
|
+
class CountryModel extends Types_ts_1.Record {
|
|
27
|
+
constructor(Name, Code) {
|
|
28
|
+
super();
|
|
29
|
+
this.Name = Name;
|
|
30
|
+
this.Code = Code;
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
exports.CountryModel = CountryModel;
|
|
34
|
+
function CountryModel_$reflection() {
|
|
35
|
+
return (0, Reflection_ts_1.record_type)("Fossa.Bridge.Models.ApiModels.CountryModel", [], CountryModel, () => [["Name", Reflection_ts_1.string_type], ["Code", Reflection_ts_1.string_type]]);
|
|
36
|
+
}
|
|
37
|
+
class TimeZoneModel extends Types_ts_1.Record {
|
|
38
|
+
constructor(Id, Name, CountryCode, CurrentOffset) {
|
|
39
|
+
super();
|
|
40
|
+
this.Id = Id;
|
|
41
|
+
this.Name = Name;
|
|
42
|
+
this.CountryCode = CountryCode;
|
|
43
|
+
this.CurrentOffset = CurrentOffset;
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
exports.TimeZoneModel = TimeZoneModel;
|
|
47
|
+
function TimeZoneModel_$reflection() {
|
|
48
|
+
return (0, Reflection_ts_1.record_type)("Fossa.Bridge.Models.ApiModels.TimeZoneModel", [], TimeZoneModel, () => [["Id", Reflection_ts_1.string_type], ["Name", Reflection_ts_1.string_type], ["CountryCode", Reflection_ts_1.string_type], ["CurrentOffset", (0, Reflection_ts_1.option_type)((0, Reflection_ts_1.class_type)("System.TimeSpan"))]]);
|
|
49
|
+
}
|
|
50
|
+
class PartyModel extends Types_ts_1.Record {
|
|
51
|
+
constructor(LongName, ShortName) {
|
|
52
|
+
super();
|
|
53
|
+
this.LongName = LongName;
|
|
54
|
+
this.ShortName = ShortName;
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
exports.PartyModel = PartyModel;
|
|
58
|
+
function PartyModel_$reflection() {
|
|
59
|
+
return (0, Reflection_ts_1.record_type)("Fossa.Bridge.Models.ApiModels.PartyModel", [], PartyModel, () => [["LongName", Reflection_ts_1.string_type], ["ShortName", Reflection_ts_1.string_type]]);
|
|
60
|
+
}
|
|
61
|
+
class LicenseTermsModel extends Types_ts_1.Record {
|
|
62
|
+
constructor(Licensor, Licensee, NotBefore, NotAfter) {
|
|
63
|
+
super();
|
|
64
|
+
this.Licensor = Licensor;
|
|
65
|
+
this.Licensee = Licensee;
|
|
66
|
+
this.NotBefore = NotBefore;
|
|
67
|
+
this.NotAfter = NotAfter;
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
exports.LicenseTermsModel = LicenseTermsModel;
|
|
71
|
+
function LicenseTermsModel_$reflection() {
|
|
72
|
+
return (0, Reflection_ts_1.record_type)("Fossa.Bridge.Models.ApiModels.LicenseTermsModel", [], LicenseTermsModel, () => [["Licensor", PartyModel_$reflection()], ["Licensee", PartyModel_$reflection()], ["NotBefore", (0, Reflection_ts_1.option_type)((0, Reflection_ts_1.class_type)("System.DateTimeOffset"))], ["NotAfter", (0, Reflection_ts_1.option_type)((0, Reflection_ts_1.class_type)("System.DateTimeOffset"))]]);
|
|
73
|
+
}
|
|
74
|
+
//# sourceMappingURL=SharedModels.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SharedModels.js","sourceRoot":"","sources":["../../../fable_output/Models/ApiModels/SharedModels.ts"],"names":[],"mappings":";;;AAuBA,4DAEC;AAYD,4DAEC;AAgBD,8DAEC;AAYD,wDAEC;AAgBD,sEAEC;AAxFD,uFAAkF;AAElF,iGAA4I;AAE5I,MAAa,YAAa,SAAQ,iBAAM;IAOpC,YAAY,KAAa,EAAE,KAAa,EAAE,IAAY,EAAE,WAAmB,EAAE,UAAkB,EAAE,WAAmB;QAChH,KAAK,EAAE,CAAC;QACR,IAAI,CAAC,KAAK,GAAG,KAAK,CAAC;QACnB,IAAI,CAAC,KAAK,GAAG,KAAK,CAAC;QACnB,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;QACjB,IAAI,CAAC,WAAW,GAAG,WAAW,CAAC;QAC/B,IAAI,CAAC,UAAU,GAAG,UAAU,CAAC;QAC7B,IAAI,CAAC,WAAW,GAAG,WAAW,CAAC;IACnC,CAAC;CACJ;AAhBD,oCAgBC;AAED,S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,CAAC,UAAU,EAAE,IAAA,2BAAW,EAAC,IAAA,0BAAU,EAAC,uBAAuB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;AAC1T,CAAC"}
|
|
@@ -1,16 +1,22 @@
|
|
|
1
|
+
import { BranchModificationModel, BranchQueryRequestModel } from "../../Models/ApiModels/PayloadModels.ts";
|
|
2
|
+
import { int64 } from "../../fable_modules/fable-library-ts.5.0.0-rc.1/BigInt.ts";
|
|
1
3
|
import { IHttpTransport } from "../IHttpTransport.ts";
|
|
4
|
+
import { IBranchClient } from "./IBranchClient.ts";
|
|
2
5
|
import { TypeInfo } from "../../fable_modules/fable-library-ts.5.0.0-rc.1/Reflection.ts";
|
|
3
|
-
|
|
4
|
-
import { int64 } from "../../fable_modules/fable-library-ts.5.0.0-rc.1/BigInt.ts";
|
|
5
|
-
export declare class BranchClient {
|
|
6
|
+
export declare class BranchClient implements IBranchClient {
|
|
6
7
|
readonly transport: IHttpTransport;
|
|
7
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;
|
|
8
14
|
}
|
|
9
15
|
export declare function BranchClient_$reflection(): TypeInfo;
|
|
10
16
|
export declare function BranchClient_$ctor_Z7C557C0(transport: IHttpTransport): BranchClient;
|
|
11
|
-
export declare function
|
|
17
|
+
export declare function BranchClient__GetBranchesAsync_Z113C1396(_: BranchClient, query: BranchQueryRequestModel): any;
|
|
12
18
|
export declare function BranchClient__GetBranchAsync_Z524259C1(_: BranchClient, id: int64): any;
|
|
13
|
-
export declare function
|
|
14
|
-
export declare function
|
|
19
|
+
export declare function BranchClient__CreateBranchAsync_4022AC0F(_: BranchClient, model: BranchModificationModel): any;
|
|
20
|
+
export declare function BranchClient__UpdateBranchAsync_2550C210(_: BranchClient, id: int64, model: BranchModificationModel): any;
|
|
15
21
|
export declare function BranchClient__DeleteBranchAsync_Z524259C1(_: BranchClient, id: int64): any;
|
|
16
|
-
export declare function
|
|
22
|
+
export declare function BranchClient__buildUrl_Z113C1396(this$: BranchClient, queryParams: BranchQueryRequestModel): string;
|