@doordeck/doordeck-headless-sdk 0.130.0 → 0.132.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.
@@ -312,7 +312,7 @@
312
312
  function addFormatStructureForTime(structure) {
313
313
  this.l64(structure);
314
314
  }
315
- initMetadataForInterface(AbstractWithDateTimeBuilder, 'AbstractWithDateTimeBuilder', VOID, VOID, [AbstractWithDateBuilder, AbstractWithTimeBuilder, WithDate, WithTime]);
315
+ initMetadataForInterface(AbstractWithDateTimeBuilder, 'AbstractWithDateTimeBuilder', VOID, VOID, [AbstractWithDateBuilder, AbstractWithTimeBuilder, WithTime, WithDate]);
316
316
  function offsetHours$default(padding, $super) {
317
317
  padding = padding === VOID ? Padding_ZERO_getInstance() : padding;
318
318
  var tmp;
@@ -365,7 +365,7 @@
365
365
  return tmp;
366
366
  }
367
367
  initMetadataForInterface(AbstractWithOffsetBuilder, 'AbstractWithOffsetBuilder', VOID, VOID, [WithUtcOffset]);
368
- initMetadataForClass(Builder, 'Builder', VOID, VOID, [AbstractDateTimeFormatBuilder, AbstractWithDateTimeBuilder, AbstractWithOffsetBuilder, WithDate, WithTime, WithUtcOffset]);
368
+ initMetadataForClass(Builder, 'Builder', VOID, VOID, [AbstractDateTimeFormatBuilder, AbstractWithDateTimeBuilder, AbstractWithOffsetBuilder, WithUtcOffset, WithDate, WithTime]);
369
369
  initMetadataForClass(AbstractDateTimeFormat, 'AbstractDateTimeFormat');
370
370
  initMetadataForClass(DateTimeComponentsFormat, 'DateTimeComponentsFormat', VOID, AbstractDateTimeFormat);
371
371
  initMetadataForClass(TwoDigitNumber, 'TwoDigitNumber');
@@ -191,6 +191,13 @@ export declare namespace com.doordeck.multiplatform.sdk.exceptions {
191
191
  namespace LockedException.$metadata$ {
192
192
  const constructor: abstract new () => LockedException;
193
193
  }
194
+ class UnprocessableEntityException extends com.doordeck.multiplatform.sdk.exceptions.SdkException.$metadata$.constructor {
195
+ constructor(message: string);
196
+ }
197
+ /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
198
+ namespace UnprocessableEntityException.$metadata$ {
199
+ const constructor: abstract new () => UnprocessableEntityException;
200
+ }
194
201
  class TooEarlyException extends com.doordeck.multiplatform.sdk.exceptions.SdkException.$metadata$.constructor {
195
202
  constructor(message: string);
196
203
  }
@@ -2861,13 +2868,14 @@ export declare namespace com.doordeck.multiplatform.sdk.model.responses {
2861
2868
  }
2862
2869
  }
2863
2870
  class SiteLocksResponse {
2864
- constructor(id: string, name: string, colour: Nullable<string> | undefined, role: com.doordeck.multiplatform.sdk.model.common.UserRole, settings: com.doordeck.multiplatform.sdk.model.responses.SiteLockSettingsResponse);
2871
+ constructor(id: string, name: string, colour: Nullable<string> | undefined, role: com.doordeck.multiplatform.sdk.model.common.UserRole, settings: com.doordeck.multiplatform.sdk.model.responses.SiteLockSettingsResponse, state?: Nullable<com.doordeck.multiplatform.sdk.model.responses.SiteStateResponse>);
2865
2872
  get id(): string;
2866
2873
  get name(): string;
2867
2874
  get colour(): Nullable<string>;
2868
2875
  get role(): com.doordeck.multiplatform.sdk.model.common.UserRole;
2869
2876
  get settings(): com.doordeck.multiplatform.sdk.model.responses.SiteLockSettingsResponse;
2870
- copy(id?: string, name?: string, colour?: Nullable<string>, role?: com.doordeck.multiplatform.sdk.model.common.UserRole, settings?: com.doordeck.multiplatform.sdk.model.responses.SiteLockSettingsResponse): com.doordeck.multiplatform.sdk.model.responses.SiteLocksResponse;
2877
+ get state(): Nullable<com.doordeck.multiplatform.sdk.model.responses.SiteStateResponse>;
2878
+ copy(id?: string, name?: string, colour?: Nullable<string>, role?: com.doordeck.multiplatform.sdk.model.common.UserRole, settings?: com.doordeck.multiplatform.sdk.model.responses.SiteLockSettingsResponse, state?: Nullable<com.doordeck.multiplatform.sdk.model.responses.SiteStateResponse>): com.doordeck.multiplatform.sdk.model.responses.SiteLocksResponse;
2871
2879
  toString(): string;
2872
2880
  hashCode(): number;
2873
2881
  equals(other: Nullable<any>): boolean;
@@ -2888,14 +2896,13 @@ export declare namespace com.doordeck.multiplatform.sdk.model.responses {
2888
2896
  }
2889
2897
  }
2890
2898
  class SiteLockSettingsResponse {
2891
- constructor(unlockTime: number, permittedAddresses: kotlin.collections.KtList<string>, defaultName: string, tiles: kotlin.collections.KtList<string>, state?: Nullable<com.doordeck.multiplatform.sdk.model.responses.SiteStateResponse>, favourite?: Nullable<boolean>);
2899
+ constructor(unlockTime: number, permittedAddresses: kotlin.collections.KtList<string>, defaultName: string, tiles: kotlin.collections.KtList<string>, favourite?: Nullable<boolean>);
2892
2900
  get unlockTime(): number;
2893
2901
  get permittedAddresses(): kotlin.collections.KtList<string>;
2894
2902
  get defaultName(): string;
2895
2903
  get tiles(): kotlin.collections.KtList<string>;
2896
- get state(): Nullable<com.doordeck.multiplatform.sdk.model.responses.SiteStateResponse>;
2897
2904
  get favourite(): Nullable<boolean>;
2898
- copy(unlockTime?: number, permittedAddresses?: kotlin.collections.KtList<string>, defaultName?: string, tiles?: kotlin.collections.KtList<string>, state?: Nullable<com.doordeck.multiplatform.sdk.model.responses.SiteStateResponse>, favourite?: Nullable<boolean>): com.doordeck.multiplatform.sdk.model.responses.SiteLockSettingsResponse;
2905
+ copy(unlockTime?: number, permittedAddresses?: kotlin.collections.KtList<string>, defaultName?: string, tiles?: kotlin.collections.KtList<string>, favourite?: Nullable<boolean>): com.doordeck.multiplatform.sdk.model.responses.SiteLockSettingsResponse;
2899
2906
  toString(): string;
2900
2907
  hashCode(): number;
2901
2908
  equals(other: Nullable<any>): boolean;