@solibo/solibo-sdk 1.0.33 → 1.0.34

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.
@@ -37,14 +37,14 @@
37
37
  initMetadataForCompanion(Companion);
38
38
  //endregion
39
39
  function Pem() {
40
- this.zo1_1 = '-----BEGIN ';
41
- this.ao2_1 = '-----END ';
42
- this.bo2_1 = '-----';
40
+ this.jo1_1 = '-----BEGIN ';
41
+ this.ko1_1 = '-----END ';
42
+ this.lo1_1 = '-----';
43
43
  }
44
- protoOf(Pem).co2 = function (bytes) {
45
- return this.do2(decodeToString(bytes));
44
+ protoOf(Pem).mo1 = function (bytes) {
45
+ return this.no1(decodeToString(bytes));
46
46
  };
47
- protoOf(Pem).do2 = function (string) {
47
+ protoOf(Pem).no1 = function (string) {
48
48
  var lines = split(string, ['\n']);
49
49
  var tmp$ret$1;
50
50
  $l$block: {
@@ -119,13 +119,13 @@
119
119
  return Pem_instance;
120
120
  }
121
121
  function PemContent(label, bytes) {
122
- this.eo2_1 = label;
123
- this.fo2_1 = bytes;
122
+ this.oo1_1 = label;
123
+ this.po1_1 = bytes;
124
124
  }
125
125
  function ensurePemLabel(_this__u8e3s4, label) {
126
126
  // Inline function 'kotlin.check' call
127
- if (!(_this__u8e3s4.eo2_1 === label)) {
128
- var message = 'Wrong PEM label, expected ' + PemLabel__toString_impl_auwpt1(label) + ', actual ' + PemLabel__toString_impl_auwpt1(_this__u8e3s4.eo2_1);
127
+ if (!(_this__u8e3s4.oo1_1 === label)) {
128
+ var message = 'Wrong PEM label, expected ' + PemLabel__toString_impl_auwpt1(label) + ', actual ' + PemLabel__toString_impl_auwpt1(_this__u8e3s4.oo1_1);
129
129
  throw IllegalStateException_init_$Create$(toString(message));
130
130
  }
131
131
  return _this__u8e3s4;
@@ -135,11 +135,11 @@
135
135
  }
136
136
  function Companion() {
137
137
  Companion_instance = this;
138
- this.go2_1 = _PemLabel___init__impl__xifhtx('PUBLIC KEY');
139
- this.ho2_1 = _PemLabel___init__impl__xifhtx('PRIVATE KEY');
140
- this.io2_1 = _PemLabel___init__impl__xifhtx('RSA PUBLIC KEY');
141
- this.jo2_1 = _PemLabel___init__impl__xifhtx('RSA PRIVATE KEY');
142
- this.ko2_1 = _PemLabel___init__impl__xifhtx('EC PRIVATE KEY');
138
+ this.qo1_1 = _PemLabel___init__impl__xifhtx('PUBLIC KEY');
139
+ this.ro1_1 = _PemLabel___init__impl__xifhtx('PRIVATE KEY');
140
+ this.so1_1 = _PemLabel___init__impl__xifhtx('RSA PUBLIC KEY');
141
+ this.to1_1 = _PemLabel___init__impl__xifhtx('RSA PRIVATE KEY');
142
+ this.uo1_1 = _PemLabel___init__impl__xifhtx('EC PRIVATE KEY');
143
143
  }
144
144
  var Companion_instance;
145
145
  function Companion_getInstance() {
package/index.d.ts CHANGED
@@ -96,7 +96,6 @@ export import CreateCustomerCommentCommand = no.solibo.oss.sdk.api.gen.models.Cr
96
96
  export import CreateEmployeeCommand = no.solibo.oss.sdk.api.gen.models.CreateEmployeeCommand;
97
97
  export import CreateExpenseCommand = no.solibo.oss.sdk.api.gen.models.CreateExpenseCommand;
98
98
  export import CreateExternalCustomerCommand = no.solibo.oss.sdk.api.gen.models.CreateExternalCustomerCommand;
99
- export import CreateExternalCustomerCommandType = no.solibo.oss.sdk.api.gen.models.CreateExternalCustomerCommandType;
100
99
  export import CreateExternalOrganizationCustomerCommand = no.solibo.oss.sdk.api.gen.models.CreateExternalOrganizationCustomerCommand;
101
100
  export import CreateExternalPersonCustomerCommand = no.solibo.oss.sdk.api.gen.models.CreateExternalPersonCustomerCommand;
102
101
  export import CreateHmsSettingsCommand = no.solibo.oss.sdk.api.gen.models.CreateHmsSettingsCommand;
@@ -131,7 +130,6 @@ export import CreatePostCommand = no.solibo.oss.sdk.api.gen.models.CreatePostCom
131
130
  export import CreatePracticalInfoCommand = no.solibo.oss.sdk.api.gen.models.CreatePracticalInfoCommand;
132
131
  export import CreateResetPasswordCommand = no.solibo.oss.sdk.api.gen.models.CreateResetPasswordCommand;
133
132
  export import CreateResidentCommand = no.solibo.oss.sdk.api.gen.models.CreateResidentCommand;
134
- export import CreateResidentCommandType = no.solibo.oss.sdk.api.gen.models.CreateResidentCommandType;
135
133
  export import CreateRoutineCommand = no.solibo.oss.sdk.api.gen.models.CreateRoutineCommand;
136
134
  export import CreateSMSBroadcastCommand = no.solibo.oss.sdk.api.gen.models.CreateSMSBroadcastCommand;
137
135
  export import CreateSection = no.solibo.oss.sdk.api.gen.models.CreateSection;
@@ -475,7 +473,6 @@ export import ThirdPartyInformationApi = no.solibo.oss.sdk.api.gen.client.apis.T
475
473
  export import ThirdPartyInformationEmailError = no.solibo.oss.sdk.api.gen.models.ThirdPartyInformationEmailError;
476
474
  export import ThirdPartyInformationEmailErrors = no.solibo.oss.sdk.api.gen.models.ThirdPartyInformationEmailErrors;
477
475
  export import ThirdPartyInformationError = no.solibo.oss.sdk.api.gen.models.ThirdPartyInformationError;
478
- export import ThirdPartyInformationErrorType = no.solibo.oss.sdk.api.gen.models.ThirdPartyInformationErrorType;
479
476
  export import ThirdPartyInformationKontakt = no.solibo.oss.sdk.api.gen.models.ThirdPartyInformationKontakt;
480
477
  export import ThirdPartyInformationOppgave = no.solibo.oss.sdk.api.gen.models.ThirdPartyInformationOppgave;
481
478
  export import ThirdPartyInformationOppgaveAndeler = no.solibo.oss.sdk.api.gen.models.ThirdPartyInformationOppgaveAndeler;
@@ -552,7 +549,6 @@ export import UpdateProfileCommand = no.solibo.oss.sdk.api.gen.models.UpdateProf
552
549
  export import UpdateRealtimeInvoiceNotificationCommand = no.solibo.oss.sdk.api.gen.models.UpdateRealtimeInvoiceNotificationCommand;
553
550
  export import UpdateReportCommand = no.solibo.oss.sdk.api.gen.models.UpdateReportCommand;
554
551
  export import UpdateResidentCommand = no.solibo.oss.sdk.api.gen.models.UpdateResidentCommand;
555
- export import UpdateResidentCommandType = no.solibo.oss.sdk.api.gen.models.UpdateResidentCommandType;
556
552
  export import UpdateResolutionCommand = no.solibo.oss.sdk.api.gen.models.UpdateResolutionCommand;
557
553
  export import UpdateRoutineCommand = no.solibo.oss.sdk.api.gen.models.UpdateRoutineCommand;
558
554
  export import UpdateSMSBroadcastCommand = no.solibo.oss.sdk.api.gen.models.UpdateSMSBroadcastCommand;
package/index.js CHANGED
@@ -98,7 +98,6 @@ exports.CreateCustomerCommentCommand = mod.no.solibo.oss.sdk.api.gen.models.Crea
98
98
  exports.CreateEmployeeCommand = mod.no.solibo.oss.sdk.api.gen.models.CreateEmployeeCommand;
99
99
  exports.CreateExpenseCommand = mod.no.solibo.oss.sdk.api.gen.models.CreateExpenseCommand;
100
100
  exports.CreateExternalCustomerCommand = mod.no.solibo.oss.sdk.api.gen.models.CreateExternalCustomerCommand;
101
- exports.CreateExternalCustomerCommandType = mod.no.solibo.oss.sdk.api.gen.models.CreateExternalCustomerCommandType;
102
101
  exports.CreateExternalOrganizationCustomerCommand = mod.no.solibo.oss.sdk.api.gen.models.CreateExternalOrganizationCustomerCommand;
103
102
  exports.CreateExternalPersonCustomerCommand = mod.no.solibo.oss.sdk.api.gen.models.CreateExternalPersonCustomerCommand;
104
103
  exports.CreateHmsSettingsCommand = mod.no.solibo.oss.sdk.api.gen.models.CreateHmsSettingsCommand;
@@ -133,7 +132,6 @@ exports.CreatePostCommand = mod.no.solibo.oss.sdk.api.gen.models.CreatePostComma
133
132
  exports.CreatePracticalInfoCommand = mod.no.solibo.oss.sdk.api.gen.models.CreatePracticalInfoCommand;
134
133
  exports.CreateResetPasswordCommand = mod.no.solibo.oss.sdk.api.gen.models.CreateResetPasswordCommand;
135
134
  exports.CreateResidentCommand = mod.no.solibo.oss.sdk.api.gen.models.CreateResidentCommand;
136
- exports.CreateResidentCommandType = mod.no.solibo.oss.sdk.api.gen.models.CreateResidentCommandType;
137
135
  exports.CreateRoutineCommand = mod.no.solibo.oss.sdk.api.gen.models.CreateRoutineCommand;
138
136
  exports.CreateSMSBroadcastCommand = mod.no.solibo.oss.sdk.api.gen.models.CreateSMSBroadcastCommand;
139
137
  exports.CreateSection = mod.no.solibo.oss.sdk.api.gen.models.CreateSection;
@@ -477,7 +475,6 @@ exports.ThirdPartyInformationApi = mod.no.solibo.oss.sdk.api.gen.client.apis.Thi
477
475
  exports.ThirdPartyInformationEmailError = mod.no.solibo.oss.sdk.api.gen.models.ThirdPartyInformationEmailError;
478
476
  exports.ThirdPartyInformationEmailErrors = mod.no.solibo.oss.sdk.api.gen.models.ThirdPartyInformationEmailErrors;
479
477
  exports.ThirdPartyInformationError = mod.no.solibo.oss.sdk.api.gen.models.ThirdPartyInformationError;
480
- exports.ThirdPartyInformationErrorType = mod.no.solibo.oss.sdk.api.gen.models.ThirdPartyInformationErrorType;
481
478
  exports.ThirdPartyInformationKontakt = mod.no.solibo.oss.sdk.api.gen.models.ThirdPartyInformationKontakt;
482
479
  exports.ThirdPartyInformationOppgave = mod.no.solibo.oss.sdk.api.gen.models.ThirdPartyInformationOppgave;
483
480
  exports.ThirdPartyInformationOppgaveAndeler = mod.no.solibo.oss.sdk.api.gen.models.ThirdPartyInformationOppgaveAndeler;
@@ -554,7 +551,6 @@ exports.UpdateProfileCommand = mod.no.solibo.oss.sdk.api.gen.models.UpdateProfil
554
551
  exports.UpdateRealtimeInvoiceNotificationCommand = mod.no.solibo.oss.sdk.api.gen.models.UpdateRealtimeInvoiceNotificationCommand;
555
552
  exports.UpdateReportCommand = mod.no.solibo.oss.sdk.api.gen.models.UpdateReportCommand;
556
553
  exports.UpdateResidentCommand = mod.no.solibo.oss.sdk.api.gen.models.UpdateResidentCommand;
557
- exports.UpdateResidentCommandType = mod.no.solibo.oss.sdk.api.gen.models.UpdateResidentCommandType;
558
554
  exports.UpdateResolutionCommand = mod.no.solibo.oss.sdk.api.gen.models.UpdateResolutionCommand;
559
555
  exports.UpdateRoutineCommand = mod.no.solibo.oss.sdk.api.gen.models.UpdateRoutineCommand;
560
556
  exports.UpdateSMSBroadcastCommand = mod.no.solibo.oss.sdk.api.gen.models.UpdateSMSBroadcastCommand;
@@ -46,6 +46,22 @@ if (typeof Array.prototype.fill === 'undefined') {
46
46
  Object.defineProperty(TypedArray.prototype, 'fill', {value: Array.prototype.fill});
47
47
  }
48
48
  });
49
+ if (typeof Math.clz32 === 'undefined') {
50
+ Math.clz32 = function (log, LN2) {
51
+ return function (x) {
52
+ var asUint = x >>> 0;
53
+ if (asUint === 0) {
54
+ return 32;
55
+ }
56
+ return 31 - (log(asUint) / LN2 | 0) | 0; // the "| 0" acts like math.floor
57
+ };
58
+ }(Math.log, Math.LN2);
59
+ }
60
+ if (typeof Math.log10 === 'undefined') {
61
+ Math.log10 = function (x) {
62
+ return Math.log(x) * Math.LOG10E;
63
+ };
64
+ }
49
65
  if (typeof Math.trunc === 'undefined') {
50
66
  Math.trunc = function (x) {
51
67
  if (isNaN(x)) {
@@ -57,21 +73,11 @@ if (typeof Math.trunc === 'undefined') {
57
73
  return Math.ceil(x);
58
74
  };
59
75
  }
60
- if (typeof Math.log10 === 'undefined') {
61
- Math.log10 = function (x) {
62
- return Math.log(x) * Math.LOG10E;
63
- };
64
- }
65
- if (typeof Math.clz32 === 'undefined') {
66
- Math.clz32 = function (log, LN2) {
67
- return function (x) {
68
- var asUint = x >>> 0;
69
- if (asUint === 0) {
70
- return 32;
71
- }
72
- return 31 - (log(asUint) / LN2 | 0) | 0; // the "| 0" acts like math.floor
73
- };
74
- }(Math.log, Math.LN2);
76
+ if (typeof String.prototype.startsWith === 'undefined') {
77
+ Object.defineProperty(String.prototype, 'startsWith', {value: function (searchString, position) {
78
+ position = position || 0;
79
+ return this.lastIndexOf(searchString, position) === position;
80
+ }});
75
81
  }
76
82
  if (typeof String.prototype.endsWith === 'undefined') {
77
83
  Object.defineProperty(String.prototype, 'endsWith', {value: function (searchString, position) {
@@ -84,12 +90,6 @@ if (typeof String.prototype.endsWith === 'undefined') {
84
90
  return lastIndex !== -1 && lastIndex === position;
85
91
  }});
86
92
  }
87
- if (typeof String.prototype.startsWith === 'undefined') {
88
- Object.defineProperty(String.prototype, 'startsWith', {value: function (searchString, position) {
89
- position = position || 0;
90
- return this.lastIndexOf(searchString, position) === position;
91
- }});
92
- }
93
93
  //endregion
94
94
  (function (factory) {
95
95
  if (typeof define === 'function' && define.amd)