@wix/auto_sdk_multilingual_locale-settings 1.0.12 → 1.0.13

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.
@@ -730,6 +730,98 @@ interface PicassoAssigned {
730
730
  /** Unassigned Picasso */
731
731
  interface PicassoUnassigned {
732
732
  }
733
+ /** Request message for querying locale settings */
734
+ interface QueryLocaleSettingsRequest {
735
+ /** WQL expression. */
736
+ query?: CursorQuery;
737
+ }
738
+ interface CursorQuery extends CursorQueryPagingMethodOneOf {
739
+ /** Cursor token pointing to a page of results. Not used in the first request. Following requests use the cursor token and not `filter` or `sort`. */
740
+ cursorPaging?: CursorPaging;
741
+ /**
742
+ * Filter object in the following format:
743
+ * `"filter" : {
744
+ * "fieldName1": "value1",
745
+ * "fieldName2":{"$operator":"value2"}
746
+ * }`
747
+ * Example of operators: `$eq`, `$ne`, `$lt`, `$lte`, `$gt`, `$gte`, `$in`, `$hasSome`, `$hasAll`, `$startsWith`, `$contains`
748
+ */
749
+ filter?: Record<string, any> | null;
750
+ /**
751
+ * Sort object in the following format:
752
+ * `[{"fieldName":"sortField1","order":"ASC"},{"fieldName":"sortField2","order":"DESC"}]`
753
+ * @maxSize 5
754
+ */
755
+ sort?: Sorting[];
756
+ }
757
+ /** @oneof */
758
+ interface CursorQueryPagingMethodOneOf {
759
+ /** Cursor token pointing to a page of results. Not used in the first request. Following requests use the cursor token and not `filter` or `sort`. */
760
+ cursorPaging?: CursorPaging;
761
+ }
762
+ interface Sorting {
763
+ /**
764
+ * Name of the field to sort by.
765
+ * @maxLength 512
766
+ */
767
+ fieldName?: string;
768
+ /** Sort order. */
769
+ order?: SortOrderWithLiterals;
770
+ }
771
+ declare enum SortOrder {
772
+ ASC = "ASC",
773
+ DESC = "DESC"
774
+ }
775
+ /** @enumType */
776
+ type SortOrderWithLiterals = SortOrder | 'ASC' | 'DESC';
777
+ interface CursorPaging {
778
+ /**
779
+ * Maximum number of items to return in the results.
780
+ * @max 100
781
+ */
782
+ limit?: number | null;
783
+ /**
784
+ * Pointer to the next or previous page in the list of results.
785
+ *
786
+ * Pass the relevant cursor token from the `pagingMetadata` object in the previous call's response.
787
+ * Not relevant for the first request.
788
+ * @maxLength 16000
789
+ */
790
+ cursor?: string | null;
791
+ }
792
+ /** Response message containing the queried locale settings */
793
+ interface QueryLocaleSettingsResponse {
794
+ /** List of locale settings. Empty if no settings exist. */
795
+ localeSettings?: LocaleSettings[];
796
+ /** Paging metadata */
797
+ pagingMetadata?: CursorPagingMetadata;
798
+ }
799
+ /** This is the preferred message for cursor-paging enabled services */
800
+ interface CursorPagingMetadata {
801
+ /** Number of items returned in the response. */
802
+ count?: number | null;
803
+ /** Cursor strings that point to the next page, previous page, or both. */
804
+ cursors?: Cursors;
805
+ /**
806
+ * Whether there are more pages to retrieve following the current page.
807
+ *
808
+ * + `true`: Another page of results can be retrieved.
809
+ * + `false`: This is the last page.
810
+ */
811
+ hasNext?: boolean | null;
812
+ }
813
+ interface Cursors {
814
+ /**
815
+ * Cursor string pointing to the next page in the list of results.
816
+ * @maxLength 16000
817
+ */
818
+ next?: string | null;
819
+ /**
820
+ * Cursor pointing to the previous page in the list of results.
821
+ * @maxLength 16000
822
+ */
823
+ prev?: string | null;
824
+ }
733
825
  interface MessageEnvelope {
734
826
  /**
735
827
  * App instance ID.
@@ -862,4 +954,4 @@ interface LocaleSettingsUpdatedEnvelope {
862
954
  metadata: EventMetadata;
863
955
  }
864
956
 
865
- export { type PicassoUnassigned as $, type ActionEvent as A, type SitePublished as B, type SiteUnpublished as C, DeleteStatus as D, type EntityCreatedEvent as E, type SiteMarkedAsTemplate as F, type GetLocaleSettingsResponse as G, type SiteMarkedAsWixSite as H, type ServiceProvisioned as I, type ServiceRemoved as J, type SiteRenamed as K, type LocaleSettings as L, type MultilingualModeUpdated as M, Namespace as N, type SiteHardDeleted as O, type NamespaceChanged as P, type StudioAssigned as Q, type RestoreInfo as R, type SetMultilingualModeResponse as S, type StudioUnassigned as T, type UpdateLocaleSettingsResponse as U, type SiteUrlChanged as V, WebhookIdentityType as W, type SitePurgedExternally as X, type OdeditorAssigned as Y, type OdeditorUnassigned as Z, type PicassoAssigned as _, type LocaleSettingsCreatedEnvelope as a, type MessageEnvelope as a0, type IdentificationData as a1, type IdentificationDataIdOneOf as a2, type BaseEventMetadata as a3, type EventMetadata as a4, type LocaleSettingsDeletedEnvelope as b, type LocaleSettingsMultilingualModeUpdatedEnvelope as c, type LocaleSettingsUpdatedEnvelope as d, UrlStructure as e, LocaleVisibility as f, State as g, SiteCreatedContext as h, type Locale as i, type UrlStructureOverride as j, type GetLocaleSettingsRequest as k, type UpdateLocaleSettingsRequest as l, type SetMultilingualModeRequest as m, type DomainEvent as n, type DomainEventBodyOneOf as o, type EntityUpdatedEvent as p, type EntityDeletedEvent as q, type Empty as r, type MetaSiteSpecialEvent as s, type MetaSiteSpecialEventPayloadOneOf as t, type Asset as u, type SiteCreated as v, type SiteTransferred as w, type SiteDeleted as x, type DeleteContext as y, type SiteUndeleted as z };
957
+ export { type PicassoAssigned as $, type ActionEvent as A, type SiteUndeleted as B, type SitePublished as C, DeleteStatus as D, type EntityCreatedEvent as E, type SiteUnpublished as F, type GetLocaleSettingsResponse as G, type SiteMarkedAsTemplate as H, type SiteMarkedAsWixSite as I, type ServiceProvisioned as J, type ServiceRemoved as K, type LocaleSettings as L, type MultilingualModeUpdated as M, Namespace as N, type SiteRenamed as O, type SiteHardDeleted as P, type NamespaceChanged as Q, type RestoreInfo as R, type SetMultilingualModeResponse as S, type StudioAssigned as T, type UpdateLocaleSettingsResponse as U, type StudioUnassigned as V, WebhookIdentityType as W, type SiteUrlChanged as X, type SitePurgedExternally as Y, type OdeditorAssigned as Z, type OdeditorUnassigned as _, type LocaleSettingsCreatedEnvelope as a, type PicassoUnassigned as a0, type QueryLocaleSettingsRequest as a1, type CursorQuery as a2, type CursorQueryPagingMethodOneOf as a3, type Sorting as a4, type CursorPaging as a5, type QueryLocaleSettingsResponse as a6, type CursorPagingMetadata as a7, type Cursors as a8, type MessageEnvelope as a9, type IdentificationData as aa, type IdentificationDataIdOneOf as ab, type BaseEventMetadata as ac, type EventMetadata as ad, type LocaleSettingsDeletedEnvelope as b, type LocaleSettingsMultilingualModeUpdatedEnvelope as c, type LocaleSettingsUpdatedEnvelope as d, UrlStructure as e, LocaleVisibility as f, State as g, SiteCreatedContext as h, SortOrder as i, type Locale as j, type UrlStructureOverride as k, type GetLocaleSettingsRequest as l, type UpdateLocaleSettingsRequest as m, type SetMultilingualModeRequest as n, type DomainEvent as o, type DomainEventBodyOneOf as p, type EntityUpdatedEvent as q, type EntityDeletedEvent as r, type Empty as s, type MetaSiteSpecialEvent as t, type MetaSiteSpecialEventPayloadOneOf as u, type Asset as v, type SiteCreated as w, type SiteTransferred as x, type SiteDeleted as y, type DeleteContext as z };
@@ -730,6 +730,98 @@ interface PicassoAssigned {
730
730
  /** Unassigned Picasso */
731
731
  interface PicassoUnassigned {
732
732
  }
733
+ /** Request message for querying locale settings */
734
+ interface QueryLocaleSettingsRequest {
735
+ /** WQL expression. */
736
+ query?: CursorQuery;
737
+ }
738
+ interface CursorQuery extends CursorQueryPagingMethodOneOf {
739
+ /** Cursor token pointing to a page of results. Not used in the first request. Following requests use the cursor token and not `filter` or `sort`. */
740
+ cursorPaging?: CursorPaging;
741
+ /**
742
+ * Filter object in the following format:
743
+ * `"filter" : {
744
+ * "fieldName1": "value1",
745
+ * "fieldName2":{"$operator":"value2"}
746
+ * }`
747
+ * Example of operators: `$eq`, `$ne`, `$lt`, `$lte`, `$gt`, `$gte`, `$in`, `$hasSome`, `$hasAll`, `$startsWith`, `$contains`
748
+ */
749
+ filter?: Record<string, any> | null;
750
+ /**
751
+ * Sort object in the following format:
752
+ * `[{"fieldName":"sortField1","order":"ASC"},{"fieldName":"sortField2","order":"DESC"}]`
753
+ * @maxSize 5
754
+ */
755
+ sort?: Sorting[];
756
+ }
757
+ /** @oneof */
758
+ interface CursorQueryPagingMethodOneOf {
759
+ /** Cursor token pointing to a page of results. Not used in the first request. Following requests use the cursor token and not `filter` or `sort`. */
760
+ cursorPaging?: CursorPaging;
761
+ }
762
+ interface Sorting {
763
+ /**
764
+ * Name of the field to sort by.
765
+ * @maxLength 512
766
+ */
767
+ fieldName?: string;
768
+ /** Sort order. */
769
+ order?: SortOrderWithLiterals;
770
+ }
771
+ declare enum SortOrder {
772
+ ASC = "ASC",
773
+ DESC = "DESC"
774
+ }
775
+ /** @enumType */
776
+ type SortOrderWithLiterals = SortOrder | 'ASC' | 'DESC';
777
+ interface CursorPaging {
778
+ /**
779
+ * Maximum number of items to return in the results.
780
+ * @max 100
781
+ */
782
+ limit?: number | null;
783
+ /**
784
+ * Pointer to the next or previous page in the list of results.
785
+ *
786
+ * Pass the relevant cursor token from the `pagingMetadata` object in the previous call's response.
787
+ * Not relevant for the first request.
788
+ * @maxLength 16000
789
+ */
790
+ cursor?: string | null;
791
+ }
792
+ /** Response message containing the queried locale settings */
793
+ interface QueryLocaleSettingsResponse {
794
+ /** List of locale settings. Empty if no settings exist. */
795
+ localeSettings?: LocaleSettings[];
796
+ /** Paging metadata */
797
+ pagingMetadata?: CursorPagingMetadata;
798
+ }
799
+ /** This is the preferred message for cursor-paging enabled services */
800
+ interface CursorPagingMetadata {
801
+ /** Number of items returned in the response. */
802
+ count?: number | null;
803
+ /** Cursor strings that point to the next page, previous page, or both. */
804
+ cursors?: Cursors;
805
+ /**
806
+ * Whether there are more pages to retrieve following the current page.
807
+ *
808
+ * + `true`: Another page of results can be retrieved.
809
+ * + `false`: This is the last page.
810
+ */
811
+ hasNext?: boolean | null;
812
+ }
813
+ interface Cursors {
814
+ /**
815
+ * Cursor string pointing to the next page in the list of results.
816
+ * @maxLength 16000
817
+ */
818
+ next?: string | null;
819
+ /**
820
+ * Cursor pointing to the previous page in the list of results.
821
+ * @maxLength 16000
822
+ */
823
+ prev?: string | null;
824
+ }
733
825
  interface MessageEnvelope {
734
826
  /**
735
827
  * App instance ID.
@@ -862,4 +954,4 @@ interface LocaleSettingsUpdatedEnvelope {
862
954
  metadata: EventMetadata;
863
955
  }
864
956
 
865
- export { type PicassoUnassigned as $, type ActionEvent as A, type SitePublished as B, type SiteUnpublished as C, DeleteStatus as D, type EntityCreatedEvent as E, type SiteMarkedAsTemplate as F, type GetLocaleSettingsResponse as G, type SiteMarkedAsWixSite as H, type ServiceProvisioned as I, type ServiceRemoved as J, type SiteRenamed as K, type LocaleSettings as L, type MultilingualModeUpdated as M, Namespace as N, type SiteHardDeleted as O, type NamespaceChanged as P, type StudioAssigned as Q, type RestoreInfo as R, type SetMultilingualModeResponse as S, type StudioUnassigned as T, type UpdateLocaleSettingsResponse as U, type SiteUrlChanged as V, WebhookIdentityType as W, type SitePurgedExternally as X, type OdeditorAssigned as Y, type OdeditorUnassigned as Z, type PicassoAssigned as _, type LocaleSettingsCreatedEnvelope as a, type MessageEnvelope as a0, type IdentificationData as a1, type IdentificationDataIdOneOf as a2, type BaseEventMetadata as a3, type EventMetadata as a4, type LocaleSettingsDeletedEnvelope as b, type LocaleSettingsMultilingualModeUpdatedEnvelope as c, type LocaleSettingsUpdatedEnvelope as d, UrlStructure as e, LocaleVisibility as f, State as g, SiteCreatedContext as h, type Locale as i, type UrlStructureOverride as j, type GetLocaleSettingsRequest as k, type UpdateLocaleSettingsRequest as l, type SetMultilingualModeRequest as m, type DomainEvent as n, type DomainEventBodyOneOf as o, type EntityUpdatedEvent as p, type EntityDeletedEvent as q, type Empty as r, type MetaSiteSpecialEvent as s, type MetaSiteSpecialEventPayloadOneOf as t, type Asset as u, type SiteCreated as v, type SiteTransferred as w, type SiteDeleted as x, type DeleteContext as y, type SiteUndeleted as z };
957
+ export { type PicassoAssigned as $, type ActionEvent as A, type SiteUndeleted as B, type SitePublished as C, DeleteStatus as D, type EntityCreatedEvent as E, type SiteUnpublished as F, type GetLocaleSettingsResponse as G, type SiteMarkedAsTemplate as H, type SiteMarkedAsWixSite as I, type ServiceProvisioned as J, type ServiceRemoved as K, type LocaleSettings as L, type MultilingualModeUpdated as M, Namespace as N, type SiteRenamed as O, type SiteHardDeleted as P, type NamespaceChanged as Q, type RestoreInfo as R, type SetMultilingualModeResponse as S, type StudioAssigned as T, type UpdateLocaleSettingsResponse as U, type StudioUnassigned as V, WebhookIdentityType as W, type SiteUrlChanged as X, type SitePurgedExternally as Y, type OdeditorAssigned as Z, type OdeditorUnassigned as _, type LocaleSettingsCreatedEnvelope as a, type PicassoUnassigned as a0, type QueryLocaleSettingsRequest as a1, type CursorQuery as a2, type CursorQueryPagingMethodOneOf as a3, type Sorting as a4, type CursorPaging as a5, type QueryLocaleSettingsResponse as a6, type CursorPagingMetadata as a7, type Cursors as a8, type MessageEnvelope as a9, type IdentificationData as aa, type IdentificationDataIdOneOf as ab, type BaseEventMetadata as ac, type EventMetadata as ad, type LocaleSettingsDeletedEnvelope as b, type LocaleSettingsMultilingualModeUpdatedEnvelope as c, type LocaleSettingsUpdatedEnvelope as d, UrlStructure as e, LocaleVisibility as f, State as g, SiteCreatedContext as h, SortOrder as i, type Locale as j, type UrlStructureOverride as k, type GetLocaleSettingsRequest as l, type UpdateLocaleSettingsRequest as m, type SetMultilingualModeRequest as n, type DomainEvent as o, type DomainEventBodyOneOf as p, type EntityUpdatedEvent as q, type EntityDeletedEvent as r, type Empty as s, type MetaSiteSpecialEvent as t, type MetaSiteSpecialEventPayloadOneOf as u, type Asset as v, type SiteCreated as w, type SiteTransferred as x, type SiteDeleted as y, type DeleteContext as z };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wix/auto_sdk_multilingual_locale-settings",
3
- "version": "1.0.12",
3
+ "version": "1.0.13",
4
4
  "publishConfig": {
5
5
  "registry": "https://registry.npmjs.org/",
6
6
  "access": "public"
@@ -49,5 +49,5 @@
49
49
  "fqdn": "wix.multilingual.settings.v2.locale_settings"
50
50
  }
51
51
  },
52
- "falconPackageHash": "1b063fc3e9741e13594c8db7f8d5d6f9849993e6c8a8bb0a9702edbf"
52
+ "falconPackageHash": "e212423f5df960e6224dce0eac8f1a77a3b692a623d00e4dc6c3a60f"
53
53
  }