@izak0s/spacebring-api 5.2.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
@@ -3603,6 +3603,11 @@ interface components {
3603
3603
  customerName?: string;
3604
3604
  /** @description Customer tax ID. */
3605
3605
  customerTaxId?: string;
3606
+ /**
3607
+ * Format: date-time
3608
+ * @description ISO timestamp of when the invoice was deleted.
3609
+ */
3610
+ deleteDate?: string;
3606
3611
  /**
3607
3612
  * Format: date-time
3608
3613
  * @description Payment due date.
@@ -3982,6 +3987,11 @@ interface components {
3982
3987
  customerName?: string;
3983
3988
  /** @description Customer tax ID. */
3984
3989
  customerTaxId?: string;
3990
+ /**
3991
+ * Format: date-time
3992
+ * @description ISO timestamp of when the invoice was deleted.
3993
+ */
3994
+ deleteDate?: string;
3985
3995
  /**
3986
3996
  * Format: date-time
3987
3997
  * @description Payment due date.
@@ -4358,6 +4368,11 @@ interface components {
4358
4368
  customerName?: string;
4359
4369
  /** @description Customer tax ID. */
4360
4370
  customerTaxId?: string;
4371
+ /**
4372
+ * Format: date-time
4373
+ * @description ISO timestamp of when the invoice was deleted.
4374
+ */
4375
+ deleteDate?: string;
4361
4376
  /**
4362
4377
  * Format: date-time
4363
4378
  * @description Payment due date.
@@ -7340,6 +7355,11 @@ interface components {
7340
7355
  * @description ISO timestamp of when the post was created.
7341
7356
  */
7342
7357
  createDate: string;
7358
+ /**
7359
+ * Format: date-time
7360
+ * @description ISO timestamp of when the post was deleted.
7361
+ */
7362
+ deleteDate?: string;
7343
7363
  /**
7344
7364
  * Format: uuid
7345
7365
  * @description Unique identifier of the post.
@@ -10623,7 +10643,10 @@ interface components {
10623
10643
  * @enum {string}
10624
10644
  */
10625
10645
  billingCycleAnchor: "any" | "day";
10626
- /** @description Company associated with this subscription. */
10646
+ /**
10647
+ * @deprecated
10648
+ * @description Company associated with this subscription. Deprecated — use customer instead.
10649
+ */
10627
10650
  company?: {
10628
10651
  /**
10629
10652
  * Format: date-time
@@ -10695,6 +10718,46 @@ interface components {
10695
10718
  */
10696
10719
  startDate: string;
10697
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
+ };
10698
10761
  /**
10699
10762
  * Format: uuid
10700
10763
  * @description ID of the customer billed for this subscription.
@@ -10901,6 +10964,11 @@ interface components {
10901
10964
  * @description Unique identifier of the resource.
10902
10965
  */
10903
10966
  id: string;
10967
+ /**
10968
+ * @deprecated
10969
+ * @description Cover image URL of the resource.
10970
+ */
10971
+ coverUrl?: string;
10904
10972
  /** @description Cover image URL of the resource. */
10905
10973
  imageUrl?: string;
10906
10974
  /** @description Display name of the resource. */
@@ -11055,7 +11123,10 @@ interface components {
11055
11123
  subscriptionType: "company" | "user";
11056
11124
  /** @description Timezone identifier for billing dates. */
11057
11125
  timezoneId: string;
11058
- /** @description User associated with this subscription. */
11126
+ /**
11127
+ * @deprecated
11128
+ * @description User associated with this subscription. Deprecated — use customer instead.
11129
+ */
11059
11130
  user?: {
11060
11131
  /** @description User bio. */
11061
11132
  about?: string | null;
@@ -11145,7 +11216,10 @@ interface components {
11145
11216
  * @enum {string}
11146
11217
  */
11147
11218
  billingCycleAnchor: "any" | "day";
11148
- /** @description Company associated with this subscription. */
11219
+ /**
11220
+ * @deprecated
11221
+ * @description Company associated with this subscription. Deprecated — use customer instead.
11222
+ */
11149
11223
  company?: {
11150
11224
  /**
11151
11225
  * Format: date-time
@@ -11217,6 +11291,46 @@ interface components {
11217
11291
  */
11218
11292
  startDate: string;
11219
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
+ };
11220
11334
  /**
11221
11335
  * Format: uuid
11222
11336
  * @description ID of the customer billed for this subscription.
@@ -11423,6 +11537,11 @@ interface components {
11423
11537
  * @description Unique identifier of the resource.
11424
11538
  */
11425
11539
  id: string;
11540
+ /**
11541
+ * @deprecated
11542
+ * @description Cover image URL of the resource.
11543
+ */
11544
+ coverUrl?: string;
11426
11545
  /** @description Cover image URL of the resource. */
11427
11546
  imageUrl?: string;
11428
11547
  /** @description Display name of the resource. */
@@ -11577,7 +11696,10 @@ interface components {
11577
11696
  subscriptionType: "company" | "user";
11578
11697
  /** @description Timezone identifier for billing dates. */
11579
11698
  timezoneId: string;
11580
- /** @description User associated with this subscription. */
11699
+ /**
11700
+ * @deprecated
11701
+ * @description User associated with this subscription. Deprecated — use customer instead.
11702
+ */
11581
11703
  user?: {
11582
11704
  /** @description User bio. */
11583
11705
  about?: string | null;
@@ -11668,7 +11790,10 @@ interface components {
11668
11790
  * @enum {string}
11669
11791
  */
11670
11792
  billingCycleAnchor: "any" | "day";
11671
- /** @description Company associated with this subscription. */
11793
+ /**
11794
+ * @deprecated
11795
+ * @description Company associated with this subscription. Deprecated — use customer instead.
11796
+ */
11672
11797
  company?: {
11673
11798
  /**
11674
11799
  * Format: date-time
@@ -11740,6 +11865,46 @@ interface components {
11740
11865
  */
11741
11866
  startDate: string;
11742
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
+ };
11743
11908
  /**
11744
11909
  * Format: uuid
11745
11910
  * @description ID of the customer billed for this subscription.
@@ -11946,6 +12111,11 @@ interface components {
11946
12111
  * @description Unique identifier of the resource.
11947
12112
  */
11948
12113
  id: string;
12114
+ /**
12115
+ * @deprecated
12116
+ * @description Cover image URL of the resource.
12117
+ */
12118
+ coverUrl?: string;
11949
12119
  /** @description Cover image URL of the resource. */
11950
12120
  imageUrl?: string;
11951
12121
  /** @description Display name of the resource. */
@@ -12100,7 +12270,10 @@ interface components {
12100
12270
  subscriptionType: "company" | "user";
12101
12271
  /** @description Timezone identifier for billing dates. */
12102
12272
  timezoneId: string;
12103
- /** @description User associated with this subscription. */
12273
+ /**
12274
+ * @deprecated
12275
+ * @description User associated with this subscription. Deprecated — use customer instead.
12276
+ */
12104
12277
  user?: {
12105
12278
  /** @description User bio. */
12106
12279
  about?: string | null;
@@ -15241,6 +15414,11 @@ interface components {
15241
15414
  * @description ISO timestamp of the scheduled visit date.
15242
15415
  */
15243
15416
  date: string;
15417
+ /**
15418
+ * Format: date-time
15419
+ * @description ISO timestamp of when the visit was canceled.
15420
+ */
15421
+ deleteDate?: string;
15244
15422
  /**
15245
15423
  * Format: uuid
15246
15424
  * @description Unique identifier of the visit.
package/dist/index.d.ts CHANGED
@@ -3603,6 +3603,11 @@ interface components {
3603
3603
  customerName?: string;
3604
3604
  /** @description Customer tax ID. */
3605
3605
  customerTaxId?: string;
3606
+ /**
3607
+ * Format: date-time
3608
+ * @description ISO timestamp of when the invoice was deleted.
3609
+ */
3610
+ deleteDate?: string;
3606
3611
  /**
3607
3612
  * Format: date-time
3608
3613
  * @description Payment due date.
@@ -3982,6 +3987,11 @@ interface components {
3982
3987
  customerName?: string;
3983
3988
  /** @description Customer tax ID. */
3984
3989
  customerTaxId?: string;
3990
+ /**
3991
+ * Format: date-time
3992
+ * @description ISO timestamp of when the invoice was deleted.
3993
+ */
3994
+ deleteDate?: string;
3985
3995
  /**
3986
3996
  * Format: date-time
3987
3997
  * @description Payment due date.
@@ -4358,6 +4368,11 @@ interface components {
4358
4368
  customerName?: string;
4359
4369
  /** @description Customer tax ID. */
4360
4370
  customerTaxId?: string;
4371
+ /**
4372
+ * Format: date-time
4373
+ * @description ISO timestamp of when the invoice was deleted.
4374
+ */
4375
+ deleteDate?: string;
4361
4376
  /**
4362
4377
  * Format: date-time
4363
4378
  * @description Payment due date.
@@ -7340,6 +7355,11 @@ interface components {
7340
7355
  * @description ISO timestamp of when the post was created.
7341
7356
  */
7342
7357
  createDate: string;
7358
+ /**
7359
+ * Format: date-time
7360
+ * @description ISO timestamp of when the post was deleted.
7361
+ */
7362
+ deleteDate?: string;
7343
7363
  /**
7344
7364
  * Format: uuid
7345
7365
  * @description Unique identifier of the post.
@@ -10623,7 +10643,10 @@ interface components {
10623
10643
  * @enum {string}
10624
10644
  */
10625
10645
  billingCycleAnchor: "any" | "day";
10626
- /** @description Company associated with this subscription. */
10646
+ /**
10647
+ * @deprecated
10648
+ * @description Company associated with this subscription. Deprecated — use customer instead.
10649
+ */
10627
10650
  company?: {
10628
10651
  /**
10629
10652
  * Format: date-time
@@ -10695,6 +10718,46 @@ interface components {
10695
10718
  */
10696
10719
  startDate: string;
10697
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
+ };
10698
10761
  /**
10699
10762
  * Format: uuid
10700
10763
  * @description ID of the customer billed for this subscription.
@@ -10901,6 +10964,11 @@ interface components {
10901
10964
  * @description Unique identifier of the resource.
10902
10965
  */
10903
10966
  id: string;
10967
+ /**
10968
+ * @deprecated
10969
+ * @description Cover image URL of the resource.
10970
+ */
10971
+ coverUrl?: string;
10904
10972
  /** @description Cover image URL of the resource. */
10905
10973
  imageUrl?: string;
10906
10974
  /** @description Display name of the resource. */
@@ -11055,7 +11123,10 @@ interface components {
11055
11123
  subscriptionType: "company" | "user";
11056
11124
  /** @description Timezone identifier for billing dates. */
11057
11125
  timezoneId: string;
11058
- /** @description User associated with this subscription. */
11126
+ /**
11127
+ * @deprecated
11128
+ * @description User associated with this subscription. Deprecated — use customer instead.
11129
+ */
11059
11130
  user?: {
11060
11131
  /** @description User bio. */
11061
11132
  about?: string | null;
@@ -11145,7 +11216,10 @@ interface components {
11145
11216
  * @enum {string}
11146
11217
  */
11147
11218
  billingCycleAnchor: "any" | "day";
11148
- /** @description Company associated with this subscription. */
11219
+ /**
11220
+ * @deprecated
11221
+ * @description Company associated with this subscription. Deprecated — use customer instead.
11222
+ */
11149
11223
  company?: {
11150
11224
  /**
11151
11225
  * Format: date-time
@@ -11217,6 +11291,46 @@ interface components {
11217
11291
  */
11218
11292
  startDate: string;
11219
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
+ };
11220
11334
  /**
11221
11335
  * Format: uuid
11222
11336
  * @description ID of the customer billed for this subscription.
@@ -11423,6 +11537,11 @@ interface components {
11423
11537
  * @description Unique identifier of the resource.
11424
11538
  */
11425
11539
  id: string;
11540
+ /**
11541
+ * @deprecated
11542
+ * @description Cover image URL of the resource.
11543
+ */
11544
+ coverUrl?: string;
11426
11545
  /** @description Cover image URL of the resource. */
11427
11546
  imageUrl?: string;
11428
11547
  /** @description Display name of the resource. */
@@ -11577,7 +11696,10 @@ interface components {
11577
11696
  subscriptionType: "company" | "user";
11578
11697
  /** @description Timezone identifier for billing dates. */
11579
11698
  timezoneId: string;
11580
- /** @description User associated with this subscription. */
11699
+ /**
11700
+ * @deprecated
11701
+ * @description User associated with this subscription. Deprecated — use customer instead.
11702
+ */
11581
11703
  user?: {
11582
11704
  /** @description User bio. */
11583
11705
  about?: string | null;
@@ -11668,7 +11790,10 @@ interface components {
11668
11790
  * @enum {string}
11669
11791
  */
11670
11792
  billingCycleAnchor: "any" | "day";
11671
- /** @description Company associated with this subscription. */
11793
+ /**
11794
+ * @deprecated
11795
+ * @description Company associated with this subscription. Deprecated — use customer instead.
11796
+ */
11672
11797
  company?: {
11673
11798
  /**
11674
11799
  * Format: date-time
@@ -11740,6 +11865,46 @@ interface components {
11740
11865
  */
11741
11866
  startDate: string;
11742
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
+ };
11743
11908
  /**
11744
11909
  * Format: uuid
11745
11910
  * @description ID of the customer billed for this subscription.
@@ -11946,6 +12111,11 @@ interface components {
11946
12111
  * @description Unique identifier of the resource.
11947
12112
  */
11948
12113
  id: string;
12114
+ /**
12115
+ * @deprecated
12116
+ * @description Cover image URL of the resource.
12117
+ */
12118
+ coverUrl?: string;
11949
12119
  /** @description Cover image URL of the resource. */
11950
12120
  imageUrl?: string;
11951
12121
  /** @description Display name of the resource. */
@@ -12100,7 +12270,10 @@ interface components {
12100
12270
  subscriptionType: "company" | "user";
12101
12271
  /** @description Timezone identifier for billing dates. */
12102
12272
  timezoneId: string;
12103
- /** @description User associated with this subscription. */
12273
+ /**
12274
+ * @deprecated
12275
+ * @description User associated with this subscription. Deprecated — use customer instead.
12276
+ */
12104
12277
  user?: {
12105
12278
  /** @description User bio. */
12106
12279
  about?: string | null;
@@ -15241,6 +15414,11 @@ interface components {
15241
15414
  * @description ISO timestamp of the scheduled visit date.
15242
15415
  */
15243
15416
  date: string;
15417
+ /**
15418
+ * Format: date-time
15419
+ * @description ISO timestamp of when the visit was canceled.
15420
+ */
15421
+ deleteDate?: string;
15244
15422
  /**
15245
15423
  * Format: uuid
15246
15424
  * @description Unique identifier of the visit.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@izak0s/spacebring-api",
3
- "version": "5.2.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",