@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.
Files changed (63) hide show
  1. package/dist/Models/ApiModels/EnvelopeModels.d.ts +21 -0
  2. package/dist/Models/ApiModels/EnvelopeModels.js +34 -0
  3. package/dist/Models/ApiModels/EnvelopeModels.js.map +1 -0
  4. package/dist/Models/{ApiModels.d.ts → ApiModels/PayloadModels.d.ts} +12 -64
  5. package/dist/Models/ApiModels/PayloadModels.js +256 -0
  6. package/dist/Models/ApiModels/PayloadModels.js.map +1 -0
  7. package/dist/Models/ApiModels/SharedModels.d.ts +41 -0
  8. package/dist/Models/ApiModels/SharedModels.js +74 -0
  9. package/dist/Models/ApiModels/SharedModels.js.map +1 -0
  10. package/dist/Services/Clients/BranchClient.d.ts +13 -7
  11. package/dist/Services/Clients/BranchClient.js +42 -31
  12. package/dist/Services/Clients/BranchClient.js.map +1 -1
  13. package/dist/Services/Clients/CompanyClient.d.ts +9 -4
  14. package/dist/Services/Clients/CompanyClient.js +26 -8
  15. package/dist/Services/Clients/CompanyClient.js.map +1 -1
  16. package/dist/Services/Clients/CompanyLicenseClient.d.ts +4 -1
  17. package/dist/Services/Clients/CompanyLicenseClient.js +12 -2
  18. package/dist/Services/Clients/CompanyLicenseClient.js.map +1 -1
  19. package/dist/Services/Clients/CompanySettingsClient.d.ts +9 -4
  20. package/dist/Services/Clients/CompanySettingsClient.js +26 -8
  21. package/dist/Services/Clients/CompanySettingsClient.js.map +1 -1
  22. package/dist/Services/Clients/DepartmentClient.d.ts +13 -7
  23. package/dist/Services/Clients/DepartmentClient.js +42 -31
  24. package/dist/Services/Clients/DepartmentClient.js.map +1 -1
  25. package/dist/Services/Clients/EmployeeClient.d.ts +16 -9
  26. package/dist/Services/Clients/EmployeeClient.js +53 -53
  27. package/dist/Services/Clients/EmployeeClient.js.map +1 -1
  28. package/dist/Services/Clients/IBranchClient.d.ts +9 -0
  29. package/dist/Services/Clients/IBranchClient.js +3 -0
  30. package/dist/Services/Clients/IBranchClient.js.map +1 -0
  31. package/dist/Services/Clients/ICompanyClient.d.ts +7 -0
  32. package/dist/Services/Clients/ICompanyClient.js +3 -0
  33. package/dist/Services/Clients/ICompanyClient.js.map +1 -0
  34. package/dist/Services/Clients/ICompanyLicenseClient.d.ts +4 -0
  35. package/dist/Services/Clients/ICompanyLicenseClient.js +3 -0
  36. package/dist/Services/Clients/ICompanyLicenseClient.js.map +1 -0
  37. package/dist/Services/Clients/ICompanySettingsClient.d.ts +7 -0
  38. package/dist/Services/Clients/ICompanySettingsClient.js +3 -0
  39. package/dist/Services/Clients/ICompanySettingsClient.js.map +1 -0
  40. package/dist/Services/Clients/IDepartmentClient.d.ts +9 -0
  41. package/dist/Services/Clients/IDepartmentClient.js +3 -0
  42. package/dist/Services/Clients/IDepartmentClient.js.map +1 -0
  43. package/dist/Services/Clients/IEmployeeClient.d.ts +10 -0
  44. package/dist/Services/Clients/IEmployeeClient.js +3 -0
  45. package/dist/Services/Clients/IEmployeeClient.js.map +1 -0
  46. package/dist/Services/Clients/IIdentityClient.d.ts +3 -0
  47. package/dist/Services/Clients/IIdentityClient.js +3 -0
  48. package/dist/Services/Clients/IIdentityClient.js.map +1 -0
  49. package/dist/Services/Clients/ISystemLicenseClient.d.ts +3 -0
  50. package/dist/Services/Clients/ISystemLicenseClient.js +3 -0
  51. package/dist/Services/Clients/ISystemLicenseClient.js.map +1 -0
  52. package/dist/Services/Clients/IdentityClient.d.ts +3 -1
  53. package/dist/Services/Clients/IdentityClient.js +7 -2
  54. package/dist/Services/Clients/IdentityClient.js.map +1 -1
  55. package/dist/Services/Clients/SystemLicenseClient.d.ts +3 -1
  56. package/dist/Services/Clients/SystemLicenseClient.js +7 -1
  57. package/dist/Services/Clients/SystemLicenseClient.js.map +1 -1
  58. package/dist/Services/UrlHelpers.d.ts +24 -0
  59. package/dist/Services/UrlHelpers.js +84 -0
  60. package/dist/Services/UrlHelpers.js.map +1 -1
  61. package/package.json +1 -1
  62. package/dist/Models/ApiModels.js +0 -350
  63. package/dist/Models/ApiModels.js.map +0 -1
@@ -3,25 +3,50 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.EmployeeClient = void 0;
4
4
  exports.EmployeeClient_$reflection = EmployeeClient_$reflection;
5
5
  exports.EmployeeClient_$ctor_Z7C557C0 = EmployeeClient_$ctor_Z7C557C0;
6
- exports.EmployeeClient__GetEmployeesAsync_Z5C7407CA = EmployeeClient__GetEmployeesAsync_Z5C7407CA;
7
- exports.EmployeeClient__GetEmployeesPagingAsync_Z58F6F376 = EmployeeClient__GetEmployeesPagingAsync_Z58F6F376;
6
+ exports.EmployeeClient__GetEmployeesAsync_Z134B9264 = EmployeeClient__GetEmployeesAsync_Z134B9264;
7
+ exports.EmployeeClient__GetEmployeesPagingAsync_5E920BE0 = EmployeeClient__GetEmployeesPagingAsync_5E920BE0;
8
8
  exports.EmployeeClient__GetEmployeeAsync_Z524259C1 = EmployeeClient__GetEmployeeAsync_Z524259C1;
9
- exports.EmployeeClient__CreateEmployeeAsync_38598DD3 = EmployeeClient__CreateEmployeeAsync_38598DD3;
10
- exports.EmployeeClient__UpdateEmployeeAsync_5D2BE3CC = EmployeeClient__UpdateEmployeeAsync_5D2BE3CC;
9
+ exports.EmployeeClient__CreateEmployeeAsync_5CDBA079 = EmployeeClient__CreateEmployeeAsync_5CDBA079;
10
+ exports.EmployeeClient__UpdateEmployeeAsync_39A9CE66 = EmployeeClient__UpdateEmployeeAsync_39A9CE66;
11
11
  exports.EmployeeClient__DeleteEmployeeAsync_Z524259C1 = EmployeeClient__DeleteEmployeeAsync_Z524259C1;
