@solibo/solibo-sdk 1.61.3 → 1.62.0
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/kotlinx-coroutines-core/kotlinx/coroutines/channels/ChannelCoroutine.mjs +2 -2
- package/ktor-ktor-websockets/io/ktor/websocket/WebSocketChannelsConfig.mjs +2 -2
- package/package.json +1 -1
- package/solibo-cycles/kotlinx-coroutines-core-18.mjs +1 -1
- package/solibo-cycles/solibo-sdk-sdk-core-55.mjs +9575 -821
- package/solibo-sdk-sdk-core/no/solibo/oss/sdk/api/DeviceClient.mjs +2 -215
- package/solibo-sdk-sdk-core/no/solibo/oss/sdk/api/HomeApiBase.mjs +1 -1
- package/solibo-sdk-sdk-core/no/solibo/oss/sdk/api/gen/client/apis/AppStoresApi.mjs +2 -229
- package/solibo-sdk-sdk-core/no/solibo/oss/sdk/api/gen/client/apis/AuthApi.mjs +2 -6601
- package/solibo-sdk-sdk-core/no/solibo/oss/sdk/api/gen/client/apis/LanguageApi.mjs +2 -434
- package/solibo-sdk-sdk-core/no/solibo/oss/sdk/api/gen/client/apis/UnsubscribeApi.mjs +2 -395
- package/solibo-sdk-sdk-core/no/solibo/oss/sdk/api/gen/infrastructure/HttpResponse.mjs +2 -1088
- package/solibo-sdk-sdk-core/no/solibo/oss/sdk/telemetry/SoliboOpenTelemetry.mjs +1 -1
|
@@ -1,395 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
Companion_getInstance1if1t4zy98q04 as Companion_getInstance,
|
|
4
|
-
ApiClient_init_$Init$1zeqbeizsm394 as ApiClient_init_$Init$,
|
|
5
|
-
ApiClient_init_$Init$38ftv1s10hf6v as ApiClient_init_$Init$_0,
|
|
6
|
-
ApiClient2azxax1pjdtdm as ApiClient,
|
|
7
|
-
} from '../../infrastructure/ApiClient.mjs';
|
|
8
|
-
import {
|
|
9
|
-
protoOf180f3jzyo7rfj as protoOf,
|
|
10
|
-
objectCreate1ve4bgxiu4x98 as objectCreate,
|
|
11
|
-
} from '../../../../../../../../../kotlin-kotlin-stdlib/kotlin/js/coreRuntime.mjs';
|
|
12
|
-
import { CoroutineImpl2sn3kjnwmfr10 as CoroutineImpl } from '../../../../../../../../../kotlin-kotlin-stdlib/kotlin/coroutines/CoroutineImpl.mjs';
|
|
13
|
-
import { emptyList1g2z5xcrvp2zy as emptyList } from '../../../../../../../../../kotlin-kotlin-stdlib/kotlin/collections/CollectionsKt.mjs';
|
|
14
|
-
import { EmptyContent_getInstance1v4yj3cymlz7 as EmptyContent_getInstance } from '../../../../../../../../../ktor-ktor-client-core/io/ktor/client/utils/Content.mjs';
|
|
15
|
-
import { LinkedHashMap_init_$Create$s27yccuovnls as LinkedHashMap_init_$Create$ } from '../../../../../../../../../kotlin-kotlin-stdlib/kotlin/collections/LinkedHashMap.mjs';
|
|
16
|
-
import { listOfvhqybd2zx248 as listOf } from '../../../../../../../../../kotlin-kotlin-stdlib/kotlin/collections/collectionJs.mjs';
|
|
17
|
-
import { Unit_instance3kz1zqli6gr1r as Unit_instance } from '../../../../../../../../../kotlin-kotlin-stdlib/kotlin/Unit.mjs';
|
|
18
|
-
import {
|
|
19
|
-
RequestMethod_GET_getInstance1hbf807ypkdh8 as RequestMethod_GET_getInstance,
|
|
20
|
-
RequestMethod_POST_getInstance29fppyvplo8n0 as RequestMethod_POST_getInstance,
|
|
21
|
-
} from '../../infrastructure/RequestMethod.mjs';
|
|
22
|
-
import { replace3le3ie7l9k8aq as replace } from '../../../../../../../../../kotlin-kotlin-stdlib/kotlin/text/stringsCode.mjs';
|
|
23
|
-
import { RequestConfig10esd7ix0dbbm as RequestConfig } from '../../infrastructure/RequestConfig.mjs';
|
|
24
|
-
import { get_COROUTINE_SUSPENDED3ujt3p13qm4iy as get_COROUTINE_SUSPENDED } from '../../../../../../../../../kotlin-kotlin-stdlib/kotlin/coroutines/intrinsics/Intrinsics.mjs';
|
|
25
|
-
import { PrimitiveClasses_getInstance13wbaztpz3e2d as PrimitiveClasses_getInstance } from '../../../../../../../../../kotlin-kotlin-stdlib/kotlin/reflect/js/internal/primitives.mjs';
|
|
26
|
-
import { arrayOf1akklvh2at202 as arrayOf } from '../../../../../../../../../kotlin-kotlin-stdlib/kotlin/Library.mjs';
|
|
27
|
-
import { createKType31ecntyyaay3k as createKType } from '../../../../../../../../../kotlin-kotlin-stdlib/kotlin/reflect/js/internal/KTypeHelpers.mjs';
|
|
28
|
-
import { TypeInfo2nbxsuf4v8os2 as TypeInfo } from '../../../../../../../../../ktor-ktor-utils/io/ktor/util/reflect/Type.mjs';
|
|
29
|
-
import {
|
|
30
|
-
TypedBodyProvider2ertybblisp23 as TypedBodyProvider,
|
|
31
|
-
HttpResponse53ki0v36vqo7 as HttpResponse,
|
|
32
|
-
} from '../../infrastructure/HttpResponse.mjs';
|
|
33
|
-
import {
|
|
34
|
-
initMetadataForCoroutine1i7lbatuf5bnt as initMetadataForCoroutine,
|
|
35
|
-
initMetadataForClassbxx6q50dy2s7 as initMetadataForClass,
|
|
36
|
-
} from '../../../../../../../../../kotlin-kotlin-stdlib/kotlin/js/metadataUtils.mjs';
|
|
37
|
-
import {
|
|
38
|
-
await3n7kedgocftsv as await_0,
|
|
39
|
-
promisify1z0ncraq1ipzh as promisify,
|
|
40
|
-
} from '../../../../../../../../../kotlin-kotlin-stdlib/kotlin/coroutines/intrinsics/IntrinsicsJs.mjs';
|
|
41
|
-
import { __soliboBoundaryState, __soliboPatchField, __soliboRegisterLookup, __soliboRegisterOwnFields, __soliboToJs, __soliboToKt, __soliboWrapAccessor, __soliboWrapFunction, __soliboWrapMethod } from '../../../../../../../../../solibo-boundary.mjs';
|
|
42
|
-
//region block: imports
|
|
43
|
-
//endregion
|
|
44
|
-
//region block: pre-declaration
|
|
45
|
-
//endregion
|
|
46
|
-
function UnsubscribeApi_init_$Init$(baseUrl, httpClientEngine, httpClientConfig, jsonSerializer, $this) {
|
|
47
|
-
baseUrl = baseUrl === VOID ? 'https://home.solibo.no/api' : baseUrl;
|
|
48
|
-
httpClientEngine = httpClientEngine === VOID ? null : httpClientEngine;
|
|
49
|
-
httpClientConfig = httpClientConfig === VOID ? null : httpClientConfig;
|
|
50
|
-
jsonSerializer = jsonSerializer === VOID ? Companion_getInstance().JSON_DEFAULT : jsonSerializer;
|
|
51
|
-
ApiClient_init_$Init$(baseUrl, httpClientEngine, httpClientConfig, jsonSerializer, $this);
|
|
52
|
-
UnsubscribeApi().call($this);
|
|
53
|
-
return $this;
|
|
54
|
-
}
|
|
55
|
-
function create(baseUrl, httpClientEngine, httpClientConfig, jsonSerializer) {
|
|
56
|
-
return UnsubscribeApi_init_$Init$(baseUrl, httpClientEngine, httpClientConfig, jsonSerializer, objectCreate(protoOf(UnsubscribeApi())));
|
|
57
|
-
}
|
|
58
|
-
function UnsubscribeApi_init_$Init$_0(baseUrl, httpClient, $this) {
|
|
59
|
-
ApiClient_init_$Init$_0(baseUrl, httpClient, $this);
|
|
60
|
-
UnsubscribeApi().call($this);
|
|
61
|
-
return $this;
|
|
62
|
-
}
|
|
63
|
-
function createWithClient(baseUrl, httpClient) {
|
|
64
|
-
return UnsubscribeApi_init_$Init$_0(baseUrl, httpClient, objectCreate(protoOf(UnsubscribeApi())));
|
|
65
|
-
}
|
|
66
|
-
var $getUnsubscribePageCOROUTINE$Class;
|
|
67
|
-
function $getUnsubscribePageCOROUTINE$() {
|
|
68
|
-
if ($getUnsubscribePageCOROUTINE$Class === VOID) {
|
|
69
|
-
initMetadataForCoroutine($, CoroutineImpl());
|
|
70
|
-
function $(_this__u8e3s4, token, fields, resultContinuation) {
|
|
71
|
-
CoroutineImpl().call(this, resultContinuation);
|
|
72
|
-
this._this__u8e3s4__1 = _this__u8e3s4;
|
|
73
|
-
this.token_1 = token;
|
|
74
|
-
this.fields_1 = fields;
|
|
75
|
-
}
|
|
76
|
-
protoOf($).doResume_5yljmg_k$ = function () {
|
|
77
|
-
var suspendResult = this.result_1;
|
|
78
|
-
$sm: do
|
|
79
|
-
try {
|
|
80
|
-
var tmp = this.state_1;
|
|
81
|
-
switch (tmp) {
|
|
82
|
-
case 0:
|
|
83
|
-
this.exceptionState_1 = 2;
|
|
84
|
-
var localVariableAuthNames = emptyList();
|
|
85
|
-
var localVariableBody = EmptyContent_getInstance();
|
|
86
|
-
var localVariableQuery = LinkedHashMap_init_$Create$();
|
|
87
|
-
if (this.fields_1 == null)
|
|
88
|
-
null;
|
|
89
|
-
else {
|
|
90
|
-
var value = listOf(this.fields_1);
|
|
91
|
-
localVariableQuery.put_4fpzoq_k$('fields', value);
|
|
92
|
-
}
|
|
93
|
-
|
|
94
|
-
var localVariableHeaders = LinkedHashMap_init_$Create$();
|
|
95
|
-
var tmp1_method = RequestMethod_GET_getInstance();
|
|
96
|
-
var tmp2_path = replace('/u/{token}', '{token}', this.token_1);
|
|
97
|
-
var localVariableConfig = new (RequestConfig())(tmp1_method, tmp2_path, localVariableHeaders, VOID, localVariableQuery, false);
|
|
98
|
-
this.state_1 = 1;
|
|
99
|
-
suspendResult = this._this__u8e3s4__1.request$suspendBridge_gbq0ws_k$(localVariableConfig, localVariableBody, localVariableAuthNames, this);
|
|
100
|
-
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
101
|
-
return suspendResult;
|
|
102
|
-
}
|
|
103
|
-
|
|
104
|
-
continue $sm;
|
|
105
|
-
case 1:
|
|
106
|
-
var this_0 = suspendResult;
|
|
107
|
-
var tmp_0 = PrimitiveClasses_getInstance().get_stringClass_bik2gy_k$();
|
|
108
|
-
var tmp_1 = !(null == null) ? typeof null === 'string' : false;
|
|
109
|
-
var tmp_2;
|
|
110
|
-
try {
|
|
111
|
-
tmp_2 = createKType(PrimitiveClasses_getInstance().get_stringClass_bik2gy_k$(), arrayOf([]), false);
|
|
112
|
-
} catch ($p) {
|
|
113
|
-
var tmp_3;
|
|
114
|
-
if ($p instanceof Error) {
|
|
115
|
-
var _unused_var__etf5q3 = $p;
|
|
116
|
-
tmp_3 = null;
|
|
117
|
-
} else {
|
|
118
|
-
throw $p;
|
|
119
|
-
}
|
|
120
|
-
tmp_2 = tmp_3;
|
|
121
|
-
}
|
|
122
|
-
|
|
123
|
-
return new (HttpResponse())(this_0, new (TypedBodyProvider())(new (TypeInfo())(tmp_0, tmp_1, tmp_2)));
|
|
124
|
-
case 2:
|
|
125
|
-
throw this.exception_1;
|
|
126
|
-
}
|
|
127
|
-
} catch ($p_0) {
|
|
128
|
-
var e = $p_0;
|
|
129
|
-
if (this.exceptionState_1 === 2) {
|
|
130
|
-
throw e;
|
|
131
|
-
} else {
|
|
132
|
-
this.state_1 = this.exceptionState_1;
|
|
133
|
-
this.exception_1 = e;
|
|
134
|
-
}
|
|
135
|
-
}
|
|
136
|
-
while (true);
|
|
137
|
-
};
|
|
138
|
-
$getUnsubscribePageCOROUTINE$Class = $;
|
|
139
|
-
}
|
|
140
|
-
return $getUnsubscribePageCOROUTINE$Class;
|
|
141
|
-
}
|
|
142
|
-
var $getUnsubscribePage$suspendBridgeCOROUTINE$Class;
|
|
143
|
-
function $getUnsubscribePage$suspendBridgeCOROUTINE$() {
|
|
144
|
-
if ($getUnsubscribePage$suspendBridgeCOROUTINE$Class === VOID) {
|
|
145
|
-
initMetadataForCoroutine($, CoroutineImpl());
|
|
146
|
-
function $(_this__u8e3s4, token, fields, resultContinuation) {
|
|
147
|
-
CoroutineImpl().call(this, resultContinuation);
|
|
148
|
-
this._this__u8e3s4__1 = _this__u8e3s4;
|
|
149
|
-
this.token_1 = token;
|
|
150
|
-
this.fields_1 = fields;
|
|
151
|
-
}
|
|
152
|
-
protoOf($).doResume_5yljmg_k$ = function () {
|
|
153
|
-
var suspendResult = this.result_1;
|
|
154
|
-
$sm: do
|
|
155
|
-
try {
|
|
156
|
-
var tmp = this.state_1;
|
|
157
|
-
switch (tmp) {
|
|
158
|
-
case 0:
|
|
159
|
-
this.exceptionState_1 = 4;
|
|
160
|
-
if (this._this__u8e3s4__1.getUnsubscribePage === protoOf(UnsubscribeApi()).getUnsubscribePage) {
|
|
161
|
-
this.state_1 = 2;
|
|
162
|
-
suspendResult = this._this__u8e3s4__1.getUnsubscribePage$default_fukmu5_k$(this.token_1, this.fields_1, this);
|
|
163
|
-
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
164
|
-
return suspendResult;
|
|
165
|
-
}
|
|
166
|
-
continue $sm;
|
|
167
|
-
} else {
|
|
168
|
-
this.state_1 = 1;
|
|
169
|
-
suspendResult = await_0(this._this__u8e3s4__1.getUnsubscribePage(this.token_1, this.fields_1), this);
|
|
170
|
-
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
171
|
-
return suspendResult;
|
|
172
|
-
}
|
|
173
|
-
continue $sm;
|
|
174
|
-
}
|
|
175
|
-
|
|
176
|
-
case 1:
|
|
177
|
-
this.WHEN_RESULT0__1 = suspendResult;
|
|
178
|
-
this.state_1 = 3;
|
|
179
|
-
continue $sm;
|
|
180
|
-
case 2:
|
|
181
|
-
this.WHEN_RESULT0__1 = suspendResult;
|
|
182
|
-
this.state_1 = 3;
|
|
183
|
-
continue $sm;
|
|
184
|
-
case 3:
|
|
185
|
-
return this.WHEN_RESULT0__1;
|
|
186
|
-
case 4:
|
|
187
|
-
throw this.exception_1;
|
|
188
|
-
}
|
|
189
|
-
} catch ($p) {
|
|
190
|
-
var e = $p;
|
|
191
|
-
if (this.exceptionState_1 === 4) {
|
|
192
|
-
throw e;
|
|
193
|
-
} else {
|
|
194
|
-
this.state_1 = this.exceptionState_1;
|
|
195
|
-
this.exception_1 = e;
|
|
196
|
-
}
|
|
197
|
-
}
|
|
198
|
-
while (true);
|
|
199
|
-
};
|
|
200
|
-
$getUnsubscribePage$suspendBridgeCOROUTINE$Class = $;
|
|
201
|
-
}
|
|
202
|
-
return $getUnsubscribePage$suspendBridgeCOROUTINE$Class;
|
|
203
|
-
}
|
|
204
|
-
var $unsubscribeCOROUTINE$Class;
|
|
205
|
-
function $unsubscribeCOROUTINE$() {
|
|
206
|
-
if ($unsubscribeCOROUTINE$Class === VOID) {
|
|
207
|
-
initMetadataForCoroutine($, CoroutineImpl());
|
|
208
|
-
function $(_this__u8e3s4, token, resultContinuation) {
|
|
209
|
-
CoroutineImpl().call(this, resultContinuation);
|
|
210
|
-
this._this__u8e3s4__1 = _this__u8e3s4;
|
|
211
|
-
this.token_1 = token;
|
|
212
|
-
}
|
|
213
|
-
protoOf($).doResume_5yljmg_k$ = function () {
|
|
214
|
-
var suspendResult = this.result_1;
|
|
215
|
-
$sm: do
|
|
216
|
-
try {
|
|
217
|
-
var tmp = this.state_1;
|
|
218
|
-
switch (tmp) {
|
|
219
|
-
case 0:
|
|
220
|
-
this.exceptionState_1 = 2;
|
|
221
|
-
var localVariableAuthNames = emptyList();
|
|
222
|
-
var localVariableBody = EmptyContent_getInstance();
|
|
223
|
-
var localVariableQuery = LinkedHashMap_init_$Create$();
|
|
224
|
-
var localVariableHeaders = LinkedHashMap_init_$Create$();
|
|
225
|
-
var tmp0_method = RequestMethod_POST_getInstance();
|
|
226
|
-
var tmp1_path = replace('/u/{token}', '{token}', this.token_1);
|
|
227
|
-
var localVariableConfig = new (RequestConfig())(tmp0_method, tmp1_path, localVariableHeaders, VOID, localVariableQuery, false);
|
|
228
|
-
this.state_1 = 1;
|
|
229
|
-
suspendResult = this._this__u8e3s4__1.request$suspendBridge_gbq0ws_k$(localVariableConfig, localVariableBody, localVariableAuthNames, this);
|
|
230
|
-
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
231
|
-
return suspendResult;
|
|
232
|
-
}
|
|
233
|
-
|
|
234
|
-
continue $sm;
|
|
235
|
-
case 1:
|
|
236
|
-
var this_0 = suspendResult;
|
|
237
|
-
var tmp_0 = PrimitiveClasses_getInstance().get_stringClass_bik2gy_k$();
|
|
238
|
-
var tmp_1 = !(null == null) ? typeof null === 'string' : false;
|
|
239
|
-
var tmp_2;
|
|
240
|
-
try {
|
|
241
|
-
tmp_2 = createKType(PrimitiveClasses_getInstance().get_stringClass_bik2gy_k$(), arrayOf([]), false);
|
|
242
|
-
} catch ($p) {
|
|
243
|
-
var tmp_3;
|
|
244
|
-
if ($p instanceof Error) {
|
|
245
|
-
var _unused_var__etf5q3 = $p;
|
|
246
|
-
tmp_3 = null;
|
|
247
|
-
} else {
|
|
248
|
-
throw $p;
|
|
249
|
-
}
|
|
250
|
-
tmp_2 = tmp_3;
|
|
251
|
-
}
|
|
252
|
-
|
|
253
|
-
return new (HttpResponse())(this_0, new (TypedBodyProvider())(new (TypeInfo())(tmp_0, tmp_1, tmp_2)));
|
|
254
|
-
case 2:
|
|
255
|
-
throw this.exception_1;
|
|
256
|
-
}
|
|
257
|
-
} catch ($p_0) {
|
|
258
|
-
var e = $p_0;
|
|
259
|
-
if (this.exceptionState_1 === 2) {
|
|
260
|
-
throw e;
|
|
261
|
-
} else {
|
|
262
|
-
this.state_1 = this.exceptionState_1;
|
|
263
|
-
this.exception_1 = e;
|
|
264
|
-
}
|
|
265
|
-
}
|
|
266
|
-
while (true);
|
|
267
|
-
};
|
|
268
|
-
$unsubscribeCOROUTINE$Class = $;
|
|
269
|
-
}
|
|
270
|
-
return $unsubscribeCOROUTINE$Class;
|
|
271
|
-
}
|
|
272
|
-
var $unsubscribe$suspendBridgeCOROUTINE$Class;
|
|
273
|
-
function $unsubscribe$suspendBridgeCOROUTINE$() {
|
|
274
|
-
if ($unsubscribe$suspendBridgeCOROUTINE$Class === VOID) {
|
|
275
|
-
initMetadataForCoroutine($, CoroutineImpl());
|
|
276
|
-
function $(_this__u8e3s4, token, resultContinuation) {
|
|
277
|
-
CoroutineImpl().call(this, resultContinuation);
|
|
278
|
-
this._this__u8e3s4__1 = _this__u8e3s4;
|
|
279
|
-
this.token_1 = token;
|
|
280
|
-
}
|
|
281
|
-
protoOf($).doResume_5yljmg_k$ = function () {
|
|
282
|
-
var suspendResult = this.result_1;
|
|
283
|
-
$sm: do
|
|
284
|
-
try {
|
|
285
|
-
var tmp = this.state_1;
|
|
286
|
-
switch (tmp) {
|
|
287
|
-
case 0:
|
|
288
|
-
this.exceptionState_1 = 4;
|
|
289
|
-
if (this._this__u8e3s4__1.unsubscribe === protoOf(UnsubscribeApi()).unsubscribe) {
|
|
290
|
-
this.state_1 = 2;
|
|
291
|
-
suspendResult = this._this__u8e3s4__1.unsubscribe_7h05jb_k$(this.token_1, this);
|
|
292
|
-
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
293
|
-
return suspendResult;
|
|
294
|
-
}
|
|
295
|
-
continue $sm;
|
|
296
|
-
} else {
|
|
297
|
-
this.state_1 = 1;
|
|
298
|
-
suspendResult = await_0(this._this__u8e3s4__1.unsubscribe(this.token_1), this);
|
|
299
|
-
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
300
|
-
return suspendResult;
|
|
301
|
-
}
|
|
302
|
-
continue $sm;
|
|
303
|
-
}
|
|
304
|
-
|
|
305
|
-
case 1:
|
|
306
|
-
this.WHEN_RESULT0__1 = suspendResult;
|
|
307
|
-
this.state_1 = 3;
|
|
308
|
-
continue $sm;
|
|
309
|
-
case 2:
|
|
310
|
-
this.WHEN_RESULT0__1 = suspendResult;
|
|
311
|
-
this.state_1 = 3;
|
|
312
|
-
continue $sm;
|
|
313
|
-
case 3:
|
|
314
|
-
return this.WHEN_RESULT0__1;
|
|
315
|
-
case 4:
|
|
316
|
-
throw this.exception_1;
|
|
317
|
-
}
|
|
318
|
-
} catch ($p) {
|
|
319
|
-
var e = $p;
|
|
320
|
-
if (this.exceptionState_1 === 4) {
|
|
321
|
-
throw e;
|
|
322
|
-
} else {
|
|
323
|
-
this.state_1 = this.exceptionState_1;
|
|
324
|
-
this.exception_1 = e;
|
|
325
|
-
}
|
|
326
|
-
}
|
|
327
|
-
while (true);
|
|
328
|
-
};
|
|
329
|
-
$unsubscribe$suspendBridgeCOROUTINE$Class = $;
|
|
330
|
-
}
|
|
331
|
-
return $unsubscribe$suspendBridgeCOROUTINE$Class;
|
|
332
|
-
}
|
|
333
|
-
var UnsubscribeApiClass;
|
|
334
|
-
function UnsubscribeApi() {
|
|
335
|
-
if (UnsubscribeApiClass === VOID) {
|
|
336
|
-
initMetadataForClass($, 'UnsubscribeApi', create, ApiClient(), VOID, [2, 1, 3]);
|
|
337
|
-
protoOf($).getUnsubscribePage_yk91rb_k$ = function (token, fields, $completion) {
|
|
338
|
-
var tmp = new ($getUnsubscribePageCOROUTINE$())(this, token, fields, $completion);
|
|
339
|
-
tmp.result_1 = Unit_instance;
|
|
340
|
-
tmp.exception_1 = null;
|
|
341
|
-
return tmp.doResume_5yljmg_k$();
|
|
342
|
-
};
|
|
343
|
-
protoOf($).getUnsubscribePage$default_fukmu5_k$ = function (token, fields, $completion, $super) {
|
|
344
|
-
fields = fields === VOID ? null : fields;
|
|
345
|
-
return $super === VOID ? this.getUnsubscribePage_yk91rb_k$(token, fields, $completion) : $super.getUnsubscribePage_yk91rb_k$.call(this, token, fields, $completion);
|
|
346
|
-
};
|
|
347
|
-
protoOf($).getUnsubscribePage = function (token, fields) {
|
|
348
|
-
var tmp = this;
|
|
349
|
-
return promisify(function ($completion) {
|
|
350
|
-
return tmp.getUnsubscribePage$default_fukmu5_k$(token, fields, $completion);
|
|
351
|
-
});
|
|
352
|
-
};
|
|
353
|
-
protoOf($).getUnsubscribePage$suspendBridge_a7sjqw_k$ = function (token, fields, $completion) {
|
|
354
|
-
var tmp = new ($getUnsubscribePage$suspendBridgeCOROUTINE$())(this, token, fields, $completion);
|
|
355
|
-
tmp.result_1 = Unit_instance;
|
|
356
|
-
tmp.exception_1 = null;
|
|
357
|
-
return tmp.doResume_5yljmg_k$();
|
|
358
|
-
};
|
|
359
|
-
protoOf($).unsubscribe_7h05jb_k$ = function (token, $completion) {
|
|
360
|
-
var tmp = new ($unsubscribeCOROUTINE$())(this, token, $completion);
|
|
361
|
-
tmp.result_1 = Unit_instance;
|
|
362
|
-
tmp.exception_1 = null;
|
|
363
|
-
return tmp.doResume_5yljmg_k$();
|
|
364
|
-
};
|
|
365
|
-
protoOf($).unsubscribe = function (token) {
|
|
366
|
-
var tmp = this;
|
|
367
|
-
return promisify(function ($completion) {
|
|
368
|
-
return tmp.unsubscribe_7h05jb_k$(token, $completion);
|
|
369
|
-
});
|
|
370
|
-
};
|
|
371
|
-
protoOf($).unsubscribe$suspendBridge_styu5k_k$ = function (token, $completion) {
|
|
372
|
-
var tmp = new ($unsubscribe$suspendBridgeCOROUTINE$())(this, token, $completion);
|
|
373
|
-
tmp.result_1 = Unit_instance;
|
|
374
|
-
tmp.exception_1 = null;
|
|
375
|
-
return tmp.doResume_5yljmg_k$();
|
|
376
|
-
};
|
|
377
|
-
function $() {
|
|
378
|
-
}
|
|
379
|
-
/* Solibo boundary patches */
|
|
380
|
-
Object.defineProperty($, 'name', { value: "UnsubscribeApi", configurable: true });
|
|
381
|
-
__soliboWrapMethod($, "getUnsubscribePage", {"result":true});
|
|
382
|
-
__soliboWrapMethod($, "unsubscribe", {"result":true});
|
|
383
|
-
__soliboRegisterLookup("UnsubscribeApi", () => $);
|
|
384
|
-
UnsubscribeApiClass = $;
|
|
385
|
-
}
|
|
386
|
-
return UnsubscribeApiClass;
|
|
387
|
-
}
|
|
388
|
-
//region block: exports
|
|
389
|
-
export {
|
|
390
|
-
create as create66bkcayy5m4z,
|
|
391
|
-
createWithClient as createWithClient3iipuazh1m54k,
|
|
392
|
-
UnsubscribeApi as UnsubscribeApi1h9137imotec7,
|
|
393
|
-
};
|
|
394
|
-
//endregion
|
|
395
|
-
|
|
1
|
+
// Collapsed into solibo-cycles/solibo-sdk-sdk-core-55.mjs with the rest of its import cycle (post-process-per-file.js).
|
|
2
|
+
export { create66bkcayy5m4z, createWithClient3iipuazh1m54k, UnsubscribeApi1h9137imotec7 } from '../../../../../../../../../solibo-cycles/solibo-sdk-sdk-core-55.mjs';
|