@solibo/solibo-sdk 1.1.47 → 1.1.50

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.
@@ -128,8 +128,8 @@ initMetadataForInterface(MutableIterable, 'MutableIterable');
128
128
  function asJsArrayView() {
129
129
  return createJsArrayViewFrom(this);
130
130
  }
131
- initMetadataForInterface(KtMutableList, 'MutableList', VOID, VOID, [KtList, MutableIterable, Collection]);
132
- initMetadataForInterface(KtMutableSet, 'MutableSet', VOID, VOID, [KtSet, MutableIterable, Collection]);
131
+ initMetadataForInterface(KtMutableList, 'MutableList', VOID, VOID, [KtList, Collection, MutableIterable]);
132
+ initMetadataForInterface(KtMutableSet, 'MutableSet', VOID, VOID, [KtSet, Collection, MutableIterable]);
133
133
  initMetadataForCompanion(Companion_4);
134
134
  initMetadataForClass(Enum, 'Enum', VOID, VOID, [Comparable]);
135
135
  initMetadataForCompanion(Companion_5);
@@ -153,7 +153,7 @@ initMetadataForClass(asList$1, VOID, VOID, AbstractList, [AbstractList, RandomAc
153
153
  initMetadataForInterface(AutoCloseable, 'AutoCloseable');
154
154
  initMetadataForInterface(Comparator, 'Comparator');
155
155
  initMetadataForObject(Unit, 'Unit');
156
- initMetadataForClass(AbstractMutableCollection, 'AbstractMutableCollection', VOID, AbstractCollection, [AbstractCollection, MutableIterable, Collection]);
156
+ initMetadataForClass(AbstractMutableCollection, 'AbstractMutableCollection', VOID, AbstractCollection, [AbstractCollection, Collection, MutableIterable]);
157
157
  initMetadataForClass(IteratorImpl, 'IteratorImpl');
158
158
  initMetadataForClass(ListIteratorImpl, 'ListIteratorImpl', VOID, IteratorImpl);
159
159
  initMetadataForClass(AbstractMutableList, 'AbstractMutableList', VOID, AbstractMutableCollection, [AbstractMutableCollection, KtMutableList]);
@@ -165,7 +165,7 @@ initMetadataForCompanion(Companion_6);
165
165
  initMetadataForClass(ArrayList, 'ArrayList', ArrayList_init_$Create$, AbstractMutableList, [AbstractMutableList, KtMutableList, RandomAccess]);
166
166
  initMetadataForClass(HashMap, 'HashMap', HashMap_init_$Create$, AbstractMutableMap, [AbstractMutableMap, KtMutableMap]);
167
167
  initMetadataForClass(HashMapKeys, 'HashMapKeys', VOID, AbstractMutableSet, [KtMutableSet, AbstractMutableSet]);
168
- initMetadataForClass(HashMapValues, 'HashMapValues', VOID, AbstractMutableCollection, [MutableIterable, Collection, AbstractMutableCollection]);
168
+ initMetadataForClass(HashMapValues, 'HashMapValues', VOID, AbstractMutableCollection, [Collection, MutableIterable, AbstractMutableCollection]);
169
169
  initMetadataForClass(HashMapEntrySetBase, 'HashMapEntrySetBase', VOID, AbstractMutableSet, [KtMutableSet, AbstractMutableSet]);
170
170
  initMetadataForClass(HashMapEntrySet, 'HashMapEntrySet', VOID, HashMapEntrySetBase);
171
171
  initMetadataForClass(HashMapKeysDefault$iterator$1);
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "main": "index.mjs",
3
3
  "types": "index.d.ts",
4
- "version": "1.1.47",
4
+ "version": "1.1.50",
5
5
  "name": "@solibo/solibo-sdk",
6
6
  "dependencies": {
7
7
  "@js-joda/core": "5.6.3",
@@ -16167,6 +16167,9 @@ export declare namespace SoliboSDK {
16167
16167
  /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
16168
16168
  namespace $metadata$ {
16169
16169
  abstract class constructor {
16170
+ createBrowser(userPoolId: string, clientId: string, settings?: any/* Settings */, fingerprinter?: Fingerprinter, pushTokenProvider?: PushTokenProvider, configure?: (p0: SoliboSDK.KotlinBuilder) => void): SoliboSDK;
16171
+ createMobile(userPoolId: string, clientId: string, settings?: any/* Settings */, fingerprinter?: Fingerprinter, pushTokenProvider?: PushTokenProvider, configure?: (p0: SoliboSDK.KotlinBuilder) => void): SoliboSDK;
16172
+ createM2M(clientId: string, clientSecret: string, scopes?: KtList<string>, settings?: any/* Settings */, fingerprinter?: Fingerprinter, pushTokenProvider?: PushTokenProvider, configure?: (p0: SoliboSDK.KotlinBuilder) => void): SoliboSDK;
16170
16173
  createKotlin(userPoolName: string, settings?: any/* Settings */, fingerprinter?: Fingerprinter, pushTokenProvider?: PushTokenProvider, configure?: (p0: SoliboSDK.KotlinBuilder) => void): SoliboSDK;
16171
16174
  private constructor();
16172
16175
  }
@@ -16194,6 +16197,14 @@ export declare namespace SoliboSDK {
16194
16197
  set httpClientConfig(value: (p0: any/* HttpClientConfig<UnknownType *> */) => void);
16195
16198
  get onRefreshFailure(): any /*Suspend functions are not supported*/;
16196
16199
  set onRefreshFailure(value: any /*Suspend functions are not supported*/);
16200
+ get authMode(): AuthMode;
16201
+ set authMode(value: AuthMode);
16202
+ get clientId(): string | null | undefined;
16203
+ set clientId(value: string | null | undefined);
16204
+ get clientSecret(): string | null | undefined;
16205
+ set clientSecret(value: string | null | undefined);
16206
+ get scopes(): KtList<string> | null | undefined;
16207
+ set scopes(value: KtList<string> | null | undefined);
16197
16208
  build(): SoliboSDK;
16198
16209
  }
16199
16210
  namespace KotlinBuilder {
@@ -16319,7 +16330,7 @@ export declare namespace UnknownRefreshErrorException {
16319
16330
  }
16320
16331
  }
16321
16332
  export declare class HomeApi {
16322
- constructor(fingerprinter: Fingerprinter, device: DeviceManager, httpClientEngine: any | null | undefined/* HttpClientEngine | null | undefined */ | undefined, settings: any/* Settings */, configurator?: (p0: any/* HttpClientConfig<UnknownType *> */) => void, refreshFailure?: any /*Suspend functions are not supported*/);
16333
+ constructor(fingerprinter: Fingerprinter, device: DeviceManager, httpClientEngine: any | null | undefined/* HttpClientEngine | null | undefined */ | undefined, settings: any/* Settings */, configurator?: (p0: any/* HttpClientConfig<UnknownType *> */) => void, refreshFailure?: any /*Suspend functions are not supported*/, authMode?: AuthMode);
16323
16334
  get authMode(): AuthMode;
16324
16335
  get clientId(): string | null | undefined;
16325
16336
  set clientId(value: string | null | undefined);
@@ -16622,23 +16633,34 @@ export declare namespace SoliboSDKJs {
16622
16633
  }
16623
16634
  }
16624
16635
  export interface SoliboSDKJsBuilderProps {
16625
- cognitoUserPoolId: string;
16636
+ cognitoUserPoolId?: string;
16626
16637
  domain?: string | null | undefined;
16627
16638
  fingerprinter?: Fingerprinter;
16628
16639
  pushTokenProvider?: PushTokenProvider;
16629
16640
  deviceManager?: DeviceManager | null | undefined;
16630
16641
  refreshFailureHandler?: RefreshFailureHandler | null | undefined;
16631
16642
  asyncRefreshFailureHandler?: AsyncRefreshFailureHandler | null | undefined;
16643
+ authMode?: AuthMode;
16644
+ clientId?: string | null | undefined;
16645
+ clientSecret?: string | null | undefined;
16646
+ scopes?: Array<string> | null | undefined;
16632
16647
  }
16633
16648
  export declare class SoliboSDKJsBuilder {
16634
16649
  constructor(props: SoliboSDKJsBuilderProps);
16635
- constructor(cognitoUserPoolId: string, domain?: string | null | undefined, fingerprinter?: Fingerprinter, pushTokenProvider?: PushTokenProvider, deviceManager?: DeviceManager | null | undefined, refreshFailureHandler?: RefreshFailureHandler | null | undefined, asyncRefreshFailureHandler?: AsyncRefreshFailureHandler | null | undefined);
16650
+ constructor(cognitoUserPoolId?: string, domain?: string | null | undefined, fingerprinter?: Fingerprinter, pushTokenProvider?: PushTokenProvider, deviceManager?: DeviceManager | null | undefined, refreshFailureHandler?: RefreshFailureHandler | null | undefined, asyncRefreshFailureHandler?: AsyncRefreshFailureHandler | null | undefined, authMode?: AuthMode, clientId?: string | null | undefined, clientSecret?: string | null | undefined, scopes?: Array<string> | null | undefined);
16636
16651
  setDomain(value: string): SoliboSDKJsBuilder;
16637
16652
  setFingerprinter(value: Fingerprinter): SoliboSDKJsBuilder;
16638
16653
  setPushTokenProvider(value: PushTokenProvider): SoliboSDKJsBuilder;
16639
16654
  setDeviceManager(value: DeviceManager): SoliboSDKJsBuilder;
16640
16655
  setRefreshFailureHandler(value: RefreshFailureHandler): SoliboSDKJsBuilder;
16641
16656
  setAsyncRefreshFailureHandler(value: AsyncRefreshFailureHandler): SoliboSDKJsBuilder;
16657
+ setAuthMode(value: AuthMode): SoliboSDKJsBuilder;
16658
+ setClientId(value: string): SoliboSDKJsBuilder;
16659
+ setClientSecret(value: string): SoliboSDKJsBuilder;
16660
+ setScopes(value: Array<string>): SoliboSDKJsBuilder;
16661
+ withBrowser(userPoolId: string, clientId: string): SoliboSDKJsBuilder;
16662
+ withMobile(userPoolId: string, clientId: string): SoliboSDKJsBuilder;
16663
+ withM2M(clientId: string, clientSecret: string, scopes?: Array<string> | null | undefined): SoliboSDKJsBuilder;
16642
16664
  build(): SoliboSDK;
16643
16665
  }
16644
16666
  export declare namespace SoliboSDKJsBuilder {