12
- exports.EmployeeClient__buildUrl_Z5C7407CA = EmployeeClient__buildUrl_Z5C7407CA;
13
- exports.EmployeeClient__buildPagingUrl_Z58F6F376 = EmployeeClient__buildPagingUrl_Z58F6F376;
12
+ exports.EmployeeClient__buildUrl_Z134B9264 = EmployeeClient__buildUrl_Z134B9264;
13
+ exports.EmployeeClient__buildPagingUrl_5E920BE0 = EmployeeClient__buildPagingUrl_5E920BE0;
14
14
  const Reflection_ts_1 = require("../../fable_modules/fable-library-ts.5.0.0-rc.1/Reflection.js");
15
+ const UrlHelpers_ts_1 = require("../UrlHelpers.js");
15
16
  const Endpoints_ts_1 = require("../Endpoints.js");
16
- const CollectionUtil_ts_1 = require("../../fable_modules/fable-library-ts.5.0.0-rc.1/CollectionUtil.js");
17
- const String_ts_1 = require("../../fable_modules/fable-library-ts.5.0.0-rc.1/String.js");
17
+ const List_ts_1 = require("../../fable_modules/fable-library-ts.5.0.0-rc.1/List.js");
18
18
  const Seq_ts_1 = require("../../fable_modules/fable-library-ts.5.0.0-rc.1/Seq.js");
19
- const Util_ts_1 = require("../../fable_modules/fable-library-ts.5.0.0-rc.1/Util.js");
20
19
  const Option_ts_1 = require("../../fable_modules/fable-library-ts.5.0.0-rc.1/Option.js");
20
+ const CollectionUtil_ts_1 = require("../../fable_modules/fable-library-ts.5.0.0-rc.1/CollectionUtil.js");
21
+ const String_ts_1 = require("../../fable_modules/fable-library-ts.5.0.0-rc.1/String.js");
21
22
  class EmployeeClient {
22
23
  constructor(transport) {
23
24
  this.transport = transport;
24
25
  }
26
+ GetEmployeesAsync(query) {
27
+ const this$ = this;
28
+ return EmployeeClient__GetEmployeesAsync_Z134B9264(this$, query);
29
+ }
30
+ GetEmployeesPagingAsync(query) {
31
+ const this$ = this;
32
+ return EmployeeClient__GetEmployeesPagingAsync_5E920BE0(this$, query);
33
+ }
34
+ GetEmployeeAsync(id) {
35
+ const this$ = this;
36
+ return EmployeeClient__GetEmployeeAsync_Z524259C1(this$, id);
37
+ }
38
+ CreateEmployeeAsync(model) {
39
+ const this$ = this;
40
+ return EmployeeClient__CreateEmployeeAsync_5CDBA079(this$, model);
41
+ }
42
+ UpdateEmployeeAsync(id, model) {
43
+ const this$ = this;
44
+ return EmployeeClient__UpdateEmployeeAsync_39A9CE66(this$, id, model);
45
+ }
46
+ DeleteEmployeeAsync(id) {
47
+ const this$ = this;
48
+ return EmployeeClient__DeleteEmployeeAsync_Z524259C1(this$, id);
49
+ }
25
50
  }
26
51
  exports.EmployeeClient = EmployeeClient;
