@revenexx/sdk 0.0.6 → 0.0.7

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/dist/cjs/sdk.js CHANGED
@@ -657,7 +657,7 @@ class Client {
657
657
  'x-sdk-name': 'Revenexx Web',
658
658
  'x-sdk-platform': '',
659
659
  'x-sdk-language': 'web',
660
- 'x-sdk-version': '0.0.6'
660
+ 'x-sdk-version': '0.0.7'
661
661
  };
662
662
 
663
663
  /**
@@ -11885,7 +11885,7 @@ class Orderlists {
11885
11885
  * @param {OrderListKind} params.kind - List kind (default 'shopping').
11886
11886
  * @param {object} params.metadata -
11887
11887
  * @param {string} params.organizationId - Owning organization (scopes public sharing).
11888
- * @param {boolean} params.xpublic - Shared read-only across the organization (default false).
11888
+ * @param {boolean} params.shared - Shared read-only across the organization (default false).
11889
11889
  * @throws {RevenexxException}
11890
11890
  * @returns {Promise<Models.OrderListWithItems>}
11891
11891
  */
@@ -11899,7 +11899,7 @@ class Orderlists {
11899
11899
  * @param {OrderListKind} kind - List kind (default 'shopping').
11900
11900
  * @param {object} metadata -
11901
11901
  * @param {string} organizationId - Owning organization (scopes public sharing).
11902
- * @param {boolean} xpublic - Shared read-only across the organization (default false).
11902
+ * @param {boolean} shared - Shared read-only across the organization (default false).
11903
11903
  * @throws {RevenexxException}
11904
11904
  * @returns {Promise<Models.OrderListWithItems>}
11905
11905
  * @deprecated Use the object parameter style method for a better developer experience.
@@ -11918,7 +11918,7 @@ class Orderlists {
11918
11918
  kind: rest[3],
11919
11919
  metadata: rest[4],
11920
11920
  organizationId: rest[5],
11921
- xpublic: rest[6]
11921
+ shared: rest[6]
11922
11922
  };
11923
11923
  }
11924
11924
  const name = params.name;
@@ -11928,7 +11928,7 @@ class Orderlists {
11928
11928
  const kind = params.kind;
11929
11929
  const metadata = params.metadata;
11930
11930
  const organizationId = params.organizationId;
11931
- const xpublic = params.xpublic;
11931
+ const shared = params.shared;
11932
11932
  if (typeof name === 'undefined') {
11933
11933
  throw new RevenexxException('Missing required parameter: "name"');
11934
11934
  }
@@ -11961,8 +11961,8 @@ class Orderlists {
11961
11961
  if (typeof ownerName !== 'undefined') {
11962
11962
  apiPayload['owner_name'] = ownerName;
11963
11963
  }
11964
- if (typeof xpublic !== 'undefined') {
11965
- apiPayload['public'] = xpublic;
11964
+ if (typeof shared !== 'undefined') {
11965
+ apiPayload['shared'] = shared;
11966
11966
  }
11967
11967
  const uri = new URL(this.client.config.endpoint + apiPath);
11968
11968
  const apiHeaders = {
@@ -12060,7 +12060,7 @@ class Orderlists {
12060
12060
  * @param {OrderListKind} params.kind - List kind (default 'shopping').
12061
12061
  * @param {object} params.metadata -
12062
12062
  * @param {string} params.name -
12063
- * @param {boolean} params.xpublic -
12063
+ * @param {boolean} params.shared -
12064
12064
  * @throws {RevenexxException}
12065
12065
  * @returns {Promise<Models.OrderListWithItems>}
12066
12066
  */
@@ -12071,7 +12071,7 @@ class Orderlists {
12071
12071
  * @param {OrderListKind} kind - List kind (default 'shopping').
12072
12072
  * @param {object} metadata -
12073
12073
  * @param {string} name -
12074
- * @param {boolean} xpublic -
12074
+ * @param {boolean} shared -
12075
12075
  * @throws {RevenexxException}
12076
12076
  * @returns {Promise<Models.OrderListWithItems>}
12077
12077
  * @deprecated Use the object parameter style method for a better developer experience.
@@ -12087,14 +12087,14 @@ class Orderlists {
12087
12087
  kind: rest[0],
12088
12088
  metadata: rest[1],
12089
12089
  name: rest[2],
12090
- xpublic: rest[3]
12090
+ shared: rest[3]
12091
12091
  };
12092
12092
  }
12093
12093
  const id = params.id;
12094
12094
  const kind = params.kind;
12095
12095
  const metadata = params.metadata;
12096
12096
  const name = params.name;
12097
- const xpublic = params.xpublic;
12097
+ const shared = params.shared;
12098
12098
  if (typeof id === 'undefined') {
12099
12099
  throw new RevenexxException('Missing required parameter: "id"');
12100
12100
  }
@@ -12109,8 +12109,8 @@ class Orderlists {
12109
12109
  if (typeof name !== 'undefined') {
12110
12110
  apiPayload['name'] = name;
12111
12111
  }
12112
- if (typeof xpublic !== 'undefined') {
12113
- apiPayload['public'] = xpublic;
12112
+ if (typeof shared !== 'undefined') {
12113
+ apiPayload['shared'] = shared;
12114
12114
  }
12115
12115
  const uri = new URL(this.client.config.endpoint + apiPath);
12116
12116
  const apiHeaders = {