@fossa-app/bridge 0.1.10 → 0.1.12
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 +5 -5
- package/dist/Models/ApiModels/EnvelopeModels.js +16 -16
- package/dist/Models/ApiModels/EnvelopeModels.js.map +1 -1
- package/dist/Models/ApiModels/PayloadModels.d.ts +5 -5
- package/dist/Models/ApiModels/PayloadModels.js +127 -97
- package/dist/Models/ApiModels/PayloadModels.js.map +1 -1
- package/dist/Models/ApiModels/SharedModels.d.ts +3 -3
- package/dist/Models/ApiModels/SharedModels.js +35 -30
- package/dist/Models/ApiModels/SharedModels.js.map +1 -1
- package/dist/Services/Clients/BranchClient.d.ts +2 -2
- package/dist/Services/Clients/BranchClient.js +26 -37
- package/dist/Services/Clients/BranchClient.js.map +1 -1
- package/dist/Services/Clients/CompanyClient.d.ts +1 -1
- package/dist/Services/Clients/CompanyClient.js +17 -26
- package/dist/Services/Clients/CompanyClient.js.map +1 -1
- package/dist/Services/Clients/CompanyLicenseClient.d.ts +1 -1
- package/dist/Services/Clients/CompanyLicenseClient.js +13 -20
- package/dist/Services/Clients/CompanyLicenseClient.js.map +1 -1
- package/dist/Services/Clients/CompanySettingsClient.d.ts +1 -1
- package/dist/Services/Clients/CompanySettingsClient.js +17 -26
- package/dist/Services/Clients/CompanySettingsClient.js.map +1 -1
- package/dist/Services/Clients/DepartmentClient.d.ts +2 -2
- package/dist/Services/Clients/DepartmentClient.js +26 -37
- package/dist/Services/Clients/DepartmentClient.js.map +1 -1
- package/dist/Services/Clients/EmployeeClient.d.ts +2 -2
- package/dist/Services/Clients/EmployeeClient.js +30 -43
- package/dist/Services/Clients/EmployeeClient.js.map +1 -1
- package/dist/Services/Clients/IBranchClient.d.ts +1 -1
- package/dist/Services/Clients/IBranchClient.js +1 -2
- package/dist/Services/Clients/ICompanyClient.js +1 -2
- package/dist/Services/Clients/ICompanyLicenseClient.js +1 -2
- package/dist/Services/Clients/ICompanySettingsClient.js +1 -2
- package/dist/Services/Clients/IDepartmentClient.d.ts +1 -1
- package/dist/Services/Clients/IDepartmentClient.js +1 -2
- package/dist/Services/Clients/IEmployeeClient.d.ts +1 -1
- package/dist/Services/Clients/IEmployeeClient.js +1 -2
- package/dist/Services/Clients/IIdentityClient.js +1 -2
- package/dist/Services/Clients/ISystemLicenseClient.js +1 -2
- package/dist/Services/Clients/IdentityClient.d.ts +1 -1
- package/dist/Services/Clients/IdentityClient.js +11 -17
- package/dist/Services/Clients/IdentityClient.js.map +1 -1
- package/dist/Services/Clients/SystemLicenseClient.d.ts +1 -1
- package/dist/Services/Clients/SystemLicenseClient.js +11 -17
- package/dist/Services/Clients/SystemLicenseClient.js.map +1 -1
- package/dist/Services/Endpoints.js +10 -13
- package/dist/Services/Endpoints.js.map +1 -1
- package/dist/Services/IHttpTransport.d.ts +4 -4
- package/dist/Services/IHttpTransport.js +1 -2
- package/dist/Services/UrlHelpers.d.ts +6 -6
- package/dist/Services/UrlHelpers.js +44 -62
- package/dist/Services/UrlHelpers.js.map +1 -1
- package/package.json +7 -2
- package/dist/fable_modules/fable-library-ts.5.0.0-rc.1/Array.d.ts +0 -125
- package/dist/fable_modules/fable-library-ts.5.0.0-rc.1/Array.js +0 -1371
- package/dist/fable_modules/fable-library-ts.5.0.0-rc.1/Array.js.map +0 -1
- package/dist/fable_modules/fable-library-ts.5.0.0-rc.1/Async.d.ts +0 -27
- package/dist/fable_modules/fable-library-ts.5.0.0-rc.1/Async.js +0 -172
- package/dist/fable_modules/fable-library-ts.5.0.0-rc.1/Async.js.map +0 -1
- package/dist/fable_modules/fable-library-ts.5.0.0-rc.1/AsyncBuilder.d.ts +0 -59
- package/dist/fable_modules/fable-library-ts.5.0.0-rc.1/AsyncBuilder.js +0 -194
- package/dist/fable_modules/fable-library-ts.5.0.0-rc.1/AsyncBuilder.js.map +0 -1
- package/dist/fable_modules/fable-library-ts.5.0.0-rc.1/BigInt.d.ts +0 -129
- package/dist/fable_modules/fable-library-ts.5.0.0-rc.1/BigInt.js +0 -428
- package/dist/fable_modules/fable-library-ts.5.0.0-rc.1/BigInt.js.map +0 -1
- package/dist/fable_modules/fable-library-ts.5.0.0-rc.1/BitConverter.d.ts +0 -27
- package/dist/fable_modules/fable-library-ts.5.0.0-rc.1/BitConverter.js +0 -165
- package/dist/fable_modules/fable-library-ts.5.0.0-rc.1/BitConverter.js.map +0 -1
- package/dist/fable_modules/fable-library-ts.5.0.0-rc.1/Boolean.d.ts +0 -3
- package/dist/fable_modules/fable-library-ts.5.0.0-rc.1/Boolean.js +0 -27
- package/dist/fable_modules/fable-library-ts.5.0.0-rc.1/Boolean.js.map +0 -1
- package/dist/fable_modules/fable-library-ts.5.0.0-rc.1/Char.d.ts +0 -66
- package/dist/fable_modules/fable-library-ts.5.0.0-rc.1/Char.js +0 -271
- package/dist/fable_modules/fable-library-ts.5.0.0-rc.1/Char.js.map +0 -1
- package/dist/fable_modules/fable-library-ts.5.0.0-rc.1/Choice.d.ts +0 -121
- package/dist/fable_modules/fable-library-ts.5.0.0-rc.1/Choice.js +0 -231
- package/dist/fable_modules/fable-library-ts.5.0.0-rc.1/Choice.js.map +0 -1
- package/dist/fable_modules/fable-library-ts.5.0.0-rc.1/CollectionUtil.d.ts +0 -8
- package/dist/fable_modules/fable-library-ts.5.0.0-rc.1/CollectionUtil.js +0 -192
- package/dist/fable_modules/fable-library-ts.5.0.0-rc.1/CollectionUtil.js.map +0 -1
- package/dist/fable_modules/fable-library-ts.5.0.0-rc.1/ConditionalWeakTable.d.ts +0 -9
- package/dist/fable_modules/fable-library-ts.5.0.0-rc.1/ConditionalWeakTable.js +0 -26
- package/dist/fable_modules/fable-library-ts.5.0.0-rc.1/ConditionalWeakTable.js.map +0 -1
- package/dist/fable_modules/fable-library-ts.5.0.0-rc.1/Date.d.ts +0 -70
- package/dist/fable_modules/fable-library-ts.5.0.0-rc.1/Date.js +0 -812
- package/dist/fable_modules/fable-library-ts.5.0.0-rc.1/Date.js.map +0 -1
- package/dist/fable_modules/fable-library-ts.5.0.0-rc.1/DateOffset.d.ts +0 -65
- package/dist/fable_modules/fable-library-ts.5.0.0-rc.1/DateOffset.js +0 -345
- package/dist/fable_modules/fable-library-ts.5.0.0-rc.1/DateOffset.js.map +0 -1
- package/dist/fable_modules/fable-library-ts.5.0.0-rc.1/DateOnly.d.ts +0 -18
- package/dist/fable_modules/fable-library-ts.5.0.0-rc.1/DateOnly.js +0 -143
- package/dist/fable_modules/fable-library-ts.5.0.0-rc.1/DateOnly.js.map +0 -1
- package/dist/fable_modules/fable-library-ts.5.0.0-rc.1/Decimal.d.ts +0 -63
- package/dist/fable_modules/fable-library-ts.5.0.0-rc.1/Decimal.js +0 -322
- package/dist/fable_modules/fable-library-ts.5.0.0-rc.1/Decimal.js.map +0 -1
- package/dist/fable_modules/fable-library-ts.5.0.0-rc.1/Double.d.ts +0 -11
- package/dist/fable_modules/fable-library-ts.5.0.0-rc.1/Double.js +0 -60
- package/dist/fable_modules/fable-library-ts.5.0.0-rc.1/Double.js.map +0 -1
- package/dist/fable_modules/fable-library-ts.5.0.0-rc.1/Encoding.d.ts +0 -12
- package/dist/fable_modules/fable-library-ts.5.0.0-rc.1/Encoding.js +0 -178
- package/dist/fable_modules/fable-library-ts.5.0.0-rc.1/Encoding.js.map +0 -1
- package/dist/fable_modules/fable-library-ts.5.0.0-rc.1/Event.d.ts +0 -31
- package/dist/fable_modules/fable-library-ts.5.0.0-rc.1/Event.js +0 -109
- package/dist/fable_modules/fable-library-ts.5.0.0-rc.1/Event.js.map +0 -1
- package/dist/fable_modules/fable-library-ts.5.0.0-rc.1/FSharp.Collections.d.ts +0 -7
- package/dist/fable_modules/fable-library-ts.5.0.0-rc.1/FSharp.Collections.js +0 -53
- package/dist/fable_modules/fable-library-ts.5.0.0-rc.1/FSharp.Collections.js.map +0 -1
- package/dist/fable_modules/fable-library-ts.5.0.0-rc.1/FSharp.Core.CompilerServices.d.ts +0 -12
- package/dist/fable_modules/fable-library-ts.5.0.0-rc.1/FSharp.Core.CompilerServices.js +0 -38
- package/dist/fable_modules/fable-library-ts.5.0.0-rc.1/FSharp.Core.CompilerServices.js.map +0 -1
- package/dist/fable_modules/fable-library-ts.5.0.0-rc.1/FSharp.Core.d.ts +0 -30
- package/dist/fable_modules/fable-library-ts.5.0.0-rc.1/FSharp.Core.js +0 -185
- package/dist/fable_modules/fable-library-ts.5.0.0-rc.1/FSharp.Core.js.map +0 -1
- package/dist/fable_modules/fable-library-ts.5.0.0-rc.1/Global.d.ts +0 -45
- package/dist/fable_modules/fable-library-ts.5.0.0-rc.1/Global.js +0 -33
- package/dist/fable_modules/fable-library-ts.5.0.0-rc.1/Global.js.map +0 -1
- package/dist/fable_modules/fable-library-ts.5.0.0-rc.1/Guid.d.ts +0 -10
- package/dist/fable_modules/fable-library-ts.5.0.0-rc.1/Guid.js +0 -152
- package/dist/fable_modules/fable-library-ts.5.0.0-rc.1/Guid.js.map +0 -1
- package/dist/fable_modules/fable-library-ts.5.0.0-rc.1/Int32.d.ts +0 -29
- package/dist/fable_modules/fable-library-ts.5.0.0-rc.1/Int32.js +0 -148
- package/dist/fable_modules/fable-library-ts.5.0.0-rc.1/Int32.js.map +0 -1
- package/dist/fable_modules/fable-library-ts.5.0.0-rc.1/List.d.ts +0 -143
- package/dist/fable_modules/fable-library-ts.5.0.0-rc.1/List.js +0 -1404
- package/dist/fable_modules/fable-library-ts.5.0.0-rc.1/List.js.map +0 -1
- package/dist/fable_modules/fable-library-ts.5.0.0-rc.1/Long.d.ts +0 -3
- package/dist/fable_modules/fable-library-ts.5.0.0-rc.1/Long.js +0 -52
- package/dist/fable_modules/fable-library-ts.5.0.0-rc.1/Long.js.map +0 -1
- package/dist/fable_modules/fable-library-ts.5.0.0-rc.1/MailboxProcessor.d.ts +0 -25
- package/dist/fable_modules/fable-library-ts.5.0.0-rc.1/MailboxProcessor.js +0 -104
- package/dist/fable_modules/fable-library-ts.5.0.0-rc.1/MailboxProcessor.js.map +0 -1
- package/dist/fable_modules/fable-library-ts.5.0.0-rc.1/Map.d.ts +0 -178
- package/dist/fable_modules/fable-library-ts.5.0.0-rc.1/Map.js +0 -1525
- package/dist/fable_modules/fable-library-ts.5.0.0-rc.1/Map.js.map +0 -1
- package/dist/fable_modules/fable-library-ts.5.0.0-rc.1/MapUtil.d.ts +0 -12
- package/dist/fable_modules/fable-library-ts.5.0.0-rc.1/MapUtil.js +0 -141
- package/dist/fable_modules/fable-library-ts.5.0.0-rc.1/MapUtil.js.map +0 -1
- package/dist/fable_modules/fable-library-ts.5.0.0-rc.1/MutableMap.d.ts +0 -52
- package/dist/fable_modules/fable-library-ts.5.0.0-rc.1/MutableMap.js +0 -355
- package/dist/fable_modules/fable-library-ts.5.0.0-rc.1/MutableMap.js.map +0 -1
- package/dist/fable_modules/fable-library-ts.5.0.0-rc.1/MutableSet.d.ts +0 -39
- package/dist/fable_modules/fable-library-ts.5.0.0-rc.1/MutableSet.js +0 -246
- package/dist/fable_modules/fable-library-ts.5.0.0-rc.1/MutableSet.js.map +0 -1
- package/dist/fable_modules/fable-library-ts.5.0.0-rc.1/Native.d.ts +0 -3
- package/dist/fable_modules/fable-library-ts.5.0.0-rc.1/Native.js +0 -18
- package/dist/fable_modules/fable-library-ts.5.0.0-rc.1/Native.js.map +0 -1
- package/dist/fable_modules/fable-library-ts.5.0.0-rc.1/Numeric.d.ts +0 -20
- package/dist/fable_modules/fable-library-ts.5.0.0-rc.1/Numeric.js +0 -87
- package/dist/fable_modules/fable-library-ts.5.0.0-rc.1/Numeric.js.map +0 -1
- package/dist/fable_modules/fable-library-ts.5.0.0-rc.1/Observable.d.ts +0 -32
- package/dist/fable_modules/fable-library-ts.5.0.0-rc.1/Observable.js +0 -128
- package/dist/fable_modules/fable-library-ts.5.0.0-rc.1/Observable.js.map +0 -1
- package/dist/fable_modules/fable-library-ts.5.0.0-rc.1/Option.d.ts +0 -29
- package/dist/fable_modules/fable-library-ts.5.0.0-rc.1/Option.js +0 -127
- package/dist/fable_modules/fable-library-ts.5.0.0-rc.1/Option.js.map +0 -1
- package/dist/fable_modules/fable-library-ts.5.0.0-rc.1/Random.d.ts +0 -38
- package/dist/fable_modules/fable-library-ts.5.0.0-rc.1/Random.js +0 -186
- package/dist/fable_modules/fable-library-ts.5.0.0-rc.1/Random.js.map +0 -1
- package/dist/fable_modules/fable-library-ts.5.0.0-rc.1/Range.d.ts +0 -12
- package/dist/fable_modules/fable-library-ts.5.0.0-rc.1/Range.js +0 -56
- package/dist/fable_modules/fable-library-ts.5.0.0-rc.1/Range.js.map +0 -1
- package/dist/fable_modules/fable-library-ts.5.0.0-rc.1/Reflection.d.ts +0 -119
- package/dist/fable_modules/fable-library-ts.5.0.0-rc.1/Reflection.js +0 -529
- package/dist/fable_modules/fable-library-ts.5.0.0-rc.1/Reflection.js.map +0 -1
- package/dist/fable_modules/fable-library-ts.5.0.0-rc.1/RegExp.d.ts +0 -10
- package/dist/fable_modules/fable-library-ts.5.0.0-rc.1/RegExp.js +0 -144
- package/dist/fable_modules/fable-library-ts.5.0.0-rc.1/RegExp.js.map +0 -1
- package/dist/fable_modules/fable-library-ts.5.0.0-rc.1/Result.d.ts +0 -38
- package/dist/fable_modules/fable-library-ts.5.0.0-rc.1/Result.js +0 -191
- package/dist/fable_modules/fable-library-ts.5.0.0-rc.1/Result.js.map +0 -1
- package/dist/fable_modules/fable-library-ts.5.0.0-rc.1/Seq.d.ts +0 -164
- package/dist/fable_modules/fable-library-ts.5.0.0-rc.1/Seq.js +0 -1501
- package/dist/fable_modules/fable-library-ts.5.0.0-rc.1/Seq.js.map +0 -1
- package/dist/fable_modules/fable-library-ts.5.0.0-rc.1/Seq2.d.ts +0 -18
- package/dist/fable_modules/fable-library-ts.5.0.0-rc.1/Seq2.js +0 -129
- package/dist/fable_modules/fable-library-ts.5.0.0-rc.1/Seq2.js.map +0 -1
- package/dist/fable_modules/fable-library-ts.5.0.0-rc.1/Set.d.ts +0 -190
- package/dist/fable_modules/fable-library-ts.5.0.0-rc.1/Set.js +0 -1931
- package/dist/fable_modules/fable-library-ts.5.0.0-rc.1/Set.js.map +0 -1
- package/dist/fable_modules/fable-library-ts.5.0.0-rc.1/String.d.ts +0 -59
- package/dist/fable_modules/fable-library-ts.5.0.0-rc.1/String.js +0 -677
- package/dist/fable_modules/fable-library-ts.5.0.0-rc.1/String.js.map +0 -1
- package/dist/fable_modules/fable-library-ts.5.0.0-rc.1/System.Collections.Generic.d.ts +0 -85
- package/dist/fable_modules/fable-library-ts.5.0.0-rc.1/System.Collections.Generic.js +0 -390
- package/dist/fable_modules/fable-library-ts.5.0.0-rc.1/System.Collections.Generic.js.map +0 -1
- package/dist/fable_modules/fable-library-ts.5.0.0-rc.1/System.Text.d.ts +0 -40
- package/dist/fable_modules/fable-library-ts.5.0.0-rc.1/System.Text.js +0 -204
- package/dist/fable_modules/fable-library-ts.5.0.0-rc.1/System.Text.js.map +0 -1
- package/dist/fable_modules/fable-library-ts.5.0.0-rc.1/System.d.ts +0 -121
- package/dist/fable_modules/fable-library-ts.5.0.0-rc.1/System.js +0 -367
- package/dist/fable_modules/fable-library-ts.5.0.0-rc.1/System.js.map +0 -1
- package/dist/fable_modules/fable-library-ts.5.0.0-rc.1/TimeOnly.d.ts +0 -15
- package/dist/fable_modules/fable-library-ts.5.0.0-rc.1/TimeOnly.js +0 -138
- package/dist/fable_modules/fable-library-ts.5.0.0-rc.1/TimeOnly.js.map +0 -1
- package/dist/fable_modules/fable-library-ts.5.0.0-rc.1/TimeSpan.d.ts +0 -35
- package/dist/fable_modules/fable-library-ts.5.0.0-rc.1/TimeSpan.js +0 -210
- package/dist/fable_modules/fable-library-ts.5.0.0-rc.1/TimeSpan.js.map +0 -1
- package/dist/fable_modules/fable-library-ts.5.0.0-rc.1/Timer.d.ts +0 -19
- package/dist/fable_modules/fable-library-ts.5.0.0-rc.1/Timer.js +0 -72
- package/dist/fable_modules/fable-library-ts.5.0.0-rc.1/Timer.js.map +0 -1
- package/dist/fable_modules/fable-library-ts.5.0.0-rc.1/Types.d.ts +0 -51
- package/dist/fable_modules/fable-library-ts.5.0.0-rc.1/Types.js +0 -205
- package/dist/fable_modules/fable-library-ts.5.0.0-rc.1/Types.js.map +0 -1
- package/dist/fable_modules/fable-library-ts.5.0.0-rc.1/Unicode.13.0.0.d.ts +0 -2
- package/dist/fable_modules/fable-library-ts.5.0.0-rc.1/Unicode.13.0.0.js +0 -8
- package/dist/fable_modules/fable-library-ts.5.0.0-rc.1/Unicode.13.0.0.js.map +0 -1
- package/dist/fable_modules/fable-library-ts.5.0.0-rc.1/Uri.d.ts +0 -32
- package/dist/fable_modules/fable-library-ts.5.0.0-rc.1/Uri.js +0 -170
- package/dist/fable_modules/fable-library-ts.5.0.0-rc.1/Uri.js.map +0 -1
- package/dist/fable_modules/fable-library-ts.5.0.0-rc.1/Util.d.ts +0 -243
- package/dist/fable_modules/fable-library-ts.5.0.0-rc.1/Util.js +0 -903
- package/dist/fable_modules/fable-library-ts.5.0.0-rc.1/Util.js.map +0 -1
|
@@ -1,14 +1,12 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
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 {
|
|
1
|
+
import { Record } from "@fable-org/fable-library-ts/Types.ts";
|
|
2
|
+
import { option_type, class_type, record_type, string_type } from "@fable-org/fable-library-ts/Reflection.ts";
|
|
3
|
+
export class AddressModel extends Record {
|
|
4
|
+
Line1;
|
|
5
|
+
Line2;
|
|
6
|
+
City;
|
|
7
|
+
Subdivision;
|
|
8
|
+
PostalCode;
|
|
9
|
+
CountryCode;
|
|
12
10
|
constructor(Line1, Line2, City, Subdivision, PostalCode, CountryCode) {
|
|
13
11
|
super();
|
|
14
12
|
this.Line1 = Line1;
|
|
@@ -19,22 +17,26 @@ class AddressModel extends Types_ts_1.Record {
|
|
|
19
17
|
this.CountryCode = CountryCode;
|
|
20
18
|
}
|
|
21
19
|
}
|
|
22
|
-
|
|
23
|
-
|
|
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]]);
|
|
20
|
+
export function AddressModel_$reflection() {
|
|
21
|
+
return record_type("Fossa.Bridge.Models.ApiModels.AddressModel", [], AddressModel, () => [["Line1", string_type], ["Line2", string_type], ["City", string_type], ["Subdivision", string_type], ["PostalCode", string_type], ["CountryCode", string_type]]);
|
|
25
22
|
}
|
|
26
|
-
class CountryModel extends
|
|
23
|
+
export class CountryModel extends Record {
|
|
24
|
+
Name;
|
|
25
|
+
Code;
|
|
27
26
|
constructor(Name, Code) {
|
|
28
27
|
super();
|
|
29
28
|
this.Name = Name;
|
|
30
29
|
this.Code = Code;
|
|
31
30
|
}
|
|
32
31
|
}
|
|
33
|
-
|
|
34
|
-
|
|
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]]);
|
|
32
|
+
export function CountryModel_$reflection() {
|
|
33
|
+
return record_type("Fossa.Bridge.Models.ApiModels.CountryModel", [], CountryModel, () => [["Name", string_type], ["Code", string_type]]);
|
|
36
34
|
}
|
|
37
|
-
class TimeZoneModel extends
|
|
35
|
+
export class TimeZoneModel extends Record {
|
|
36
|
+
Id;
|
|
37
|
+
Name;
|
|
38
|
+
CountryCode;
|
|
39
|
+
CurrentOffset;
|
|
38
40
|
constructor(Id, Name, CountryCode, CurrentOffset) {
|
|
39
41
|
super();
|
|
40
42
|
this.Id = Id;
|
|
@@ -43,22 +45,26 @@ class TimeZoneModel extends Types_ts_1.Record {
|
|
|
43
45
|
this.CurrentOffset = CurrentOffset;
|
|
44
46
|
}
|
|
45
47
|
}
|
|
46
|
-
|
|
47
|
-
|
|
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"))]]);
|
|
48
|
+
export function TimeZoneModel_$reflection() {
|
|
49
|
+
return record_type("Fossa.Bridge.Models.ApiModels.TimeZoneModel", [], TimeZoneModel, () => [["Id", string_type], ["Name", string_type], ["CountryCode", string_type], ["CurrentOffset", option_type(class_type("System.TimeSpan"))]]);
|
|
49
50
|
}
|
|
50
|
-
class PartyModel extends
|
|
51
|
+
export class PartyModel extends Record {
|
|
52
|
+
LongName;
|
|
53
|
+
ShortName;
|
|
51
54
|
constructor(LongName, ShortName) {
|
|
52
55
|
super();
|
|
53
56
|
this.LongName = LongName;
|
|
54
57
|
this.ShortName = ShortName;
|
|
55
58
|
}
|
|
56
59
|
}
|
|
57
|
-
|
|
58
|
-
|
|
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
|
+
export function PartyModel_$reflection() {
|
|
61
|
+
return record_type("Fossa.Bridge.Models.ApiModels.PartyModel", [], PartyModel, () => [["LongName", string_type], ["ShortName", string_type]]);
|
|
60
62
|
}
|
|
61
|
-
class LicenseTermsModel extends
|
|
63
|
+
export class LicenseTermsModel extends Record {
|
|
64
|
+
Licensor;
|
|
65
|
+
Licensee;
|
|
66
|
+
NotBefore;
|
|
67
|
+
NotAfter;
|
|
62
68
|
constructor(Licensor, Licensee, NotBefore, NotAfter) {
|
|
63
69
|
super();
|
|
64
70
|
this.Licensor = Licensor;
|
|
@@ -67,8 +73,7 @@ class LicenseTermsModel extends Types_ts_1.Record {
|
|
|
67
73
|
this.NotAfter = NotAfter;
|
|
68
74
|
}
|
|
69
75
|
}
|
|
70
|
-
|
|
71
|
-
|
|
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"))]]);
|
|
76
|
+
export function LicenseTermsModel_$reflection() {
|
|
77
|
+
return record_type("Fossa.Bridge.Models.ApiModels.LicenseTermsModel", [], LicenseTermsModel, () => [["Licensor", PartyModel_$reflection()], ["Licensee", PartyModel_$reflection()], ["NotBefore", option_type(class_type("System.DateTimeOffset"))], ["NotAfter", option_type(class_type("System.DateTimeOffset"))]]);
|
|
73
78
|
}
|
|
74
79
|
//# sourceMappingURL=SharedModels.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SharedModels.js","sourceRoot":"","sources":["../../../fable_output/Models/ApiModels/SharedModels.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"SharedModels.js","sourceRoot":"","sources":["../../../fable_output/Models/ApiModels/SharedModels.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,MAAM,EAAE,MAAM,sCAAsC,CAAC;AAE9D,OAAO,EAAE,WAAW,EAAE,UAAU,EAAE,WAAW,EAAE,WAAW,EAAY,MAAM,2CAA2C,CAAC;AAExH,MAAM,OAAO,YAAa,SAAQ,MAAM;IAC3B,KAAK,CAAS;IACd,KAAK,CAAS;IACd,IAAI,CAAS;IACb,WAAW,CAAS;IACpB,UAAU,CAA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oB,EAAE,QAAoB,EAAE,SAAyB,EAAE,QAAwB;QACvG,KAAK,EAAE,CAAC;QACR,IAAI,CAAC,QAAQ,GAAG,QAAQ,CAAC;QACzB,IAAI,CAAC,QAAQ,GAAG,QAAQ,CAAC;QACzB,IAAI,CAAC,SAAS,GAAG,SAAS,CAAC;QAC3B,IAAI,CAAC,QAAQ,GAAG,QAAQ,CAAC;IAC7B,CAAC;CACJ;AAED,MAAM,UAAU,6BAA6B;IACzC,OAAO,WAAW,CAAC,iDAAiD,EAAE,EAAE,EAAE,iBAAiB,EAAE,GAAG,EAAE,CAAC,CAAC,CAAC,UAAU,EAAE,sBAAsB,EAAE,CAAC,EAAE,CAAC,UAAU,EAAE,sBAAsB,EAAE,CAAC,EAAE,CAAC,WAAW,EAAE,WAAW,CAAC,UAAU,CAAC,uBAAuB,CAAC,CAAC,CAAC,EAAE,CAAC,UAAU,EAAE,WAAW,CAAC,UAAU,CAAC,uBAAuB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;AAC1T,CAAC"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { BranchModificationModel, BranchQueryRequestModel } from "../../Models/ApiModels/PayloadModels.ts";
|
|
2
|
-
import { int64 } from "
|
|
2
|
+
import { int64 } from "@fable-org/fable-library-ts/BigInt.ts";
|
|
3
3
|
import { IHttpTransport } from "../IHttpTransport.ts";
|
|
4
4
|
import { IBranchClient } from "./IBranchClient.ts";
|
|
5
|
-
import { TypeInfo } from "
|
|
5
|
+
import { TypeInfo } from "@fable-org/fable-library-ts/Reflection.ts";
|
|
6
6
|
export declare class BranchClient implements IBranchClient {
|
|
7
7
|
readonly transport: IHttpTransport;
|
|
8
8
|
constructor(transport: IHttpTransport);
|
|
@@ -1,23 +1,13 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
exports.BranchClient__buildUrl_Z113C1396 = BranchClient__buildUrl_Z113C1396;
|
|
12
|
-
const Reflection_ts_1 = require("../../fable_modules/fable-library-ts.5.0.0-rc.1/Reflection.js");
|
|
13
|
-
const UrlHelpers_ts_1 = require("../UrlHelpers.js");
|
|
14
|
-
const Endpoints_ts_1 = require("../Endpoints.js");
|
|
15
|
-
const List_ts_1 = require("../../fable_modules/fable-library-ts.5.0.0-rc.1/List.js");
|
|
16
|
-
const Seq_ts_1 = require("../../fable_modules/fable-library-ts.5.0.0-rc.1/Seq.js");
|
|
17
|
-
const Option_ts_1 = require("../../fable_modules/fable-library-ts.5.0.0-rc.1/Option.js");
|
|
18
|
-
const CollectionUtil_ts_1 = require("../../fable_modules/fable-library-ts.5.0.0-rc.1/CollectionUtil.js");
|
|
19
|
-
const String_ts_1 = require("../../fable_modules/fable-library-ts.5.0.0-rc.1/String.js");
|
|
20
|
-
class BranchClient {
|
|
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, BasePath } from "../Endpoints.js";
|
|
4
|
+
import { empty, ofArray } from "@fable-org/fable-library-ts/List.ts";
|
|
5
|
+
import { singleton, 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;
|
|
21
11
|
constructor(transport) {
|
|
22
12
|
this.transport = transport;
|
|
23
13
|
}
|
|
@@ -42,33 +32,32 @@ class BranchClient {
|
|
|
42
32
|
return BranchClient__DeleteBranchAsync_Z524259C1(this$, id);
|
|
43
33
|
}
|
|
44
34
|
}
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
return (0, Reflection_ts_1.class_type)("Fossa.Bridge.Services.Clients.BranchClient", undefined, BranchClient);
|
|
35
|
+
export function BranchClient_$reflection() {
|
|
36
|
+
return class_type("Fossa.Bridge.Services.Clients.BranchClient", undefined, BranchClient);
|
|
48
37
|
}
|
|
49
|
-
function BranchClient_$ctor_Z7C557C0(transport) {
|
|
38
|
+
export function BranchClient_$ctor_Z7C557C0(transport) {
|
|
50
39
|
return new BranchClient(transport);
|
|
51
40
|
}
|
|
52
|
-
function BranchClient__GetBranchesAsync_Z113C1396(_, query) {
|
|
41
|
+
export function BranchClient__GetBranchesAsync_Z113C1396(_, query) {
|
|
53
42
|
return _.transport.GetAsync(BranchClient__buildUrl_Z113C1396(_, query));
|
|
54
43
|
}
|
|
55
|
-
function BranchClient__GetBranchAsync_Z524259C1(_, id) {
|
|
56
|
-
return _.transport.GetAsync(
|
|
44
|
+
export function BranchClient__GetBranchAsync_Z524259C1(_, id) {
|
|
45
|
+
return _.transport.GetAsync(composeRelativeUrl(ofArray([UrlPart_op_Implicit_Z721C83C5(BasePath), UrlPart_op_Implicit_Z721C83C5(Branches), UrlPart_op_Implicit_Z524259C1(id)]), empty()));
|
|
57
46
|
}
|
|
58
|
-
function BranchClient__CreateBranchAsync_4022AC0F(_, model) {
|
|
59
|
-
return _.transport.PostAsync(
|
|
47
|
+
export function BranchClient__CreateBranchAsync_4022AC0F(_, model) {
|
|
48
|
+
return _.transport.PostAsync(composeRelativeUrl(ofArray([UrlPart_op_Implicit_Z721C83C5(BasePath), UrlPart_op_Implicit_Z721C83C5(Branches)]), empty()), model);
|
|
60
49
|
}
|
|
61
|
-
function BranchClient__UpdateBranchAsync_2550C210(_, id, model) {
|
|
62
|
-
return _.transport.PutAsync(
|
|
50
|
+
export function BranchClient__UpdateBranchAsync_2550C210(_, id, model) {
|
|
51
|
+
return _.transport.PutAsync(composeRelativeUrl(ofArray([UrlPart_op_Implicit_Z721C83C5(BasePath), UrlPart_op_Implicit_Z721C83C5(Branches), UrlPart_op_Implicit_Z524259C1(id)]), empty()), model);
|
|
63
52
|
}
|
|
64
|
-
function BranchClient__DeleteBranchAsync_Z524259C1(_, id) {
|
|
65
|
-
return _.transport.DeleteAsync(
|
|
53
|
+
export function BranchClient__DeleteBranchAsync_Z524259C1(_, id) {
|
|
54
|
+
return _.transport.DeleteAsync(composeRelativeUrl(ofArray([UrlPart_op_Implicit_Z721C83C5(BasePath), UrlPart_op_Implicit_Z721C83C5(Branches), UrlPart_op_Implicit_Z524259C1(id)]), empty()));
|
|
66
55
|
}
|
|
67
|
-
function BranchClient__buildUrl_Z113C1396(this$, queryParams) {
|
|
68
|
-
const parameters =
|
|
56
|
+
export function BranchClient__buildUrl_Z113C1396(this$, queryParams) {
|
|
57
|
+
const parameters = toList(delay(() => {
|
|
69
58
|
let matchValue = undefined, ids_1 = undefined;
|
|
70
|
-
return
|
|
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(["Search", UrlPart_op_Implicit_Z721C83C5(queryParams.Search)]) : empty_1(), delay(() => append((queryParams.PageNumber != null) ? singleton(["PageNumber", UrlPart_op_Implicit_Z524259A4(nonNullValue(queryParams.PageNumber))]) : empty_1(), delay(() => ((queryParams.PageSize != null) ? singleton(["PageSize", UrlPart_op_Implicit_Z524259A4(nonNullValue(queryParams.PageSize))]) : empty_1())))))));
|
|
71
60
|
}));
|
|
72
|
-
return
|
|
61
|
+
return composeRelativeUrl(ofArray([UrlPart_op_Implicit_Z721C83C5(BasePath), UrlPart_op_Implicit_Z721C83C5(Branches)]), parameters);
|
|
73
62
|
}
|
|
74
63
|
//# sourceMappingURL=BranchClient.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BranchClient.js","sourceRoot":"","sources":["../../../fable_output/Services/Clients/BranchClient.ts"],"names":[],"mappings":"
|
|
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,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AACrD,OAAO,EAAc,KAAK,EAAE,OAAO,EAAE,MAAM,qCAAqC,CAAC;AACjF,OAAO,EAAE,SAAS,EAAE,KAAK,IAAI,OAAO,EAAE,GAAG,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,EAAE,MAAM,oCAAoC,CAAC;AAC7G,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,YAAY;IACZ,SAAS,CAAiB;IACnC,YAAY,SAAyB;QACjC,IAAI,CAAC,SAAS,GAAG,SAAS,CAAC;IAC/B,CAAC;IACD,gBAAgB,CAAC,KAA8B;QAC3C,MAAM,KAAK,GAAiB,IAAI,CAAC;QACjC,OAAO,wCAAwC,CAAC,KAAK,EAAE,KAAK,CAAC,CAAC;IAClE,CAAC;IACD,cAAc,CAAC,EAAS;QACpB,MAAM,KAAK,GAAiB,IAAI,CAAC;QACjC,OAAO,sCAAsC,CAAC,KAAK,EAAE,EAAE,CAAC,CAAC;IAC7D,CAAC;IACD,iBAAiB,CAAC,KAA8B;QAC5C,MAAM,KAAK,GAAiB,IAAI,CAAC;Q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,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,SAAS,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,SAAS,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,SAAS,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;IAC7qC,CAAC,CAAC,CAAC,CAAC;IACJ,OAAO,kBAAkB,CAAC,OAAO,CAAC,CAAC,6BAA6B,CAAC,QAAQ,CAAC,EAAE,6BAA6B,CAAC,QAAQ,CAAC,CAAC,CAAC,EAAE,UAAU,CAAC,CAAC;AACvI,CAAC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { CompanyModificationModel } from "../../Models/ApiModels/PayloadModels.ts";
|
|
2
2
|
import { IHttpTransport } from "../IHttpTransport.ts";
|
|
3
3
|
import { ICompanyClient } from "./ICompanyClient.ts";
|
|
4
|
-
import { TypeInfo } from "
|
|
4
|
+
import { TypeInfo } from "@fable-org/fable-library-ts/Reflection.ts";
|
|
5
5
|
export declare class CompanyClient implements ICompanyClient {
|
|
6
6
|
readonly transport: IHttpTransport;
|
|
7
7
|
constructor(transport: IHttpTransport);
|
|
@@ -1,17 +1,9 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
exports.CompanyClient__CreateCompanyAsync_4E5BE73C = CompanyClient__CreateCompanyAsync_4E5BE73C;
|
|
8
|
-
exports.CompanyClient__UpdateCompanyAsync_4E5BE73C = CompanyClient__UpdateCompanyAsync_4E5BE73C;
|
|
9
|
-
exports.CompanyClient__DeleteCompanyAsync = CompanyClient__DeleteCompanyAsync;
|
|
10
|
-
const Reflection_ts_1 = require("../../fable_modules/fable-library-ts.5.0.0-rc.1/Reflection.js");
|
|
11
|
-
const UrlHelpers_ts_1 = require("../UrlHelpers.js");
|
|
12
|
-
const Endpoints_ts_1 = require("../Endpoints.js");
|
|
13
|
-
const List_ts_1 = require("../../fable_modules/fable-library-ts.5.0.0-rc.1/List.js");
|
|
14
|
-
class CompanyClient {
|
|
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, BasePath } from "../Endpoints.js";
|
|
4
|
+
import { empty, ofArray } from "@fable-org/fable-library-ts/List.ts";
|
|
5
|
+
export class CompanyClient {
|
|
6
|
+
transport;
|
|
15
7
|
constructor(transport) {
|
|
16
8
|
this.transport = transport;
|
|
17
9
|
}
|
|
@@ -32,23 +24,22 @@ class CompanyClient {
|
|
|
32
24
|
return CompanyClient__DeleteCompanyAsync(this$);
|
|
33
25
|
}
|
|
34
26
|
}
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
return (0, Reflection_ts_1.class_type)("Fossa.Bridge.Services.Clients.CompanyClient", undefined, CompanyClient);
|
|
27
|
+
export function CompanyClient_$reflection() {
|
|
28
|
+
return class_type("Fossa.Bridge.Services.Clients.CompanyClient", undefined, CompanyClient);
|
|
38
29
|
}
|
|
39
|
-
function CompanyClient_$ctor_Z7C557C0(transport) {
|
|
30
|
+
export function CompanyClient_$ctor_Z7C557C0(transport) {
|
|
40
31
|
return new CompanyClient(transport);
|
|
41
32
|
}
|
|
42
|
-
function CompanyClient__GetCompanyAsync(_) {
|
|
43
|
-
return _.transport.GetAsync(
|
|
33
|
+
export function CompanyClient__GetCompanyAsync(_) {
|
|
34
|
+
return _.transport.GetAsync(composeRelativeUrl(ofArray([UrlPart_op_Implicit_Z721C83C5(BasePath), UrlPart_op_Implicit_Z721C83C5(Company)]), empty()));
|
|
44
35
|
}
|
|
45
|
-
function CompanyClient__CreateCompanyAsync_4E5BE73C(_, model) {
|
|
46
|
-
return _.transport.PostAsync(
|
|
36
|
+
export function CompanyClient__CreateCompanyAsync_4E5BE73C(_, model) {
|
|
37
|
+
return _.transport.PostAsync(composeRelativeUrl(ofArray([UrlPart_op_Implicit_Z721C83C5(BasePath), UrlPart_op_Implicit_Z721C83C5(Company)]), empty()), model);
|
|
47
38
|
}
|
|
48
|
-
function CompanyClient__UpdateCompanyAsync_4E5BE73C(_, model) {
|
|
49
|
-
return _.transport.PutAsync(
|
|
39
|
+
export function CompanyClient__UpdateCompanyAsync_4E5BE73C(_, model) {
|
|
40
|
+
return _.transport.PutAsync(composeRelativeUrl(ofArray([UrlPart_op_Implicit_Z721C83C5(BasePath), UrlPart_op_Implicit_Z721C83C5(Company)]), empty()), model);
|
|
50
41
|
}
|
|
51
|
-
function CompanyClient__DeleteCompanyAsync(_) {
|
|
52
|
-
return _.transport.DeleteAsync(
|
|
42
|
+
export function CompanyClient__DeleteCompanyAsync(_) {
|
|
43
|
+
return _.transport.DeleteAsync(composeRelativeUrl(ofArray([UrlPart_op_Implicit_Z721C83C5(BasePath), UrlPart_op_Implicit_Z721C83C5(Company)]), empty()));
|
|
53
44
|
}
|
|
54
45
|
//# sourceMappingURL=CompanyClient.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CompanyClient.js","sourceRoot":"","sources":["../../../fable_output/Services/Clients/CompanyClient.ts"],"names":[],"mappings":"
|
|
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,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AACpD,OAAO,EAAE,KAAK,EAAE,OAAO,EAAE,MAAM,qCAAqC,CAAC;AAErE,MAAM,OAAO,aAAa;IACb,SAAS,CAAiB;IACnC,YAAY,SAAyB;QACjC,IAAI,CAAC,SAAS,GAAG,SAAS,CAAC;IAC/B,CAAC;IACD,eAAe;QACX,MAAM,KAAK,GAAkB,IAAI,CAAC;QAClC,OAAO,8BAA8B,CAAC,KAAK,CAAC,CAAC;IACjD,CAAC;IACD,kBAAkB,CAAC,KAA+B;QAC9C,MAAM,KAAK,GAAkB,IAAI,CAAC;QAClC,OAAO,0CAA0C,CAAC,KAAK,EAAE,KAAK,CAAC,CAAC;IACpE,CAAC;IACD,kBAAkB,CAAC,KAA+B;QAC9C,MAAM,KAAK,GAAkB,IAAI,CAAC;QAClC,OAAO,0CAA0C,CAAC,KAAK,EAAE,KAAK,CAAC,CAAC;IACpE,CAAC;IACD,kBAAkB;QACd,MAAM,KAAK,GAAkB,IAAI,CAAC;QAClC,OAAO,iCAAiC,CAAC,KAAK,CAAC,CAAC;IACpD,CAAC;CACJ;AAED,MAAM,UAAU,yBAAyB;IACrC,OAAO,UAAU,CAAC,6CAA6C,EAAE,SAAS,EAAE,aAAa,CAAC,CAAC;AAC/F,CAAC;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icenseClient.ts";
|
|
3
|
-
import { TypeInfo } from "
|
|
3
|
+
import { TypeInfo } from "@fable-org/fable-library-ts/Reflection.ts";
|
|
4
4
|
export declare class CompanyLicenseClient implements ICompanyLicenseClient {
|
|
5
5
|
readonly transport: IHttpTransport;
|
|
6
6
|
constructor(transport: IHttpTransport);
|
|
@@ -1,15 +1,9 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
exports.CompanyLicenseClient__CreateLicenseAsync_Z721C83C5 = CompanyLicenseClient__CreateLicenseAsync_Z721C83C5;
|
|
8
|
-
const Reflection_ts_1 = require("../../fable_modules/fable-library-ts.5.0.0-rc.1/Reflection.js");
|
|
9
|
-
const UrlHelpers_ts_1 = require("../UrlHelpers.js");
|
|
10
|
-
const Endpoints_ts_1 = require("../Endpoints.js");
|
|
11
|
-
const List_ts_1 = require("../../fable_modules/fable-library-ts.5.0.0-rc.1/List.js");
|
|
12
|
-
class CompanyLicenseClient {
|
|
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, BasePath } from "../Endpoints.js";
|
|
4
|
+
import { empty, ofArray } from "@fable-org/fable-library-ts/List.ts";
|
|
5
|
+
export class CompanyLicenseClient {
|
|
6
|
+
transport;
|
|
13
7
|
constructor(transport) {
|
|
14
8
|
this.transport = transport;
|
|
15
9
|
}
|
|
@@ -22,17 +16,16 @@ class CompanyLicenseClient {
|
|
|
22
16
|
return CompanyLicenseClient__CreateLicenseAsync_Z721C83C5(this$, model);
|
|
23
17
|
}
|
|
24
18
|
}
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
return (0, Reflection_ts_1.class_type)("Fossa.Bridge.Services.Clients.CompanyLicenseClient", undefined, CompanyLicenseClient);
|
|
19
|
+
export function CompanyLicenseClient_$reflection() {
|
|
20
|
+
return class_type("Fossa.Bridge.Services.Clients.CompanyLicenseClient", undefined, CompanyLicenseClient);
|
|
28
21
|
}
|
|
29
|
-
function CompanyLicenseClient_$ctor_Z7C557C0(transport) {
|
|
22
|
+
export function CompanyLicenseClient_$ctor_Z7C557C0(transport) {
|
|
30
23
|
return new CompanyLicenseClient(transport);
|
|
31
24
|
}
|
|
32
|
-
function CompanyLicenseClient__GetLicenseAsync(_) {
|
|
33
|
-
return _.transport.GetAsync(
|
|
25
|
+
export function CompanyLicenseClient__GetLicenseAsync(_) {
|
|
26
|
+
return _.transport.GetAsync(composeRelativeUrl(ofArray([UrlPart_op_Implicit_Z721C83C5(BasePath), UrlPart_op_Implicit_Z721C83C5(CompanyLicense)]), empty()));
|
|
34
27
|
}
|
|
35
|
-
function CompanyLicenseClient__CreateLicenseAsync_Z721C83C5(_, model) {
|
|
36
|
-
return _.transport.PostAsync(
|
|
28
|
+
export function CompanyLicenseClient__CreateLicenseAsync_Z721C83C5(_, model) {
|
|
29
|
+
return _.transport.PostAsync(composeRelativeUrl(ofArray([UrlPart_op_Implicit_Z721C83C5(BasePath), UrlPart_op_Implicit_Z721C83C5(CompanyLicense)]), empty()), model);
|
|
37
30
|
}
|
|
38
31
|
//# sourceMappingURL=CompanyLicenseClient.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CompanyLicenseClient.js","sourceRoot":"","sources":["../../../fable_output/Services/Clients/CompanyLicenseClient.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"CompanyLicenseClient.js","sourceRoot":"","sources":["../../../fable_output/Services/Clients/CompanyLicenseClient.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,UAAU,EAAY,MAAM,2CAA2C,CAAC;AACjF,OAAO,EAAW,6BAA6B,EAAE,kBAAkB,EAAE,MAAM,kBAAkB,CAAC;AAC9F,OAAO,EAAE,cAAc,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3D,OAAO,E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
|
import { IHttpTransport } from "../IHttpTransport.ts";
|
|
3
3
|
import { ICompanySettingsClient } from "./ICompanySettingsClient.ts";
|
|
4
|
-
import { TypeInfo } from "
|
|
4
|
+
import { TypeInfo } from "@fable-org/fable-library-ts/Reflection.ts";
|
|
5
5
|
export declare class CompanySettingsClient implements ICompanySettingsClient {
|
|
6
6
|
readonly transport: IHttpTransport;
|
|
7
7
|
constructor(transport: IHttpTransport);
|
|
@@ -1,17 +1,9 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
exports.CompanySettingsClient__CreateCompanySettingsAsync_Z5EAF18E7 = CompanySettingsClient__CreateCompanySettingsAsync_Z5EAF18E7;
|
|
8
|
-
exports.CompanySettingsClient__UpdateCompanySettingsAsync_Z5EAF18E7 = CompanySettingsClient__UpdateCompanySettingsAsync_Z5EAF18E7;
|
|
9
|
-
exports.CompanySettingsClient__DeleteCompanySettingsAsync = CompanySettingsClient__DeleteCompanySettingsAsync;
|
|
10
|
-
const Reflection_ts_1 = require("../../fable_modules/fable-library-ts.5.0.0-rc.1/Reflection.js");
|
|
11
|
-
const UrlHelpers_ts_1 = require("../UrlHelpers.js");
|
|
12
|
-
const Endpoints_ts_1 = require("../Endpoints.js");
|
|
13
|
-
const List_ts_1 = require("../../fable_modules/fable-library-ts.5.0.0-rc.1/List.js");
|
|
14
|
-
class CompanySettingsClient {
|
|
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, BasePath } from "../Endpoints.js";
|
|
4
|
+
import { empty, ofArray } from "@fable-org/fable-library-ts/List.ts";
|
|
5
|
+
export class CompanySettingsClient {
|
|
6
|
+
transport;
|
|
15
7
|
constructor(transport) {
|
|
16
8
|
this.transport = transport;
|
|
17
9
|
}
|
|
@@ -32,23 +24,22 @@ class CompanySettingsClient {
|
|
|
32
24
|
return CompanySettingsClient__DeleteCompanySettingsAsync(this$);
|
|
33
25
|
}
|
|
34
26
|
}
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
return (0, Reflection_ts_1.class_type)("Fossa.Bridge.Services.Clients.CompanySettingsClient", undefined, CompanySettingsClient);
|
|
27
|
+
export function CompanySettingsClient_$reflection() {
|
|
28
|
+
return class_type("Fossa.Bridge.Services.Clients.CompanySettingsClient", undefined, CompanySettingsClient);
|
|
38
29
|
}
|
|
39
|
-
function CompanySettingsClient_$ctor_Z7C557C0(transport) {
|
|
30
|
+
export function CompanySettingsClient_$ctor_Z7C557C0(transport) {
|
|
40
31
|
return new CompanySettingsClient(transport);
|
|
41
32
|
}
|
|
42
|
-
function CompanySettingsClient__GetCompanySettingsAsync(_) {
|
|
43
|
-
return _.transport.GetAsync(
|
|
33
|
+
export function CompanySettingsClient__GetCompanySettingsAsync(_) {
|
|
34
|
+
return _.transport.GetAsync(composeRelativeUrl(ofArray([UrlPart_op_Implicit_Z721C83C5(BasePath), UrlPart_op_Implicit_Z721C83C5(CompanySettings)]), empty()));
|
|
44
35
|
}
|
|
45
|
-
function CompanySettingsClient__CreateCompanySettingsAsync_Z5EAF18E7(_, model) {
|
|
46
|
-
return _.transport.PostAsync(
|
|
36
|
+
export function CompanySettingsClient__CreateCompanySettingsAsync_Z5EAF18E7(_, model) {
|
|
37
|
+
return _.transport.PostAsync(composeRelativeUrl(ofArray([UrlPart_op_Implicit_Z721C83C5(BasePath), UrlPart_op_Implicit_Z721C83C5(CompanySettings)]), empty()), model);
|
|
47
38
|
}
|
|
48
|
-
function CompanySettingsClient__UpdateCompanySettingsAsync_Z5EAF18E7(_, model) {
|
|
49
|
-
return _.transport.PutAsync(
|
|
39
|
+
export function CompanySettingsClient__UpdateCompanySettingsAsync_Z5EAF18E7(_, model) {
|
|
40
|
+
return _.transport.PutAsync(composeRelativeUrl(ofArray([UrlPart_op_Implicit_Z721C83C5(BasePath), UrlPart_op_Implicit_Z721C83C5(CompanySettings)]), empty()), model);
|
|
50
41
|
}
|
|
51
|
-
function CompanySettingsClient__DeleteCompanySettingsAsync(_) {
|
|
52
|
-
return _.transport.DeleteAsync(
|
|
42
|
+
export function CompanySettingsClient__DeleteCompanySettingsAsync(_) {
|
|
43
|
+
return _.transport.DeleteAsync(composeRelativeUrl(ofArray([UrlPart_op_Implicit_Z721C83C5(BasePath), UrlPart_op_Implicit_Z721C83C5(CompanySettings)]), empty()));
|
|
53
44
|
}
|
|
54
45
|
//# sourceMappingURL=CompanySettingsClient.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CompanySettingsClient.js","sourceRoot":"","sources":["../../../fable_output/Services/Clients/CompanySettingsClient.ts"],"names":[],"mappings":"
|
|
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,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC5D,OAAO,EAAE,KAAK,EAAE,OAAO,EAAE,MAAM,qCAAqC,CAAC;AAErE,MAAM,OAAO,qBAAqB;IACrB,SAAS,CAAiB;IACnC,YAAY,SAAyB;QACjC,IAAI,CAAC,SAAS,GAAG,SAAS,CAAC;IAC/B,CAAC;IACD,uBAAuB;QACnB,MAAM,KAAK,GAA0B,IAAI,CAAC;QAC1C,OAAO,8CAA8C,CAAC,KAAK,CAAC,CAAC;IACjE,CAAC;IACD,0BAA0B,CAAC,KAAuC;QAC9D,MAAM,KAAK,GAA0B,IAAI,CAAC;QAC1C,OAAO,2DAA2D,CAAC,KAAK,EAAE,KAAK,CAAC,CAAC;IACrF,CAAC;IACD,0BAA0B,CAAC,KAAuC;Q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iDAAiD,CAAC,CAAwB;IACtF,OAAO,CAAC,CAAC,SAAS,CAAC,WAAW,CAAC,kBAAkB,CAAC,OAAO,CAAC,CAAC,6BAA6B,CAAC,QAAQ,CAAC,EAAE,6BAA6B,CAAC,eAAe,CAAC,CAAC,CAAC,EAAE,KAAK,EAAqB,CAAC,CAAC,CAAC;AACvL,CAAC"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { DepartmentModificationModel, DepartmentQueryRequestModel } from "../../Models/ApiModels/PayloadModels.ts";
|
|
2
|
-
import { int64 } from "
|
|
2
|
+
import { int64 } from "@fable-org/fable-library-ts/BigInt.ts";
|
|
3
3
|
import { IHttpTransport } from "../IHttpTransport.ts";
|
|
4
4
|
import { IDepartmentClient } from "./IDepartmentClient.ts";
|
|
5
|
-
import { TypeInfo } from "
|
|
5
|
+
import { TypeInfo } from "@fable-org/fable-library-ts/Reflection.ts";
|
|
6
6
|
export declare class DepartmentClient implements IDepartmentClient {
|
|
7
7
|
readonly transport: IHttpTransport;
|
|
8
8
|
constructor(transport: IHttpTransport);
|