27
52
  function EmployeeClient_$reflection() {
@@ -30,58 +55,33 @@ function EmployeeClient_$reflection() {
30
55
  function EmployeeClient_$ctor_Z7C557C0(transport) {
31
56
  return new EmployeeClient(transport);
32
57
  }
33
- function EmployeeClient__GetEmployeesAsync_Z5C7407CA(_, query) {
34
- return _.transport.GetAsync(EmployeeClient__buildUrl_Z5C7407CA(_, query));
58
+ function EmployeeClient__GetEmployeesAsync_Z134B9264(_, query) {
59
+ return _.transport.GetAsync(EmployeeClient__buildUrl_Z134B9264(_, query));
35
60
  }
36
- function EmployeeClient__GetEmployeesPagingAsync_Z58F6F376(_, query) {
37
- return _.transport.GetAsync(EmployeeClient__buildPagingUrl_Z58F6F376(_, query));
61
+ function EmployeeClient__GetEmployeesPagingAsync_5E920BE0(_, query) {
62
+ return _.transport.GetAsync(EmployeeClient__buildPagingUrl_5E920BE0(_, query));
38
63
  }
39
64
  function EmployeeClient__GetEmployeeAsync_Z524259C1(_, id) {
40
- return _.transport.GetAsync(((Endpoints_ts_1.BasePath + "/") + Endpoints_ts_1.Employee) + (`/${id}`));
65
+ return _.transport.GetAsync((0, UrlHelpers_ts_1.composeRelativeUrl)((0, List_ts_1.ofArray)([(0, UrlHelpers_ts_1.UrlPart_op_Implicit_Z721C83C5)(Endpoints_ts_1.BasePath), (0, UrlHelpers_ts_1.UrlPart_op_Implicit_Z721C83C5)(Endpoints_ts_1.Employee), (0, UrlHelpers_ts_1.UrlPart_op_Implicit_Z524259C1)(id)]), (0, List_ts_1.empty)()));
41
66
  }
42
- function EmployeeClient__CreateEmployeeAsync_38598DD3(_, model) {
43
- return _.transport.PostAsync((Endpoints_ts_1.BasePath + "/") + Endpoints_ts_1.Employee, model);
67
+ function EmployeeClient__CreateEmployeeAsync_5CDBA079(_, model) {
68
+ return _.transport.PostAsync((0, UrlHelpers_ts_1.composeRelativeUrl)((0, List_ts_1.ofArray)([(0, UrlHelpers_ts_1.UrlPart_op_Implicit_Z721C83C5)(Endpoints_ts_1.BasePath), (0, UrlHelpers_ts_1.UrlPart_op_Implicit_Z721C83C5)(Endpoints_ts_1.Employee)]), (0, List_ts_1.empty)()), model);
44
69
  }
45
- function EmployeeClient__UpdateEmployeeAsync_5D2BE3CC(_, id, model) {
46
- return _.transport.PutAsync(((Endpoints_ts_1.BasePath + "/") + Endpoints_ts_1.Employee) + (`/${id}`), model);
70
+ function EmployeeClient__UpdateEmployeeAsync_39A9CE66(_, id, model) {
71
+ return _.transport.PutAsync((0, UrlHelpers_ts_1.composeRelativeUrl)((0, List_ts_1.ofArray)([(0, UrlHelpers_ts_1.UrlPart_op_Implicit_Z721C83C5)(Endpoints_ts_1.BasePath), (0, UrlHelpers_ts_1.UrlPart_op_Implicit_Z721C83C5)(Endpoints_ts_1.Employee), (0, UrlHelpers_ts_1.UrlPart_op_Implicit_Z524259C1)(id)]), (0, List_ts_1.empty)()), model);
47
72
  }
48
73
  function EmployeeClient__DeleteEmployeeAsync_Z524259C1(_, id) {
49
- return _.transport.DeleteAsync(((Endpoints_ts_1.BasePath + "/") + Endpoints_ts_1.Employee) + (`/${id}`));
74
+ return _.transport.DeleteAsync((0, UrlHelpers_ts_1.composeRelativeUrl)((0, List_ts_1.ofArray)([(0, UrlHelpers_ts_1.UrlPart_op_Implicit_Z721C83C5)(Endpoints_ts_1.BasePath), (0, UrlHelpers_ts_1.UrlPart_op_Implicit_Z721C83C5)(Endpoints_ts_1.Employee), (0, UrlHelpers_ts_1.UrlPart_op_Implicit_Z524259C1)(id)]), (0, List_ts_1.empty)()));
50
75
  }
51
- function EmployeeClient__buildUrl_Z5C7407CA(this$, queryParams) {
52
- let url = ((Endpoints_ts_1.BasePath + "/") + Endpoints_ts_1.Employees) + "?";
53
- if ((0, CollectionUtil_ts_1.count)(queryParams.Id) > 0) {
54
- const ids = (0, String_ts_1.join)("&", (0, Seq_ts_1.map)((id) => (`Id=${id}`), queryParams.Id));
55
- url = ((url + ids) + "&");
56
- }
57
- if (!(0, String_ts_1.isNullOrEmpty)(queryParams.Search)) {
58
- url = (url + (0, String_ts_1.concat)("Search=", (0, Util_ts_1.escapeDataString)(queryParams.Search), ..."&"));
59
- }
60
- if (queryParams.PageNumber != null) {
61
- url = (url + (`PageNumber=${(0, Option_ts_1.nonNullValue)(queryParams.PageNumber)}&`));
62
- }
63
- if (queryParams.PageSize != null) {
64
- url = (url + (`PageSize=${(0, Option_ts_1.nonNullValue)(queryParams.PageSize)}&`));
65
- }
66
- if (queryParams.ReportsToId != null) {
67
- url = (url + (`ReportsToId=${(0, Option_ts_1.nonNullValue)(queryParams.ReportsToId)}&`));
68
- }
69
- if (queryParams.TopLevelOnly != null) {
70
- url = (url + (`TopLevelOnly=${(0, Option_ts_1.nonNullValue)(queryParams.TopLevelOnly)}&`));
71
- }
72
- return (0, String_ts_1.trimEnd)(url, "&");
76
+ function EmployeeClient__buildUrl_Z134B9264(this$, queryParams) {
77
+ const parameters = (0, Seq_ts_1.toList)((0, Seq_ts_1.delay)(() => {
78
+ let matchValue = undefined, ids_1 = undefined;
79
+ return (0, Seq_ts_1.append)((matchValue = (0, Option_ts_1.ofNullable)(queryParams.Id), (matchValue != null) ? (((0, CollectionUtil_ts_1.count)((0, Option_ts_1.value)(matchValue)) > 0) ? ((ids_1 = (0, Option_ts_1.value)(matchValue), (0, Seq_ts_1.map)((id) => ["Id", (0, UrlHelpers_ts_1.UrlPart_op_Implicit_Z524259C1)(id)], ids_1))) : ((0, Seq_ts_1.empty)())) : ((0, Seq_ts_1.empty)())), (0, Seq_ts_1.delay)(() => (0, Seq_ts_1.append)(!(0, String_ts_1.isNullOrEmpty)(queryParams.Search) ? (0, Seq_ts_1.singleton)(["Search", (0, UrlHelpers_ts_1.UrlPart_op_Implicit_Z721C83C5)(queryParams.Search)]) : (0, Seq_ts_1.empty)(), (0, Seq_ts_1.delay)(() => (0, Seq_ts_1.append)((queryParams.PageNumber != null) ? (0, Seq_ts_1.singleton)(["PageNumber", (0, UrlHelpers_ts_1.UrlPart_op_Implicit_Z524259A4)((0, Option_ts_1.nonNullValue)(queryParams.PageNumber))]) : (0, Seq_ts_1.empty)(), (0, Seq_ts_1.delay)(() => (0, Seq_ts_1.append)((queryParams.PageSize != null) ? (0, Seq_ts_1.singleton)(["PageSize", (0, UrlHelpers_ts_1.UrlPart_op_Implicit_Z524259A4)((0, Option_ts_1.nonNullValue)(queryParams.PageSize))]) : (0, Seq_ts_1.empty)(), (0, Seq_ts_1.delay)(() => (0, Seq_ts_1.append)((queryParams.ReportsToId != null) ? (0, Seq_ts_1.singleton)(["ReportsToId", (0, UrlHelpers_ts_1.UrlPart_op_Implicit_Z524259C1)((0, Option_ts_1.nonNullValue)(queryParams.ReportsToId))]) : (0, Seq_ts_1.empty)(), (0, Seq_ts_1.delay)(() => ((queryParams.TopLevelOnly != null) ? (0, Seq_ts_1.singleton)(["TopLevelOnly", (0, UrlHelpers_ts_1.UrlPart_op_Implicit_Z1FBCCD16)((0, Option_ts_1.nonNullValue)(queryParams.TopLevelOnly))]) : (0, Seq_ts_1.empty)())))))))))));
80
+ }));
81
+ return (0, UrlHelpers_ts_1.composeRelativeUrl)((0, List_ts_1.ofArray)([(0, UrlHelpers_ts_1.UrlPart_op_Implicit_Z721C83C5)(Endpoints_ts_1.BasePath), (0, UrlHelpers_ts_1.UrlPart_op_Implicit_Z721C83C5)(Endpoints_ts_1.Employees)]), parameters);
73
82
  }
74
- function EmployeeClient__buildPagingUrl_Z58F6F376(this$, queryParams) {
75
- let url = ((Endpoints_ts_1.BasePath + "/") + Endpoints_ts_1.Employees) + "?";
76
- if (!(0, String_ts_1.isNullOrEmpty)(queryParams.Search)) {
77
- url = (url + (0, String_ts_1.concat)("Search=", (0, Util_ts_1.escapeDataString)(queryParams.Search), ..."&"));
78
- }
79
- if (queryParams.PageNumber != null) {
80
- url = (url + (`PageNumber=${(0, Option_ts_1.nonNullValue)(queryParams.PageNumber)}&`));
81
- }
82
- if (queryParams.PageSize != null) {
83
- url = (url + (`PageSize=${(0, Option_ts_1.nonNullValue)(queryParams.PageSize)}&`));
84
- }
85
- return (0, String_ts_1.trimEnd)(url, "&");
83
+ function EmployeeClient__buildPagingUrl_5E920BE0(this$, queryParams) {
84
+ const parameters = (0, Seq_ts_1.toList)((0, Seq_ts_1.delay)(() => (0, Seq_ts_1.append)(!(0, String_ts_1.isNullOrEmpty)(queryParams.Search) ? (0, Seq_ts_1.singleton)(["Search", (0, UrlHelpers_ts_1.UrlPart_op_Implicit_Z721C83C5)(queryParams.Search)]) : (0, Seq_ts_1.empty)(), (0, Seq_ts_1.delay)(() => (0, Seq_ts_1.append)((queryParams.PageNumber != null) ? (0, Seq_ts_1.singleton)(["PageNumber", (0, UrlHelpers_ts_1.UrlPart_op_Implicit_Z524259A4)((0, Option_ts_1.nonNullValue)(queryParams.PageNumber))]) : (0, Seq_ts_1.empty)(), (0, Seq_ts_1.delay)(() => ((queryParams.PageSize != null) ? (0, Seq_ts_1.singleton)(["PageSize", (0, UrlHelpers_ts_1.UrlPart_op_Implicit_Z524259A4)((0, Option_ts_1.nonNullValue)(queryParams.PageSize))]) : (0, Seq_ts_1.empty)())))))));
85
+ return (0, UrlHelpers_ts_1.composeRelativeUrl)((0, List_ts_1.ofArray)([(0, UrlHelpers_ts_1.UrlPart_op_Implicit_Z721C83C5)(Endpoints_ts_1.BasePath), (0, UrlHelpers_ts_1.UrlPart_op_Implicit_Z721C83C5)(Endpoints_ts_1.Employees)]), parameters);
86
86
  }
87
87
  //# sourceMappingURL=EmployeeClient.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"EmployeeClient.js","sourceRoot":"","sources":["../../../fable_output/Services/Clients/EmployeeClient.ts"],"names":[],"mappings":";;;AAmBA,gEAEC;AAED,sEAEC;AAED,kGAEC;AAED,8GAEC;AAED,gGAEC;AAED,oGAEC;AAED,oGAEC;AAED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C,CAAC,CAAC;IAC1E,CAAC;IACD,IAAI,WAAW,CAAC,QAAQ,IAAI,IAAI,EAAE,CAAC;QAC/B,GAAG,GAAG,CAAC,GAAG,GAAG,CAAC,YAAY,IAAA,wBAAY,EAAC,WAAW,CAAC,QAAQ,CAAC,GAAG,CAAC,CAAC,CAAC;IACtE,CAAC;IACD,OAAO,IAAA,mBAAO,EAAC,GAAG,EAAE,GAAG,CAAC,CAAC;AAC7B,CAAC"}
1
+ {"version":3,"file":"EmployeeClient.js","sourceRoot":"","sources":["../../../fable_output/Services/Clients/EmployeeClient.ts"],"names":[],"mappings":";;;AA8CA,gEAEC;AAED,sEAEC;AAED,kGAEC;AAED,4GAEC;AAED,gGAEC;AAED,oGAEC;AAED,oGAEC;AAED,sGAEC;AAED,gFAMC;AAED,0FAGC;AApFD,iGAAqG;AAErG,oDAA2L;AAC3L,kDAAgE;AAChE,qFAAqG;AACrG,mFAAiI;AACjI,yFAAoH;AACpH,yGAA0F;AAC1F,yFAA0F;AAE1F,MAAa,cAAc;IAEvB,YAAY,SAAyB;QACjC,IAAI,CAAC,SAAS,GAAG,SAAS,CAAC;IAC/B,CAAC;IACD,iBAAiB,CAAC,KAAgC;QAC9C,MAAM,KAAK,GAAmB,IAAI,CAAC;QACnC,OAAO,2CAA2C,CAAC,KAAK,EAAE,KAAK,CAAC,CAAC;IACrE,CAAC;IACD,uBAAuB,CAAC,KAAiC;QACrD,MAAM,KAAK,GAAmB,IAAI,CAAC;QACnC,OAAO,gDAAgD,CAAC,KAAK,EAAE,KAAK,CAAC,CAAC;IAC1E,CAAC;IACD,gBAAgB,CAAC,EAAS;QACtB,MAAM,KAAK,GAAmB,IAAI,CAAC;QACnC,OAAO,0CAA0C,CAAC,KAAK,EAAE,EAAE,CAAC,CAAC;IACjE,CAAC;IACD,mBAAmB,CAAC,KAAgC;QAChD,MAAM,KAAK,GAAmB,IAAI,CAAC;QACnC,OAAO,4CAA4C,CAAC,KAAK,EAAE,KAAK,CAAC,CAA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A,cAAK,EAAoB,GAAgC,EAAE,CAAC,IAAA,eAAM,EAAoB,CAAC,WAAW,CAAC,UAAU,IAAI,IAAI,CAAC,CAAC,CAAC,CAAC,IAAA,kBAAS,EAAoB,CAAC,YAAY,EAAE,IAAA,6CAA6B,EAAC,IAAA,wBAAY,EAAC,WAAW,CAAC,UAAU,CAAC,CAAC,CAAsB,CAAC,CAAC,CAAC,CAAC,IAAA,cAAO,GAAqB,EAAE,IAAA,cAAK,EAAoB,GAAgC,EAAE,CAAC,CAAC,CAAC,WAAW,CAAC,QAAQ,IAAI,IAAI,CAAC,CAAC,CAAC,CAAC,IAAA,kBAAS,EAAoB,CAAC,UAAU,EAAE,IAAA,6CAA6B,EAAC,IAAA,wBAAY,EAAC,WAAW,CAAC,QAAQ,CAAC,CAAC,CAAsB,CAAC,CAAC,CAAC,CAAC,IAAA,cAAO,GAAqB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;IAC/3B,OAAO,IAAA,kCAAkB,EAAC,IAAA,iBAAO,EAAC,CAAC,IAAA,6CAA6B,EAAC,uBAAQ,CAAC,EAAE,IAAA,6CAA6B,EAAC,wBAAS,CAAC,CAAC,CAAC,EAAE,UAAU,CAAC,CAAC;AACxI,CAAC"}
@@ -0,0 +1,9 @@
1
+ import { BranchQueryRequestModel, BranchModificationModel } from "../../Models/ApiModels/PayloadModels.ts";
2
+ import { int64 } from "../../fable_modules/fable-library-ts.5.0.0-rc.1/BigInt.ts";
3
+ export interface IBranchClient {
4
+ CreateBranchAsync(model: BranchModificationModel): any;
5
+ DeleteBranchAsync(id: int64): any;
6
+ GetBranchAsync(id: int64): any;
7
+ GetBranchesAsync(query: BranchQueryRequestModel): any;
8
+ UpdateBranchAsync(id: int64, model: BranchModificationModel): any;
9
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=IBranchClient.js.map
@@ -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): any;
4
+ DeleteCompanyAsync(): any;
5
+ GetCompanyAsync(): any;
6
+ UpdateCompanyAsync(model: CompanyModificationModel): any;
7
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=ICompanyClient.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ICompanyClient.js","sourceRoot":"","sources":["../../../fable_output/Services/Clients/ICompanyClient.ts"],"names":[],"mappings":""}
@@ -0,0 +1,4 @@
1
+ export interface ICompanyLicenseClient {
2
+ CreateLicenseAsync(model: string): any;
3
+ GetLicenseAsync(): any;
4
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=ICompanyLicenseClient.js.map
@@ -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): any;
4
+ DeleteCompanySettingsAsync(): any;
5
+ GetCompanySettingsAsync(): any;
6
+ UpdateCompanySettingsAsync(model: CompanySettingsModificationModel): any;
7
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=ICompanySettingsClient.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ICompanySettingsClient.js","sourceRoot":"","sources":["../../../fable_output/Services/Clients/ICompanySettingsClient.ts"],"names":[],"mappings":""}
@@ -0,0 +1,9 @@
1
+ import { DepartmentQueryRequestModel, DepartmentModificationModel } from "../../Models/ApiModels/PayloadModels.ts";
2
+ import { int64 } from "../../fable_modules/fable-library-ts.5.0.0-rc.1/BigInt.ts";
3
+ export interface IDepartmentClient {
4
+ CreateDepartmentAsync(model: DepartmentModificationModel): any;
5
+ DeleteDepartmentAsync(id: int64): any;
6
+ GetDepartmentAsync(id: int64): any;
7
+ GetDepartmentsAsync(query: DepartmentQueryRequestModel): any;
8
+ UpdateDepartmentAsync(id: int64, model: DepartmentModificationModel): any;
9
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=IDepartmentClient.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"IDepartmentClient.js","sourceRoot":"","sources":["../../../fable_output/Services/Clients/IDepartmentClient.ts"],"names":[],"mappings":""}
@@ -0,0 +1,10 @@
1
+ import { EmployeePagingRequestModel, EmployeeQueryRequestModel, EmployeeModificationModel } from "../../Models/ApiModels/PayloadModels.ts";
2
+ import { int64 } from "../../fable_modules/fable-library-ts.5.0.0-rc.1/BigInt.ts";
3
+ export interface IEmployeeClient {
4
+ CreateEmployeeAsync(model: EmployeeModificationModel): any;
5
+ DeleteEmployeeAsync(id: int64): any;
6
+ GetEmployeeAsync(id: int64): any;
7
+ GetEmployeesAsync(query: EmployeeQueryRequestModel): any;
8
+ GetEmployeesPagingAsync(query: EmployeePagingRequestModel): any;
9
+ UpdateEmployeeAsync(id: int64, model: EmployeeModificationModel): any;
10
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=IEmployeeClient.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"IEmployeeClient.js","sourceRoot":"","sources":["../../../fable_output/Services/Clients/IEmployeeClient.ts"],"names":[],"mappings":""}
@@ -0,0 +1,3 @@
1
+ export interface IIdentityClient {
2
+ GetClientAsync(origin: string): any;
3
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=IIdentityClient.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"IIdentityClient.js","sourceRoot":"","sources":["../../../fable_output/Services/Clients/IIdentityClient.ts"],"names":[],"mappings":""}
@@ -0,0 +1,3 @@
1
+ export interface ISystemLicenseClient {
2
+ GetLicenseAsync(): any;
3
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=ISystemLicenseClient.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ISystemLicenseClient.js","sourceRoot":"","sources":["../../../fable_output/Services/Clients/ISystemLicenseClient.ts"],"names":[],"mappings":""}
@@ -1,8 +1,10 @@
1
1
  import { IHttpTransport } from "../IHttpTransport.ts";
2
+ import { IIdentityClient } from "./IIdentityClient.ts";
2
3
  import { TypeInfo } from "../../fable_modules/fable-library-ts.5.0.0-rc.1/Reflection.ts";
3
- export declare class IdentityClient {
4
+ export declare class IdentityClient implements IIdentityClient {
4
5
  readonly transport: IHttpTransport;
5
6
  constructor(transport: IHttpTransport);
7
+ GetClientAsync(origin: string): any;
6
8
  }
7
9
  export declare function IdentityClient_$reflection(): TypeInfo;
8
10
  export declare function IdentityClient_$ctor_Z7C557C0(transport: IHttpTransport): IdentityClient;
@@ -5,12 +5,17 @@ exports.IdentityClient_$reflection = IdentityClient_$reflection;
5
5
  exports.IdentityClient_$ctor_Z7C557C0 = IdentityClient_$ctor_Z7C557C0;
6
6
  exports.IdentityClient__GetClientAsync_Z721C83C5 = IdentityClient__GetClientAsync_Z721C83C5;
7
7
  const Reflection_ts_1 = require("../../fable_modules/fable-library-ts.5.0.0-rc.1/Reflection.js");
8
+ const UrlHelpers_ts_1 = require("../UrlHelpers.js");
8
9
  const Endpoints_ts_1 = require("../Endpoints.js");
9
- const String_ts_1 = require("../../fable_modules/fable-library-ts.5.0.0-rc.1/String.js");
10
+ const List_ts_1 = require("../../fable_modules/fable-library-ts.5.0.0-rc.1/List.js");
10
11
  class IdentityClient {
11
12
  constructor(transport) {
12
13
  this.transport = transport;
13
14
  }
15
+ GetClientAsync(origin) {
16
+ const this$ = this;
17
+ return IdentityClient__GetClientAsync_Z721C83C5(this$, origin);
18
+ }
14
19
  }
15
20
  exports.IdentityClient = IdentityClient;
16
21
  function IdentityClient_$reflection() {
@@ -20,6 +25,6 @@ function IdentityClient_$ctor_Z7C557C0(transport) {
20
25
  return new IdentityClient(transport);
21
26
  }
22
27
  function IdentityClient__GetClientAsync_Z721C83C5(_, origin) {
23
- return _.transport.GetAsync(((Endpoints_ts_1.BasePath + "/") + Endpoints_ts_1.Client) + (0, String_ts_1.concat)("?origin=", ...origin));
28
+ return _.transport.GetAsync((0, UrlHelpers_ts_1.composeRelativeUrl)((0, List_ts_1.ofArray)([(0, UrlHelpers_ts_1.UrlPart_op_Implicit_Z721C83C5)(Endpoints_ts_1.BasePath), (0, UrlHelpers_ts_1.UrlPart_op_Implicit_Z721C83C5)(Endpoints_ts_1.Client)]), (0, List_ts_1.singleton)(["origin", (0, UrlHelpers_ts_1.UrlPart_op_Implicit_Z721C83C5)(origin)])));
24
29
  }
25
30
  //# sourceMappingURL=IdentityClient.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"IdentityClient.js","sourceRoot":"","sources":["../../../fable_output/Services/Clients/IdentityClient.ts"],"names":[],"mappings":";;;AAcA,gEAEC;AAED,sEAEC;AAED,4FAEC;AAtBD,iGAAqG;AACrG,kDAAmD;AACnD,yFAAmF;AAGnF,MAAa,cAAc;IAEvB,YAAY,SAAyB;QACjC,IAAI,CAAC,SAAS,GAAG,SAAS,CAAC;IAC/B,CAAC;CACJ;AALD,wCAKC;AAED,SAAgB,0BAA0B;IACtC,OAAO,IAAA,0BAAU,EAAC,8CAA8C,EAAE,SAAS,EAAE,cAAc,CAAC,CAAC;AACjG,CAAC;AAED,SAAgB,6BAA6B,CAAC,SAAyB;IACnE,OAAO,IAAI,cAAc,CAAC,SAAS,CAAC,CAAC;AACzC,CAAC;AAED,SAAgB,wCAAwC,CAAC,CAAiB,EAAE,MAAc;IACtF,OAAO,CAAC,CAAC,SAAS,CAAC,QAAQ,CAA+B,CAAC,CAAC,uBAAQ,GAAG,GAAG,CAAC,GAAG,qBAAM,CAAC,GAAG,IAAA,kBAAM,EAAC,UAAU,EAAE,GAAG,MAAM,CAAC,CAAC,CAAC;AAC3H,CAAC"}
1
+ {"version":3,"file":"IdentityClient.js","sourceRoot":"","sources":["../../../fable_output/Services/Clients/IdentityClient.ts"],"names":[],"mappings":";;;AAoBA,gEAEC;AAED,sEAEC;AAED,4FAEC;AA3BD,iGAAqG;AACrG,oDAA8F;AAC9F,kDAAmD;AACnD,qFAA6F;AAG7F,MAAa,cAAc;IAEvB,YAAY,SAAyB;QACjC,IAAI,CAAC,SAAS,GAAG,SAAS,CAAC;IAC/B,CAAC;IACD,cAAc,CAAC,MAAc;QACzB,MAAM,KAAK,GAAmB,IAAI,CAAC;QACnC,OAAO,wCAAwC,CAAC,KAAK,EAAE,MAAM,CAAC,CAAC;IACnE,CAAC;CACJ;AATD,wCASC;AAED,SAAgB,0BAA0B;IACtC,OAAO,IAAA,0BAAU,EAAC,8CAA8C,EAAE,SAAS,EAAE,cAAc,CAAC,CAAC;AACjG,CAAC;AAED,SAAgB,6BAA6B,CAAC,SAAyB;IACnE,OAAO,IAAI,cAAc,CAAC,SAAS,CAAC,CAAC;AACzC,CAAC;AAED,SAAgB,wCAAwC,CAAC,CAAiB,EAAE,MAAc;IACtF,OAAO,CAAC,CAAC,SAAS,CAAC,QAAQ,CAA+B,IAAA,kCAAkB,EAAC,IAAA,iBAAO,EAAC,CAAC,IAAA,6CAA6B,EAAC,uBAAQ,CAAC,EAAE,IAAA,6CAA6B,EAAC,qBAAM,CAAC,CAAC,CAAC,EAAE,IAAA,mBAAS,EAAC,CAAC,QAAQ,EAAE,IAAA,6CAA6B,EAAC,MAAM,CAAC,CAAsB,CAAC,CAAC,CAAC,CAAC;AAChQ,CAAC"}
@@ -1,8 +1,10 @@
1
1
  import { IHttpTransport } from "../IHttpTransport.ts";
2
+ import { ISystemLicenseClient } from "./ISystemLicenseClient.ts";
2
3
  import { TypeInfo } from "../../fable_modules/fable-library-ts.5.0.0-rc.1/Reflection.ts";
3
- export declare class SystemLicenseClient {
4
+ export declare class SystemLicenseClient implements ISystemLicenseClient {
4
5
  readonly transport: IHttpTransport;
5
6
  constructor(transport: IHttpTransport);
7
+ GetLicenseAsync(): any;
6
8
  }
7
9
  export declare function SystemLicenseClient_$reflection(): TypeInfo;
8
10
  export declare function SystemLicenseClient_$ctor_Z7C557C0(transport: IHttpTransport): SystemLicenseClient;
@@ -5,11 +5,17 @@ exports.SystemLicenseClient_$reflection = SystemLicenseClient_$reflection;
5
5
  exports.SystemLicenseClient_$ctor_Z7C557C0 = SystemLicenseClient_$ctor_Z7C557C0;
6
6
  exports.SystemLicenseClient__GetLicenseAsync = SystemLicenseClient__GetLicenseAsync;
7
7
  const Reflection_ts_1 = require("../../fable_modules/fable-library-ts.5.0.0-rc.1/Reflection.js");
8
+ const UrlHelpers_ts_1 = require("../UrlHelpers.js");
8
9
  const Endpoints_ts_1 = require("../Endpoints.js");
10
+ const List_ts_1 = require("../../fable_modules/fable-library-ts.5.0.0-rc.1/List.js");
9
11
  class SystemLicenseClient {
10
12
  constructor(transport) {
11
13
  this.transport = transport;
12
14
  }
15
+ GetLicenseAsync() {
16
+ const this$ = this;
17
+ return SystemLicenseClient__GetLicenseAsync(this$);
18
+ }
13
19
  }
14
20
  exports.SystemLicenseClient = SystemLicenseClient;
15
21
  function SystemLicenseClient_$reflection() {
@@ -19,6 +25,6 @@ function SystemLicenseClient_$ctor_Z7C557C0(transport) {
19
25
  return new SystemLicenseClient(transport);
20
26
  }
21
27
  function SystemLicenseClient__GetLicenseAsync(_) {
22
- return _.transport.GetAsync((Endpoints_ts_1.BasePath + "/") + Endpoints_ts_1.SystemLicense);
28
+ return _.transport.GetAsync((0, UrlHelpers_ts_1.composeRelativeUrl)((0, List_ts_1.ofArray)([(0, UrlHelpers_ts_1.UrlPart_op_Implicit_Z721C83C5)(Endpoints_ts_1.BasePath), (0, UrlHelpers_ts_1.UrlPart_op_Implicit_Z721C83C5)(Endpoints_ts_1.SystemLicense)]), (0, List_ts_1.empty)()));
23
29
  }
24
30
  //# sourceMappingURL=SystemLicenseClient.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"SystemLicenseClient.js","sourceRoot":"","sources":["../../../fable_output/Services/Clients/SystemLicenseClient.ts"],"names":[],"mappings":";;;AAaA,0EAEC;AAED,gFAEC;AAED,oFAEC;AArBD,iGAAqG;AACrG,kDAA0D;AAG1D,MAAa,mBAAmB;IAE5B,YAAY,SAAyB;QACjC,IAAI,CAAC,SAAS,GAAG,SAAS,CAAC;IAC/B,CAAC;CACJ;AALD,kDAKC;AAED,SAAgB,+BAA+B;IAC3C,OAAO,IAAA,0BAAU,EAAC,mDAAmD,EAAE,SAAS,EAAE,mBAAmB,CAAC,CAAC;AAC3G,CAAC;AAED,SAAgB,kCAAkC,CAAC,SAAyB;IACxE,OAAO,IAAI,mBAAmB,CAAC,SAAS,CAAC,CAAC;AAC9C,CAAC;AAED,SAAgB,oCAAoC,CAAC,CAAsB;IACvE,OAAO,CAAC,CAAC,SAAS,CAAC,QAAQ,CAAkD,CAAC,uBAAQ,GAAG,GAAG,CAAC,GAAG,4BAAa,CAAC,CAAC;AACnH,CAAC"}
1
+ {"version":3,"file":"SystemLicenseClient.js","sourceRoot":"","sources":["../../../fable_output/Services/Clients/SystemLicenseClient.ts"],"names":[],"mappings":";;;AAqBA,0EAEC;AAED,gFAEC;AAED,oFAEC;AA5BD,iGAAqG;AACrG,oDAA8F;AAC9F,kDAA0D;AAC1D,qFAAyF;AAIzF,MAAa,mBAAmB;IAE5B,YAAY,SAAyB;QACjC,IAAI,CAAC,SAAS,GAAG,SAAS,CAAC;IAC/B,CAAC;IACD,eAAe;QACX,MAAM,KAAK,GAAwB,IAAI,CAAC;QACxC,OAAO,oCAAoC,CAAC,KAAK,CAAC,CAAC;IACvD,CAAC;CACJ;AATD,kDASC;AAED,SAAgB,+BAA+B;IAC3C,OAAO,IAAA,0BAAU,EAAC,mDAAmD,EAAE,SAAS,EAAE,mBAAmB,CAAC,CAAC;AAC3G,CAAC;AAED,SAAgB,kCAAkC,CAAC,SAAyB;IACxE,OAAO,IAAI,mBAAmB,CAAC,SAAS,CAAC,CAAC;AAC9C,CAAC;AAED,SAAgB,oCAAoC,CAAC,CAAsB;IACvE,OAAO,CAAC,CAAC,SAAS,CAAC,QAAQ,CAAkD,IAAA,kCAAkB,EAAC,IAAA,iBAAO,EAAC,CAAC,IAAA,6CAA6B,EAAC,uBAAQ,CAAC,EAAE,IAAA,6CAA6B,EAAC,4BAAa,CAAC,CAAC,CAAC,EAAE,IAAA,eAAK,GAAqB,CAAC,CAAC,CAAC;AACnO,CAAC"}
@@ -1 +1,25 @@
1
+ import { FSharpList } from "../fable_modules/fable-library-ts.5.0.0-rc.1/List.ts";
2
+ import { FSharpChoice$2_$union } from "../fable_modules/fable-library-ts.5.0.0-rc.1/Choice.ts";
3
+ import { TypeInfo } from "../fable_modules/fable-library-ts.5.0.0-rc.1/Reflection.ts";
4
+ import { float64, int32 } from "../fable_modules/fable-library-ts.5.0.0-rc.1/Int32.ts";
5
+ import { int64 } from "../fable_modules/fable-library-ts.5.0.0-rc.1/BigInt.ts";
6
+ import { decimal } from "../fable_modules/fable-library-ts.5.0.0-rc.1/Decimal.ts";
1
7
  export declare function getBackendOrigin(frontendOrigin: string): string;
8
+ export declare class UrlPart {
9
+ readonly value: FSharpChoice$2_$union<string, any>;
10
+ constructor(value: FSharpChoice$2_$union<string, any>);
11
+ }
12
+ export declare function UrlPart_$reflection(): TypeInfo;
13
+ export declare function UrlPart_$ctor_Z19415666(value: FSharpChoice$2_$union<string, any>): UrlPart;
14
+ export declare function UrlPart__get_Value(_: UrlPart): FSharpChoice$2_$union<string, any>;
15
+ export declare function UrlPart_op_Implicit_Z721C83C5(s: string): UrlPart;
16
+ export declare function UrlPart_op_Implicit_Z6CAC3EAA(f: any): UrlPart;
17
+ export declare function UrlPart_op_Implicit_Z1FBCCD16(b: boolean): UrlPart;
18
+ export declare function UrlPart_op_Implicit_Z524259A4(i: int32): UrlPart;
19
+ export declare function UrlPart_op_Implicit_Z524259C1(i: int64): UrlPart;
20
+ export declare function UrlPart_op_Implicit_5E38073B(f: float64): UrlPart;
21
+ export declare function UrlPart_op_Implicit_32C73145(d: decimal): UrlPart;
22
+ export declare function UrlPart_op_Implicit_244AC511(g: string): UrlPart;
23
+ export declare function UrlPart_op_Implicit_7F9DDECF(dt: Date): UrlPart;
24
+ export declare function UrlPart_op_Implicit_Z53C0511E(dto: Date): UrlPart;
25
+ export declare function composeRelativeUrl(relativePathSections: FSharpList<UrlPart>, queryParameters: FSharpList<[string, UrlPart]>): string;
@@ -1,9 +1,28 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.UrlPart = void 0;
3
4
  exports.getBackendOrigin = getBackendOrigin;
5
+ exports.UrlPart_$reflection = UrlPart_$reflection;
6
+ exports.UrlPart_$ctor_Z19415666 = UrlPart_$ctor_Z19415666;
7
+ exports.UrlPart__get_Value = UrlPart__get_Value;
8
+ exports.UrlPart_op_Implicit_Z721C83C5 = UrlPart_op_Implicit_Z721C83C5;
9
+ exports.UrlPart_op_Implicit_Z6CAC3EAA = UrlPart_op_Implicit_Z6CAC3EAA;
10
+ exports.UrlPart_op_Implicit_Z1FBCCD16 = UrlPart_op_Implicit_Z1FBCCD16;
11
+ exports.UrlPart_op_Implicit_Z524259A4 = UrlPart_op_Implicit_Z524259A4;
12
+ exports.UrlPart_op_Implicit_Z524259C1 = UrlPart_op_Implicit_Z524259C1;
13
+ exports.UrlPart_op_Implicit_5E38073B = UrlPart_op_Implicit_5E38073B;
14
+ exports.UrlPart_op_Implicit_32C73145 = UrlPart_op_Implicit_32C73145;
15
+ exports.UrlPart_op_Implicit_244AC511 = UrlPart_op_Implicit_244AC511;
16
+ exports.UrlPart_op_Implicit_7F9DDECF = UrlPart_op_Implicit_7F9DDECF;
17
+ exports.UrlPart_op_Implicit_Z53C0511E = UrlPart_op_Implicit_Z53C0511E;
18
+ exports.composeRelativeUrl = composeRelativeUrl;
4
19
  const List_ts_1 = require("../fable_modules/fable-library-ts.5.0.0-rc.1/List.js");
5
20
  const Option_ts_1 = require("../fable_modules/fable-library-ts.5.0.0-rc.1/Option.js");
6
21
  const String_ts_1 = require("../fable_modules/fable-library-ts.5.0.0-rc.1/String.js");
22
+ const Choice_ts_1 = require("../fable_modules/fable-library-ts.5.0.0-rc.1/Choice.js");
23
+ const Reflection_ts_1 = require("../fable_modules/fable-library-ts.5.0.0-rc.1/Reflection.js");
24
+ const Util_ts_1 = require("../fable_modules/fable-library-ts.5.0.0-rc.1/Util.js");
25
+ const Types_ts_1 = require("../fable_modules/fable-library-ts.5.0.0-rc.1/Types.js");
7
26
  const suffixMappings = (0, List_ts_1.ofArray)([[".dev.localhost:4211", ".dev.localhost:5210"], [".test.localhost:4210", ".test.localhost:5211"], [".test.localhost:4211", ".test.localhost:5211"], [".localhost:4210", ".localhost:5210"]]);
8
27
  function getBackendOrigin(frontendOrigin) {
9
28
  const mapping = (0, List_ts_1.tryFind)((tupledArg) => frontendOrigin.endsWith(tupledArg[0]), suffixMappings);
@@ -16,4 +35,69 @@ function getBackendOrigin(frontendOrigin) {
16
35
  return (0, String_ts_1.substring)(frontendOrigin, 0, frontendOrigin.length - frontendSuffix_1.length) + backendSuffix;
17
36
  }
18
37
  }
38
+ class UrlPart {
39
+ constructor(value) {
40
+ this.value = value;
41
+ }
42
+ }
43
+ exports.UrlPart = UrlPart;
44
+ function UrlPart_$reflection() {
45
+ return (0, Reflection_ts_1.class_type)("Fossa.Bridge.Services.UrlHelpers.UrlPart", undefined, UrlPart);
46
+ }
47
+ function UrlPart_$ctor_Z19415666(value) {
48
+ return new UrlPart(value);
49
+ }
50
+ function UrlPart__get_Value(_) {
51
+ return _.value;
52
+ }
53
+ function UrlPart_op_Implicit_Z721C83C5(s) {
54
+ return UrlPart_$ctor_Z19415666((0, Choice_ts_1.FSharpChoice$2_Choice1Of2)(s));
55
+ }
56
+ function UrlPart_op_Implicit_Z6CAC3EAA(f) {
57
+ return UrlPart_$ctor_Z19415666((0, Choice_ts_1.FSharpChoice$2_Choice2Of2)(f));
58
+ }
59
+ function UrlPart_op_Implicit_Z1FBCCD16(b) {
60
+ return UrlPart_$ctor_Z19415666((0, Choice_ts_1.FSharpChoice$2_Choice1Of2)(b ? "true" : "false"));
61
+ }
62
+ function UrlPart_op_Implicit_Z524259A4(i) {
63
+ return UrlPart_$ctor_Z19415666((0, Choice_ts_1.FSharpChoice$2_Choice2Of2)(i));
64
+ }
65
+ function UrlPart_op_Implicit_Z524259C1(i) {
66
+ return UrlPart_$ctor_Z19415666((0, Choice_ts_1.FSharpChoice$2_Choice2Of2)(i));
67
+ }
68
+ function UrlPart_op_Implicit_5E38073B(f) {
69
+ return UrlPart_$ctor_Z19415666((0, Choice_ts_1.FSharpChoice$2_Choice2Of2)(f));
70
+ }
71
+ function UrlPart_op_Implicit_32C73145(d) {
72
+ return UrlPart_$ctor_Z19415666((0, Choice_ts_1.FSharpChoice$2_Choice2Of2)(d));
73
+ }
74
+ function UrlPart_op_Implicit_244AC511(g) {
75
+ return UrlPart_$ctor_Z19415666((0, Choice_ts_1.FSharpChoice$2_Choice2Of2)(g));
76
+ }
77
+ function UrlPart_op_Implicit_7F9DDECF(dt) {
78
+ return UrlPart_$ctor_Z19415666((0, Choice_ts_1.FSharpChoice$2_Choice2Of2)(dt));
79
+ }
80
+ function UrlPart_op_Implicit_Z53C0511E(dto) {
81
+ return UrlPart_$ctor_Z19415666((0, Choice_ts_1.FSharpChoice$2_Choice2Of2)(dto));
82
+ }
83
+ function composeRelativeUrl(relativePathSections, queryParameters) {
84
+ return (0, String_ts_1.join)("/", (0, List_ts_1.map)(Util_ts_1.escapeDataString, (0, List_ts_1.map)((section) => {
85
+ const matchValue = UrlPart__get_Value(section);
86
+ if (matchValue.tag === /* Choice2Of2 */ 1) {
87
+ return (0, Types_ts_1.toString)(matchValue.fields[0]);
88
+ }
89
+ else {
90
+ return matchValue.fields[0];
91
+ }
92
+ }, relativePathSections))) + ((0, List_ts_1.isEmpty)(queryParameters) ? "" : ("?" + (0, String_ts_1.join)("&", (0, List_ts_1.map)((tupledArg_1) => (((0, Util_ts_1.escapeDataString)(tupledArg_1[0]) + "=") + (0, Util_ts_1.escapeDataString)(tupledArg_1[1])), (0, List_ts_1.map)((tupledArg) => {
93
+ const key = tupledArg[0];
94
+ const matchValue_1 = UrlPart__get_Value(tupledArg[1]);
95
+ if (matchValue_1.tag === /* Choice2Of2 */ 1) {
96
+ return [key, (0, Types_ts_1.toString)(matchValue_1.fields[0])];
97
+ }
98
+ else {
99
+ return [key, matchValue_1.fields[0]];
100
+ }
101
+ }, queryParameters)))));
102
+ }
19
103
  //# sourceMappingURL=UrlHelpers.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"UrlHelpers.js","sourceRoot":"","sources":["../../fable_output/Services/UrlHelpers.ts"],"names":[],"mappings":";;AAOA,4CAUC;AAhBD,kFAAoG;AACpG,sFAAuF;AACvF,sFAAmF;AAEnF,MAAM,cAAc,GAAiC,IAAA,iBAAO,EAAC,CAAC,CAAC,qBAAqB,EAAE,qBAAqB,CAAqB,EAAE,CAAC,sBAAsB,EAAE,sBAAsB,CAAqB,EAAE,CAAC,sBAAsB,EAAE,sBAAsB,CAAqB,EAAE,CAAC,iBAAiB,EAAE,iBAAiB,CAAqB,CAAC,CAAC,CAAC;AAE3U,SAAgB,gBAAgB,CAAC,cAAsB;IACnD,MAAM,OAAO,GAA6B,IAAA,iBAAO,EAAmB,C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QACjD,CAAC;aACI,CAAC;YACF,OAAO,UAAU,CAAC,MAAM,CAAC,CAAC,CAAW,CAAC;QAC1C,CAAC;IACL,CAAC,EAAE,oBAAoB,CAAC,CAAC,CAAC,GAAG,CAAC,IAAA,iBAAO,EAAC,eAAe,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC,GAAG,GAAG,IAAA,gBAAI,EAAC,GAAG,EAAE,IAAA,aAAG,EAA2B,CAAC,WAA6B,EAAU,EAAE,CAAC,CAAC,CAAC,IAAA,0BAAgB,EAAC,WAAW,CAAC,CAAC,CAAC,CAAC,GAAG,GAAG,CAAC,GAAG,IAAA,0BAAgB,EAAC,WAAW,CAAC,CAAC,CAAC,CAAC,CAAC,EAAE,IAAA,aAAG,EAAsC,CAAC,SAA4B,EAAoB,EAAE;QAC/T,MAAM,GAAG,GAAW,SAAS,CAAC,CAAC,CAAC,CAAC;QACjC,MAAM,YAAY,GAAuC,kBAAkB,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC,CAAC;QAC1F,IAAK,YAAY,CAAC,GAAa,KAAK,gBAAgB,CAAC,CAAC,EAAE,CAAC;YACrD,OAAO,CAAC,GAAG,EAAE,IAAA,mBAAQ,EAAC,YAAY,CAAC,MAAM,CAAC,CAAC,CAAQ,CAAC,CAAqB,CAAC;QAC9E,CAAC;aACI,CAAC;YACF,OAAO,CAAC,GAAG,EAAE,YAAY,CAAC,MAAM,CAAC,CAAC,CAAW,CAAqB,CAAC;QACvE,CAAC;IACL,CAAC,EAAE,eAAe,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;AAC5B,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fossa-app/bridge",
3
- "version": "0.1.7",
3
+ "version": "0.1.9",
4
4
  "description": "Shared Domain Models and DTOs for Fossa UI and API",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",