@izak0s/spacebring-api 5.3.0 → 5.4.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
@@ -10643,7 +10643,10 @@ interface components {
10643
10643
  * @enum {string}
10644
10644
  */
10645
10645
  billingCycleAnchor: "any" | "day";
10646
- /** @description Company associated with this subscription. */
10646
+ /**
10647
+ * @deprecated
10648
+ * @description Company associated with this subscription. Deprecated — use customer instead.
10649
+ */
10647
10650
  company?: {
10648
10651
  /**
10649
10652
  * Format: date-time
@@ -10715,6 +10718,46 @@ interface components {
10715
10718
  */
10716
10719
  startDate: string;
10717
10720
  };
10721
+ /** @description Customer billed for this subscription. */
10722
+ customer: {
10723
+ /**
10724
+ * Format: uuid
10725
+ * @description Unique identifier of the customer.
10726
+ */
10727
+ id: string;
10728
+ /** @description Company logo. */
10729
+ logo?: {
10730
+ /** @description Storage key of the company logo. */
10731
+ key: string;
10732
+ /** @description Public URL of the company logo. */
10733
+ url: string;
10734
+ };
10735
+ /** @description Logo URL resolved from the company website. */
10736
+ publicLogoUrl?: string;
10737
+ /** @description Display name of the company customer. */
10738
+ title?: string;
10739
+ /**
10740
+ * @description Whether the customer is a company or user.
10741
+ * @enum {string}
10742
+ */
10743
+ type: "company" | "user";
10744
+ /** @description User associated with the customer. */
10745
+ user?: {
10746
+ /** @description User email address. */
10747
+ email?: string | null;
10748
+ /**
10749
+ * Format: uuid
10750
+ * @description Unique identifier of the user.
10751
+ */
10752
+ id: string;
10753
+ /** @description User first name. */
10754
+ name?: string | null;
10755
+ /** @description User profile photo URL. */
10756
+ photoUrl?: string | null;
10757
+ /** @description User last name. */
10758
+ surname?: string | null;
10759
+ };
10760
+ };
10718
10761
  /**
10719
10762
  * Format: uuid
10720
10763
  * @description ID of the customer billed for this subscription.
@@ -11080,7 +11123,10 @@ interface components {
11080
11123
  subscriptionType: "company" | "user";
11081
11124
  /** @description Timezone identifier for billing dates. */
11082
11125
  timezoneId: string;
11083
- /** @description User associated with this subscription. */
11126
+ /**
11127
+ * @deprecated
11128
+ * @description User associated with this subscription. Deprecated — use customer instead.
11129
+ */
11084
11130
  user?: {
11085
11131
  /** @description User bio. */
11086
11132
  about?: string | null;
@@ -11170,7 +11216,10 @@ interface components {
11170
11216
  * @enum {string}
11171
11217
  */
11172
11218
  billingCycleAnchor: "any" | "day";
11173
- /** @description Company associated with this subscription. */
11219
+ /**
11220
+ * @deprecated
11221
+ * @description Company associated with this subscription. Deprecated — use customer instead.
11222
+ */
11174
11223
  company?: {
11175
11224
  /**
11176
11225
  * Format: date-time
@@ -11242,6 +11291,46 @@ interface components {
11242
11291
  */
11243
11292
  startDate: string;
11244
11293
  };
11294
+ /** @description Customer billed for this subscription. */
11295
+ customer: {
11296
+ /**
11297
+ * Format: uuid
11298
+ * @description Unique identifier of the customer.
11299
+ */
11300
+ id: string;
11301
+ /** @description Company logo. */
11302
+ logo?: {
11303
+ /** @description Storage key of the company logo. */
11304
+ key: string;
11305
+ /** @description Public URL of the company logo. */
11306
+ url: string;
11307
+ };
11308
+ /** @description Logo URL resolved from the company website. */
11309
+ publicLogoUrl?: string;
11310
+ /** @description Display name of the company customer. */
11311
+ title?: string;
11312
+ /**
11313
+ * @description Whether the customer is a company or user.
11314
+ * @enum {string}
11315
+ */
11316
+ type: "company" | "user";
11317
+ /** @description User associated with the customer. */
11318
+ user?: {
11319
+ /** @description User email address. */
11320
+ email?: string | null;
11321
+ /**
11322
+ * Format: uuid
11323
+ * @description Unique identifier of the user.
11324
+ */
11325
+ id: string;
11326
+ /** @description User first name. */
11327
+ name?: string | null;
11328
+ /** @description User profile photo URL. */
11329
+ photoUrl?: string | null;
11330
+ /** @description User last name. */
11331
+ surname?: string | null;
11332
+ };
11333
+ };
11245
11334
  /**
11246
11335
  * Format: uuid
11247
11336
  * @description ID of the customer billed for this subscription.
@@ -11607,7 +11696,10 @@ interface components {
11607
11696
  subscriptionType: "company" | "user";
11608
11697
  /** @description Timezone identifier for billing dates. */
11609
11698
  timezoneId: string;
11610
- /** @description User associated with this subscription. */
11699
+ /**
11700
+ * @deprecated
11701
+ * @description User associated with this subscription. Deprecated — use customer instead.
11702
+ */
11611
11703
  user?: {
11612
11704
  /** @description User bio. */
11613
11705
  about?: string | null;
@@ -11698,7 +11790,10 @@ interface components {
11698
11790
  * @enum {string}
11699
11791
  */
11700
11792
  billingCycleAnchor: "any" | "day";
11701
- /** @description Company associated with this subscription. */
11793
+ /**
11794
+ * @deprecated
11795
+ * @description Company associated with this subscription. Deprecated — use customer instead.
11796
+ */
11702
11797
  company?: {
11703
11798
  /**
11704
11799
  * Format: date-time
@@ -11770,6 +11865,46 @@ interface components {
11770
11865
  */
11771
11866
  startDate: string;
11772
11867
  };
11868
+ /** @description Customer billed for this subscription. */
11869
+ customer: {
11870
+ /**
11871
+ * Format: uuid
11872
+ * @description Unique identifier of the customer.
11873
+ */
11874
+ id: string;
11875
+ /** @description Company logo. */
11876
+ logo?: {
11877
+ /** @description Storage key of the company logo. */
11878
+ key: string;
11879
+ /** @description Public URL of the company logo. */
11880
+ url: string;
11881
+ };
11882
+ /** @description Logo URL resolved from the company website. */
11883
+ publicLogoUrl?: string;
11884
+ /** @description Display name of the company customer. */
11885
+ title?: string;
11886
+ /**
11887
+ * @description Whether the customer is a company or user.
11888
+ * @enum {string}
11889
+ */
11890
+ type: "company" | "user";
11891
+ /** @description User associated with the customer. */
11892
+ user?: {
11893
+ /** @description User email address. */
11894
+ email?: string | null;
11895
+ /**
11896
+ * Format: uuid
11897
+ * @description Unique identifier of the user.
11898
+ */
11899
+ id: string;
11900
+ /** @description User first name. */
11901
+ name?: string | null;
11902
+ /** @description User profile photo URL. */
11903
+ photoUrl?: string | null;
11904
+ /** @description User last name. */
11905
+ surname?: string | null;
11906
+ };
11907
+ };
11773
11908
  /**
11774
11909
  * Format: uuid
11775
11910
  * @description ID of the customer billed for this subscription.
@@ -12135,7 +12270,10 @@ interface components {
12135
12270
  subscriptionType: "company" | "user";
12136
12271
  /** @description Timezone identifier for billing dates. */
12137
12272
  timezoneId: string;
12138
- /** @description User associated with this subscription. */
12273
+ /**
12274
+ * @deprecated
12275
+ * @description User associated with this subscription. Deprecated — use customer instead.
12276
+ */
12139
12277
  user?: {
12140
12278
  /** @description User bio. */
12141
12279
  about?: string | null;
package/dist/index.d.ts CHANGED
@@ -10643,7 +10643,10 @@ interface components {
10643
10643
  * @enum {string}
10644
10644
  */
10645
10645
  billingCycleAnchor: "any" | "day";
10646
- /** @description Company associated with this subscription. */
10646
+ /**
10647
+ * @deprecated
10648
+ * @description Company associated with this subscription. Deprecated — use customer instead.
10649
+ */
10647
10650
  company?: {
10648
10651
  /**
10649
10652
  * Format: date-time
@@ -10715,6 +10718,46 @@ interface components {
10715
10718
  */
10716
10719
  startDate: string;
10717
10720
  };
10721
+ /** @description Customer billed for this subscription. */
10722
+ customer: {
10723
+ /**
10724
+ * Format: uuid
10725
+ * @description Unique identifier of the customer.
10726
+ */
10727
+ id: string;
10728
+ /** @description Company logo. */
10729
+ logo?: {
10730
+ /** @description Storage key of the company logo. */
10731
+ key: string;
10732
+ /** @description Public URL of the company logo. */
10733
+ url: string;
10734
+ };
10735
+ /** @description Logo URL resolved from the company website. */
10736
+ publicLogoUrl?: string;
10737
+ /** @description Display name of the company customer. */
10738
+ title?: string;
10739
+ /**
10740
+ * @description Whether the customer is a company or user.
10741
+ * @enum {string}
10742
+ */
10743
+ type: "company" | "user";
10744
+ /** @description User associated with the customer. */
10745
+ user?: {
10746
+ /** @description User email address. */
10747
+ email?: string | null;
10748
+ /**
10749
+ * Format: uuid
10750
+ * @description Unique identifier of the user.
10751
+ */
10752
+ id: string;
10753
+ /** @description User first name. */
10754
+ name?: string | null;
10755
+ /** @description User profile photo URL. */
10756
+ photoUrl?: string | null;
10757
+ /** @description User last name. */
10758
+ surname?: string | null;
10759
+ };
10760
+ };
10718
10761
  /**
10719
10762
  * Format: uuid
10720
10763
  * @description ID of the customer billed for this subscription.
@@ -11080,7 +11123,10 @@ interface components {
11080
11123
  subscriptionType: "company" | "user";
11081
11124
  /** @description Timezone identifier for billing dates. */
11082
11125
  timezoneId: string;
11083
- /** @description User associated with this subscription. */
11126
+ /**
11127
+ * @deprecated
11128
+ * @description User associated with this subscription. Deprecated — use customer instead.
11129
+ */
11084
11130
  user?: {
11085
11131
  /** @description User bio. */
11086
11132
  about?: string | null;
@@ -11170,7 +11216,10 @@ interface components {
11170
11216
  * @enum {string}
11171
11217
  */
11172
11218
  billingCycleAnchor: "any" | "day";
11173
- /** @description Company associated with this subscription. */
11219
+ /**
11220
+ * @deprecated
11221
+ * @description Company associated with this subscription. Deprecated — use customer instead.
11222
+ */
11174
11223
  company?: {
11175
11224
  /**
11176
11225
  * Format: date-time
@@ -11242,6 +11291,46 @@ interface components {
11242
11291
  */
11243
11292
  startDate: string;
11244
11293
  };
11294
+ /** @description Customer billed for this subscription. */
11295
+ customer: {
11296
+ /**
11297
+ * Format: uuid
11298
+ * @description Unique identifier of the customer.
11299
+ */
11300
+ id: string;
11301
+ /** @description Company logo. */
11302
+ logo?: {
11303
+ /** @description Storage key of the company logo. */
11304
+ key: string;
11305
+ /** @description Public URL of the company logo. */
11306
+ url: string;
11307
+ };
11308
+ /** @description Logo URL resolved from the company website. */
11309
+ publicLogoUrl?: string;
11310
+ /** @description Display name of the company customer. */
11311
+ title?: string;
11312
+ /**
11313
+ * @description Whether the customer is a company or user.
11314
+ * @enum {string}
11315
+ */
11316
+ type: "company" | "user";
11317
+ /** @description User associated with the customer. */
11318
+ user?: {
11319
+ /** @description User email address. */
11320
+ email?: string | null;
11321
+ /**
11322
+ * Format: uuid
11323
+ * @description Unique identifier of the user.
11324
+ */
11325
+ id: string;
11326
+ /** @description User first name. */
11327
+ name?: string | null;
11328
+ /** @description User profile photo URL. */
11329
+ photoUrl?: string | null;
11330
+ /** @description User last name. */
11331
+ surname?: string | null;
11332
+ };
11333
+ };
11245
11334
  /**
11246
11335
  * Format: uuid
11247
11336
  * @description ID of the customer billed for this subscription.
@@ -11607,7 +11696,10 @@ interface components {
11607
11696
  subscriptionType: "company" | "user";
11608
11697
  /** @description Timezone identifier for billing dates. */
11609
11698
  timezoneId: string;
11610
- /** @description User associated with this subscription. */
11699
+ /**
11700
+ * @deprecated
11701
+ * @description User associated with this subscription. Deprecated — use customer instead.
11702
+ */
11611
11703
  user?: {
11612
11704
  /** @description User bio. */
11613
11705
  about?: string | null;
@@ -11698,7 +11790,10 @@ interface components {
11698
11790
  * @enum {string}
11699
11791
  */
11700
11792
  billingCycleAnchor: "any" | "day";
11701
- /** @description Company associated with this subscription. */
11793
+ /**
11794
+ * @deprecated
11795
+ * @description Company associated with this subscription. Deprecated — use customer instead.
11796
+ */
11702
11797
  company?: {
11703
11798
  /**
11704
11799
  * Format: date-time
@@ -11770,6 +11865,46 @@ interface components {
11770
11865
  */
11771
11866
  startDate: string;
11772
11867
  };
11868
+ /** @description Customer billed for this subscription. */
11869
+ customer: {
11870
+ /**
11871
+ * Format: uuid
11872
+ * @description Unique identifier of the customer.
11873
+ */
11874
+ id: string;
11875
+ /** @description Company logo. */
11876
+ logo?: {
11877
+ /** @description Storage key of the company logo. */
11878
+ key: string;
11879
+ /** @description Public URL of the company logo. */
11880
+ url: string;
11881
+ };
11882
+ /** @description Logo URL resolved from the company website. */
11883
+ publicLogoUrl?: string;
11884
+ /** @description Display name of the company customer. */
11885
+ title?: string;
11886
+ /**
11887
+ * @description Whether the customer is a company or user.
11888
+ * @enum {string}
11889
+ */
11890
+ type: "company" | "user";
11891
+ /** @description User associated with the customer. */
11892
+ user?: {
11893
+ /** @description User email address. */
11894
+ email?: string | null;
11895
+ /**
11896
+ * Format: uuid
11897
+ * @description Unique identifier of the user.
11898
+ */
11899
+ id: string;
11900
+ /** @description User first name. */
11901
+ name?: string | null;
11902
+ /** @description User profile photo URL. */
11903
+ photoUrl?: string | null;
11904
+ /** @description User last name. */
11905
+ surname?: string | null;
11906
+ };
11907
+ };
11773
11908
  /**
11774
11909
  * Format: uuid
11775
11910
  * @description ID of the customer billed for this subscription.
@@ -12135,7 +12270,10 @@ interface components {
12135
12270
  subscriptionType: "company" | "user";
12136
12271
  /** @description Timezone identifier for billing dates. */
12137
12272
  timezoneId: string;
12138
- /** @description User associated with this subscription. */
12273
+ /**
12274
+ * @deprecated
12275
+ * @description User associated with this subscription. Deprecated — use customer instead.
12276
+ */
12139
12277
  user?: {
12140
12278
  /** @description User bio. */
12141
12279
  about?: string | null;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@izak0s/spacebring-api",
3
- "version": "5.3.0",
3
+ "version": "5.4.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",