@izak0s/spacebring-api 6.1.0 → 6.3.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/dist/index.d.cts CHANGED
@@ -2892,7 +2892,7 @@ interface components {
2892
2892
  * @description Exchange rate provider when auto-update is enabled.
2893
2893
  * @enum {string}
2894
2894
  */
2895
- provider?: "fastForex" | "nbu" | "bcra" | "nbg" | "bcch" | "ecb";
2895
+ provider?: "nbu" | "bcra" | "nbg" | "bcch" | "ecb";
2896
2896
  };
2897
2897
  /** @description Pre-built query string for the next page of results. Contains all active filter parameters combined with the next page token, ready to append to the endpoint URL. */
2898
2898
  searchQueryNext: string;
@@ -5981,6 +5981,14 @@ interface components {
5981
5981
  surname?: string;
5982
5982
  };
5983
5983
  membership: {
5984
+ businessAddress?: {
5985
+ city?: string;
5986
+ countryCode?: string;
5987
+ line1?: string;
5988
+ line2?: string;
5989
+ postalCode?: string;
5990
+ state?: string;
5991
+ };
5984
5992
  /** Format: uuid */
5985
5993
  companyRef?: string;
5986
5994
  /** @enum {string} */
@@ -5997,6 +6005,7 @@ interface components {
5997
6005
  /** Format: uuid */
5998
6006
  id?: string;
5999
6007
  invitationDate?: components["schemas"]["dateSchema"];
6008
+ legalName?: string;
6000
6009
  locationRef?: string;
6001
6010
  metadata?: components["schemas"]["metadata"];
6002
6011
  notes?: string;
@@ -6006,6 +6015,7 @@ interface components {
6006
6015
  status?: "requested" | "approved";
6007
6016
  /** Format: uuid */
6008
6017
  subscriptionRef?: string;
6018
+ taxId?: string;
6009
6019
  /** @enum {string} */
6010
6020
  type?: "member" | "nonmember";
6011
6021
  user?: components["schemas"]["user"];
@@ -16638,7 +16648,7 @@ interface components {
16638
16648
  * @description Exchange rate provider when auto-update is enabled.
16639
16649
  * @enum {string}
16640
16650
  */
16641
- provider: "fastForex" | "nbu" | "bcra" | "nbg" | "bcch" | "ecb";
16651
+ provider: "nbu" | "bcra" | "nbg" | "bcch" | "ecb";
16642
16652
  } | {
16643
16653
  /** @description Exchange rate relative to the location main currency. */
16644
16654
  exchangeRate: number;
@@ -16655,7 +16665,7 @@ interface components {
16655
16665
  * @description Exchange rate provider when auto-update is enabled.
16656
16666
  * @enum {string}
16657
16667
  */
16658
- provider: "fastForex" | "nbu" | "bcra" | "nbg" | "bcch" | "ecb";
16668
+ provider: "nbu" | "bcra" | "nbg" | "bcch" | "ecb";
16659
16669
  } | {
16660
16670
  /** @description Exchange rate relative to the location main currency. */
16661
16671
  exchangeRate: number;
@@ -17315,10 +17325,28 @@ interface components {
17315
17325
  content: {
17316
17326
  "application/json": {
17317
17327
  membership: {
17328
+ businessAddress?: {
17329
+ /** @description The city of the membership to create. */
17330
+ city?: string;
17331
+ /** @description The country code of the membership to create. */
17332
+ countryCode?: string;
17333
+ /** @description The line 1 of the membership to create. */
17334
+ line1?: string;
17335
+ /** @description The line 2 of the membership to create. */
17336
+ line2?: string;
17337
+ /** @description The postal code of the membership to create. */
17338
+ postalCode?: string;
17339
+ /** @description The state of the membership to create. */
17340
+ state?: string;
17341
+ };
17318
17342
  /** Format: uuid */
17319
17343
  companyRef?: string;
17320
17344
  /** @enum {string} */
17321
17345
  companyRole?: "manager" | "member";
17346
+ /** @description The legal name of the membership to create. */
17347
+ legalName?: string;
17348
+ /** @description The tax id of the membership to create. */
17349
+ taxId?: string;
17322
17350
  /** @enum {string} */
17323
17351
  role: "admin" | "member";
17324
17352
  metadata?: components["schemas"]["metadata"];
@@ -22421,9 +22449,19 @@ interface operations {
22421
22449
  content: {
22422
22450
  "application/json": {
22423
22451
  membership: {
22424
- metadata: components["schemas"]["metadata"];
22452
+ businessAddress?: {
22453
+ city?: string;
22454
+ countryCode?: string;
22455
+ line1?: string;
22456
+ line2?: string;
22457
+ postalCode?: string;
22458
+ state?: string;
22459
+ };
22460
+ legalName?: string;
22461
+ metadata?: components["schemas"]["metadata"];
22425
22462
  /** @enum {string} */
22426
- role: "admin" | "member";
22463
+ role?: "admin" | "member";
22464
+ taxId?: string;
22427
22465
  };
22428
22466
  };
22429
22467
  };
package/dist/index.d.ts CHANGED
@@ -2892,7 +2892,7 @@ interface components {
2892
2892
  * @description Exchange rate provider when auto-update is enabled.
2893
2893
  * @enum {string}
2894
2894
  */
2895
- provider?: "fastForex" | "nbu" | "bcra" | "nbg" | "bcch" | "ecb";
2895
+ provider?: "nbu" | "bcra" | "nbg" | "bcch" | "ecb";
2896
2896
  };
2897
2897
  /** @description Pre-built query string for the next page of results. Contains all active filter parameters combined with the next page token, ready to append to the endpoint URL. */
2898
2898
  searchQueryNext: string;
@@ -5981,6 +5981,14 @@ interface components {
5981
5981
  surname?: string;
5982
5982
  };
5983
5983
  membership: {
5984
+ businessAddress?: {
5985
+ city?: string;
5986
+ countryCode?: string;
5987
+ line1?: string;
5988
+ line2?: string;
5989
+ postalCode?: string;
5990
+ state?: string;
5991
+ };
5984
5992
  /** Format: uuid */
5985
5993
  companyRef?: string;
5986
5994
  /** @enum {string} */
@@ -5997,6 +6005,7 @@ interface components {
5997
6005
  /** Format: uuid */
5998
6006
  id?: string;
5999
6007
  invitationDate?: components["schemas"]["dateSchema"];
6008
+ legalName?: string;
6000
6009
  locationRef?: string;
6001
6010
  metadata?: components["schemas"]["metadata"];
6002
6011
  notes?: string;
@@ -6006,6 +6015,7 @@ interface components {
6006
6015
  status?: "requested" | "approved";
6007
6016
  /** Format: uuid */
6008
6017
  subscriptionRef?: string;
6018
+ taxId?: string;
6009
6019
  /** @enum {string} */
6010
6020
  type?: "member" | "nonmember";
6011
6021
  user?: components["schemas"]["user"];
@@ -16638,7 +16648,7 @@ interface components {
16638
16648
  * @description Exchange rate provider when auto-update is enabled.
16639
16649
  * @enum {string}
16640
16650
  */
16641
- provider: "fastForex" | "nbu" | "bcra" | "nbg" | "bcch" | "ecb";
16651
+ provider: "nbu" | "bcra" | "nbg" | "bcch" | "ecb";
16642
16652
  } | {
16643
16653
  /** @description Exchange rate relative to the location main currency. */
16644
16654
  exchangeRate: number;
@@ -16655,7 +16665,7 @@ interface components {
16655
16665
  * @description Exchange rate provider when auto-update is enabled.
16656
16666
  * @enum {string}
16657
16667
  */
16658
- provider: "fastForex" | "nbu" | "bcra" | "nbg" | "bcch" | "ecb";
16668
+ provider: "nbu" | "bcra" | "nbg" | "bcch" | "ecb";
16659
16669
  } | {
16660
16670
  /** @description Exchange rate relative to the location main currency. */
16661
16671
  exchangeRate: number;
@@ -17315,10 +17325,28 @@ interface components {
17315
17325
  content: {
17316
17326
  "application/json": {
17317
17327
  membership: {
17328
+ businessAddress?: {
17329
+ /** @description The city of the membership to create. */
17330
+ city?: string;
17331
+ /** @description The country code of the membership to create. */
17332
+ countryCode?: string;
17333
+ /** @description The line 1 of the membership to create. */
17334
+ line1?: string;
17335
+ /** @description The line 2 of the membership to create. */
17336
+ line2?: string;
17337
+ /** @description The postal code of the membership to create. */
17338
+ postalCode?: string;
17339
+ /** @description The state of the membership to create. */
17340
+ state?: string;
17341
+ };
17318
17342
  /** Format: uuid */
17319
17343
  companyRef?: string;
17320
17344
  /** @enum {string} */
17321
17345
  companyRole?: "manager" | "member";
17346
+ /** @description The legal name of the membership to create. */
17347
+ legalName?: string;
17348
+ /** @description The tax id of the membership to create. */
17349
+ taxId?: string;
17322
17350
  /** @enum {string} */
17323
17351
  role: "admin" | "member";
17324
17352
  metadata?: components["schemas"]["metadata"];
@@ -22421,9 +22449,19 @@ interface operations {
22421
22449
  content: {
22422
22450
  "application/json": {
22423
22451
  membership: {
22424
- metadata: components["schemas"]["metadata"];
22452
+ businessAddress?: {
22453
+ city?: string;
22454
+ countryCode?: string;
22455
+ line1?: string;
22456
+ line2?: string;
22457
+ postalCode?: string;
22458
+ state?: string;
22459
+ };
22460
+ legalName?: string;
22461
+ metadata?: components["schemas"]["metadata"];
22425
22462
  /** @enum {string} */
22426
- role: "admin" | "member";
22463
+ role?: "admin" | "member";
22464
+ taxId?: string;
22427
22465
  };
22428
22466
  };
22429
22467
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@izak0s/spacebring-api",
3
- "version": "6.1.0",
3
+ "version": "6.3.0",
4
4
  "description": "Community-maintained TypeScript client (SDK) for the Spacebring (formerly andcards) coworking space management API",
5
5
  "license": "MIT",
6
6
  "author": "izak0s",