@izak0s/spacebring-api 5.5.0 → 5.6.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
@@ -3050,10 +3050,10 @@ interface components {
3050
3050
  */
3051
3051
  updateDate?: string;
3052
3052
  /**
3053
- * @description Who can see this benefit: 'public' (everyone), 'admins', 'members', or 'networkMembers'.
3053
+ * @description Who can see this benefit: 'public' (everyone), 'admins', 'exclusiveMembers', 'members', or 'networkMembers'.
3054
3054
  * @enum {string}
3055
3055
  */
3056
- visibility: "public" | "admins" | "members" | "networkMembers";
3056
+ visibility: "public" | "admins" | "exclusiveMembers" | "members" | "networkMembers";
3057
3057
  }[];
3058
3058
  /** @description Pagination token to fetch the next page of results. */
3059
3059
  nextPageToken?: string;
@@ -3130,10 +3130,10 @@ interface components {
3130
3130
  */
3131
3131
  updateDate?: string;
3132
3132
  /**
3133
- * @description Who can see this benefit: 'public' (everyone), 'admins', 'members', or 'networkMembers'.
3133
+ * @description Who can see this benefit: 'public' (everyone), 'admins', 'exclusiveMembers', 'members', or 'networkMembers'.
3134
3134
  * @enum {string}
3135
3135
  */
3136
- visibility: "public" | "admins" | "members" | "networkMembers";
3136
+ visibility: "public" | "admins" | "exclusiveMembers" | "members" | "networkMembers";
3137
3137
  };
3138
3138
  getBenefit: {
3139
3139
  /** @description The benefit. */
@@ -3207,10 +3207,10 @@ interface components {
3207
3207
  */
3208
3208
  updateDate?: string;
3209
3209
  /**
3210
- * @description Who can see this benefit: 'public' (everyone), 'admins', 'members', or 'networkMembers'.
3210
+ * @description Who can see this benefit: 'public' (everyone), 'admins', 'exclusiveMembers', 'members', or 'networkMembers'.
3211
3211
  * @enum {string}
3212
3212
  */
3213
- visibility: "public" | "admins" | "members" | "networkMembers";
3213
+ visibility: "public" | "admins" | "exclusiveMembers" | "members" | "networkMembers";
3214
3214
  };
3215
3215
  };
3216
3216
  getBenefitApplications: {
@@ -8060,8 +8060,10 @@ interface components {
8060
8060
  /** @description Discount percentage for shop products. */
8061
8061
  shop: number;
8062
8062
  };
8063
- /** @description Resources exclusively available to members on this plan. */
8063
+ /** @description Resources and benefits exclusively available to members on this plan. */
8064
8064
  exclusiveAccess: {
8065
+ /** @description Benefit IDs with exclusive access for this plan. */
8066
+ benefitRefs: string[];
8065
8067
  /** @description Resource IDs with exclusive access for this plan. */
8066
8068
  resourceRefs: string[];
8067
8069
  };
@@ -8229,8 +8231,10 @@ interface components {
8229
8231
  /** @description Discount percentage for shop products. */
8230
8232
  shop: number;
8231
8233
  };
8232
- /** @description Resources exclusively available to members on this plan. */
8234
+ /** @description Resources and benefits exclusively available to members on this plan. */
8233
8235
  exclusiveAccess: {
8236
+ /** @description Benefit IDs with exclusive access for this plan. */
8237
+ benefitRefs: string[];
8234
8238
  /** @description Resource IDs with exclusive access for this plan. */
8235
8239
  resourceRefs: string[];
8236
8240
  };
@@ -8397,8 +8401,10 @@ interface components {
8397
8401
  /** @description Discount percentage for shop products. */
8398
8402
  shop: number;
8399
8403
  };
8400
- /** @description Resources exclusively available to members on this plan. */
8404
+ /** @description Resources and benefits exclusively available to members on this plan. */
8401
8405
  exclusiveAccess: {
8406
+ /** @description Benefit IDs with exclusive access for this plan. */
8407
+ benefitRefs: string[];
8402
8408
  /** @description Resource IDs with exclusive access for this plan. */
8403
8409
  resourceRefs: string[];
8404
8410
  };
@@ -10917,8 +10923,10 @@ interface components {
10917
10923
  endFixed: boolean;
10918
10924
  /** @description Whether the item grants access to the entire resource. */
10919
10925
  entire?: boolean;
10920
- /** @description Resources with exclusive access. */
10926
+ /** @description Resources and benefits with exclusive access. */
10921
10927
  exclusiveAccess?: {
10928
+ /** @description Benefit IDs with exclusive access. */
10929
+ benefitRefs: string[];
10922
10930
  /** @description Resource IDs with exclusive access. */
10923
10931
  resourceRefs: string[];
10924
10932
  };
@@ -11490,8 +11498,10 @@ interface components {
11490
11498
  endFixed: boolean;
11491
11499
  /** @description Whether the item grants access to the entire resource. */
11492
11500
  entire?: boolean;
11493
- /** @description Resources with exclusive access. */
11501
+ /** @description Resources and benefits with exclusive access. */
11494
11502
  exclusiveAccess?: {
11503
+ /** @description Benefit IDs with exclusive access. */
11504
+ benefitRefs: string[];
11495
11505
  /** @description Resource IDs with exclusive access. */
11496
11506
  resourceRefs: string[];
11497
11507
  };
@@ -12064,8 +12074,10 @@ interface components {
12064
12074
  endFixed: boolean;
12065
12075
  /** @description Whether the item grants access to the entire resource. */
12066
12076
  entire?: boolean;
12067
- /** @description Resources with exclusive access. */
12077
+ /** @description Resources and benefits with exclusive access. */
12068
12078
  exclusiveAccess?: {
12079
+ /** @description Benefit IDs with exclusive access. */
12080
+ benefitRefs: string[];
12069
12081
  /** @description Resource IDs with exclusive access. */
12070
12082
  resourceRefs: string[];
12071
12083
  };
@@ -15699,11 +15711,11 @@ interface components {
15699
15711
  /** @description Display name of the benefit. */
15700
15712
  title: string;
15701
15713
  /**
15702
- * @description Who can see this benefit: 'public' (everyone), 'admins', 'members', or 'networkMembers'.
15714
+ * @description Who can see this benefit: 'public' (everyone), 'admins', 'exclusiveMembers', 'members', or 'networkMembers'.
15703
15715
  * @default public
15704
15716
  * @enum {string}
15705
15717
  */
15706
- visibility?: "public" | "admins" | "members" | "networkMembers";
15718
+ visibility?: "public" | "admins" | "exclusiveMembers" | "members" | "networkMembers";
15707
15719
  };
15708
15720
  };
15709
15721
  };
@@ -15784,11 +15796,11 @@ interface components {
15784
15796
  /** @description Display name of the benefit. */
15785
15797
  title: string;
15786
15798
  /**
15787
- * @description Who can see this benefit: 'public' (everyone), 'admins', 'members', or 'networkMembers'.
15799
+ * @description Who can see this benefit: 'public' (everyone), 'admins', 'exclusiveMembers', 'members', or 'networkMembers'.
15788
15800
  * @default public
15789
15801
  * @enum {string}
15790
15802
  */
15791
- visibility?: "public" | "admins" | "members" | "networkMembers";
15803
+ visibility?: "public" | "admins" | "exclusiveMembers" | "members" | "networkMembers";
15792
15804
  };
15793
15805
  };
15794
15806
  };
@@ -17148,12 +17160,14 @@ interface components {
17148
17160
  shop?: number;
17149
17161
  };
17150
17162
  /**
17151
- * @description Resources exclusively available to members on this plan.
17163
+ * @description Resources and benefits exclusively available to members on this plan.
17152
17164
  * @default {
17153
17165
  * "resourceRefs": []
17154
17166
  * }
17155
17167
  */
17156
17168
  exclusiveAccess?: {
17169
+ /** @description Benefit IDs with exclusive access for this plan. */
17170
+ benefitRefs?: string[];
17157
17171
  /** @description Resource IDs with exclusive access for this plan. */
17158
17172
  resourceRefs: string[];
17159
17173
  };
@@ -17302,12 +17316,14 @@ interface components {
17302
17316
  shop: number;
17303
17317
  };
17304
17318
  /**
17305
- * @description Resources exclusively available to members on this plan.
17319
+ * @description Resources and benefits exclusively available to members on this plan.
17306
17320
  * @default {
17307
17321
  * "resourceRefs": []
17308
17322
  * }
17309
17323
  */
17310
17324
  exclusiveAccess?: {
17325
+ /** @description Benefit IDs with exclusive access for this plan. */
17326
+ benefitRefs?: string[];
17311
17327
  /** @description Resource IDs with exclusive access for this plan. */
17312
17328
  resourceRefs: string[];
17313
17329
  };
@@ -18459,8 +18475,10 @@ interface components {
18459
18475
  endDate?: string;
18460
18476
  /** @description Whether the item grants access to the entire resource. */
18461
18477
  entire?: boolean;
18462
- /** @description Resources with exclusive access. */
18478
+ /** @description Resources and benefits with exclusive access. */
18463
18479
  exclusiveAccess?: {
18480
+ /** @description Benefit IDs with exclusive access. */
18481
+ benefitRefs?: string[];
18464
18482
  /** @description Resource IDs with exclusive access. */
18465
18483
  resourceRefs?: string[];
18466
18484
  };
@@ -18649,8 +18667,10 @@ interface components {
18649
18667
  endDate?: string;
18650
18668
  /** @description Whether the item grants access to the entire resource. */
18651
18669
  entire?: boolean;
18652
- /** @description Resources with exclusive access. */
18670
+ /** @description Resources and benefits with exclusive access. */
18653
18671
  exclusiveAccess?: {
18672
+ /** @description Benefit IDs with exclusive access. */
18673
+ benefitRefs?: string[];
18654
18674
  /** @description Resource IDs with exclusive access. */
18655
18675
  resourceRefs?: string[];
18656
18676
  };
@@ -18838,8 +18858,10 @@ interface components {
18838
18858
  endDate?: string;
18839
18859
  /** @description Whether the item grants access to the entire resource. */
18840
18860
  entire?: boolean;
18841
- /** @description Resources with exclusive access. */
18861
+ /** @description Resources and benefits with exclusive access. */
18842
18862
  exclusiveAccess?: {
18863
+ /** @description Benefit IDs with exclusive access. */
18864
+ benefitRefs?: string[];
18843
18865
  /** @description Resource IDs with exclusive access. */
18844
18866
  resourceRefs?: string[];
18845
18867
  };
@@ -18986,8 +19008,10 @@ interface components {
18986
19008
  endDate?: string;
18987
19009
  /** @description Whether the item grants access to the entire resource. */
18988
19010
  entire?: boolean;
18989
- /** @description Resources with exclusive access. */
19011
+ /** @description Resources and benefits with exclusive access. */
18990
19012
  exclusiveAccess?: {
19013
+ /** @description Benefit IDs with exclusive access. */
19014
+ benefitRefs?: string[];
18991
19015
  /** @description Resource IDs with exclusive access. */
18992
19016
  resourceRefs?: string[];
18993
19017
  };
package/dist/index.d.ts CHANGED
@@ -3050,10 +3050,10 @@ interface components {
3050
3050
  */
3051
3051
  updateDate?: string;
3052
3052
  /**
3053
- * @description Who can see this benefit: 'public' (everyone), 'admins', 'members', or 'networkMembers'.
3053
+ * @description Who can see this benefit: 'public' (everyone), 'admins', 'exclusiveMembers', 'members', or 'networkMembers'.
3054
3054
  * @enum {string}
3055
3055
  */
3056
- visibility: "public" | "admins" | "members" | "networkMembers";
3056
+ visibility: "public" | "admins" | "exclusiveMembers" | "members" | "networkMembers";
3057
3057
  }[];
3058
3058
  /** @description Pagination token to fetch the next page of results. */
3059
3059
  nextPageToken?: string;
@@ -3130,10 +3130,10 @@ interface components {
3130
3130
  */
3131
3131
  updateDate?: string;
3132
3132
  /**
3133
- * @description Who can see this benefit: 'public' (everyone), 'admins', 'members', or 'networkMembers'.
3133
+ * @description Who can see this benefit: 'public' (everyone), 'admins', 'exclusiveMembers', 'members', or 'networkMembers'.
3134
3134
  * @enum {string}
3135
3135
  */
3136
- visibility: "public" | "admins" | "members" | "networkMembers";
3136
+ visibility: "public" | "admins" | "exclusiveMembers" | "members" | "networkMembers";
3137
3137
  };
3138
3138
  getBenefit: {
3139
3139
  /** @description The benefit. */
@@ -3207,10 +3207,10 @@ interface components {
3207
3207
  */
3208
3208
  updateDate?: string;
3209
3209
  /**
3210
- * @description Who can see this benefit: 'public' (everyone), 'admins', 'members', or 'networkMembers'.
3210
+ * @description Who can see this benefit: 'public' (everyone), 'admins', 'exclusiveMembers', 'members', or 'networkMembers'.
3211
3211
  * @enum {string}
3212
3212
  */
3213
- visibility: "public" | "admins" | "members" | "networkMembers";
3213
+ visibility: "public" | "admins" | "exclusiveMembers" | "members" | "networkMembers";
3214
3214
  };
3215
3215
  };
3216
3216
  getBenefitApplications: {
@@ -8060,8 +8060,10 @@ interface components {
8060
8060
  /** @description Discount percentage for shop products. */
8061
8061
  shop: number;
8062
8062
  };
8063
- /** @description Resources exclusively available to members on this plan. */
8063
+ /** @description Resources and benefits exclusively available to members on this plan. */
8064
8064
  exclusiveAccess: {
8065
+ /** @description Benefit IDs with exclusive access for this plan. */
8066
+ benefitRefs: string[];
8065
8067
  /** @description Resource IDs with exclusive access for this plan. */
8066
8068
  resourceRefs: string[];
8067
8069
  };
@@ -8229,8 +8231,10 @@ interface components {
8229
8231
  /** @description Discount percentage for shop products. */
8230
8232
  shop: number;
8231
8233
  };
8232
- /** @description Resources exclusively available to members on this plan. */
8234
+ /** @description Resources and benefits exclusively available to members on this plan. */
8233
8235
  exclusiveAccess: {
8236
+ /** @description Benefit IDs with exclusive access for this plan. */
8237
+ benefitRefs: string[];
8234
8238
  /** @description Resource IDs with exclusive access for this plan. */
8235
8239
  resourceRefs: string[];
8236
8240
  };
@@ -8397,8 +8401,10 @@ interface components {
8397
8401
  /** @description Discount percentage for shop products. */
8398
8402
  shop: number;
8399
8403
  };
8400
- /** @description Resources exclusively available to members on this plan. */
8404
+ /** @description Resources and benefits exclusively available to members on this plan. */
8401
8405
  exclusiveAccess: {
8406
+ /** @description Benefit IDs with exclusive access for this plan. */
8407
+ benefitRefs: string[];
8402
8408
  /** @description Resource IDs with exclusive access for this plan. */
8403
8409
  resourceRefs: string[];
8404
8410
  };
@@ -10917,8 +10923,10 @@ interface components {
10917
10923
  endFixed: boolean;
10918
10924
  /** @description Whether the item grants access to the entire resource. */
10919
10925
  entire?: boolean;
10920
- /** @description Resources with exclusive access. */
10926
+ /** @description Resources and benefits with exclusive access. */
10921
10927
  exclusiveAccess?: {
10928
+ /** @description Benefit IDs with exclusive access. */
10929
+ benefitRefs: string[];
10922
10930
  /** @description Resource IDs with exclusive access. */
10923
10931
  resourceRefs: string[];
10924
10932
  };
@@ -11490,8 +11498,10 @@ interface components {
11490
11498
  endFixed: boolean;
11491
11499
  /** @description Whether the item grants access to the entire resource. */
11492
11500
  entire?: boolean;
11493
- /** @description Resources with exclusive access. */
11501
+ /** @description Resources and benefits with exclusive access. */
11494
11502
  exclusiveAccess?: {
11503
+ /** @description Benefit IDs with exclusive access. */
11504
+ benefitRefs: string[];
11495
11505
  /** @description Resource IDs with exclusive access. */
11496
11506
  resourceRefs: string[];
11497
11507
  };
@@ -12064,8 +12074,10 @@ interface components {
12064
12074
  endFixed: boolean;
12065
12075
  /** @description Whether the item grants access to the entire resource. */
12066
12076
  entire?: boolean;
12067
- /** @description Resources with exclusive access. */
12077
+ /** @description Resources and benefits with exclusive access. */
12068
12078
  exclusiveAccess?: {
12079
+ /** @description Benefit IDs with exclusive access. */
12080
+ benefitRefs: string[];
12069
12081
  /** @description Resource IDs with exclusive access. */
12070
12082
  resourceRefs: string[];
12071
12083
  };
@@ -15699,11 +15711,11 @@ interface components {
15699
15711
  /** @description Display name of the benefit. */
15700
15712
  title: string;
15701
15713
  /**
15702
- * @description Who can see this benefit: 'public' (everyone), 'admins', 'members', or 'networkMembers'.
15714
+ * @description Who can see this benefit: 'public' (everyone), 'admins', 'exclusiveMembers', 'members', or 'networkMembers'.
15703
15715
  * @default public
15704
15716
  * @enum {string}
15705
15717
  */
15706
- visibility?: "public" | "admins" | "members" | "networkMembers";
15718
+ visibility?: "public" | "admins" | "exclusiveMembers" | "members" | "networkMembers";
15707
15719
  };
15708
15720
  };
15709
15721
  };
@@ -15784,11 +15796,11 @@ interface components {
15784
15796
  /** @description Display name of the benefit. */
15785
15797
  title: string;
15786
15798
  /**
15787
- * @description Who can see this benefit: 'public' (everyone), 'admins', 'members', or 'networkMembers'.
15799
+ * @description Who can see this benefit: 'public' (everyone), 'admins', 'exclusiveMembers', 'members', or 'networkMembers'.
15788
15800
  * @default public
15789
15801
  * @enum {string}
15790
15802
  */
15791
- visibility?: "public" | "admins" | "members" | "networkMembers";
15803
+ visibility?: "public" | "admins" | "exclusiveMembers" | "members" | "networkMembers";
15792
15804
  };
15793
15805
  };
15794
15806
  };
@@ -17148,12 +17160,14 @@ interface components {
17148
17160
  shop?: number;
17149
17161
  };
17150
17162
  /**
17151
- * @description Resources exclusively available to members on this plan.
17163
+ * @description Resources and benefits exclusively available to members on this plan.
17152
17164
  * @default {
17153
17165
  * "resourceRefs": []
17154
17166
  * }
17155
17167
  */
17156
17168
  exclusiveAccess?: {
17169
+ /** @description Benefit IDs with exclusive access for this plan. */
17170
+ benefitRefs?: string[];
17157
17171
  /** @description Resource IDs with exclusive access for this plan. */
17158
17172
  resourceRefs: string[];
17159
17173
  };
@@ -17302,12 +17316,14 @@ interface components {
17302
17316
  shop: number;
17303
17317
  };
17304
17318
  /**
17305
- * @description Resources exclusively available to members on this plan.
17319
+ * @description Resources and benefits exclusively available to members on this plan.
17306
17320
  * @default {
17307
17321
  * "resourceRefs": []
17308
17322
  * }
17309
17323
  */
17310
17324
  exclusiveAccess?: {
17325
+ /** @description Benefit IDs with exclusive access for this plan. */
17326
+ benefitRefs?: string[];
17311
17327
  /** @description Resource IDs with exclusive access for this plan. */
17312
17328
  resourceRefs: string[];
17313
17329
  };
@@ -18459,8 +18475,10 @@ interface components {
18459
18475
  endDate?: string;
18460
18476
  /** @description Whether the item grants access to the entire resource. */
18461
18477
  entire?: boolean;
18462
- /** @description Resources with exclusive access. */
18478
+ /** @description Resources and benefits with exclusive access. */
18463
18479
  exclusiveAccess?: {
18480
+ /** @description Benefit IDs with exclusive access. */
18481
+ benefitRefs?: string[];
18464
18482
  /** @description Resource IDs with exclusive access. */
18465
18483
  resourceRefs?: string[];
18466
18484
  };
@@ -18649,8 +18667,10 @@ interface components {
18649
18667
  endDate?: string;
18650
18668
  /** @description Whether the item grants access to the entire resource. */
18651
18669
  entire?: boolean;
18652
- /** @description Resources with exclusive access. */
18670
+ /** @description Resources and benefits with exclusive access. */
18653
18671
  exclusiveAccess?: {
18672
+ /** @description Benefit IDs with exclusive access. */
18673
+ benefitRefs?: string[];
18654
18674
  /** @description Resource IDs with exclusive access. */
18655
18675
  resourceRefs?: string[];
18656
18676
  };
@@ -18838,8 +18858,10 @@ interface components {
18838
18858
  endDate?: string;
18839
18859
  /** @description Whether the item grants access to the entire resource. */
18840
18860
  entire?: boolean;
18841
- /** @description Resources with exclusive access. */
18861
+ /** @description Resources and benefits with exclusive access. */
18842
18862
  exclusiveAccess?: {
18863
+ /** @description Benefit IDs with exclusive access. */
18864
+ benefitRefs?: string[];
18843
18865
  /** @description Resource IDs with exclusive access. */
18844
18866
  resourceRefs?: string[];
18845
18867
  };
@@ -18986,8 +19008,10 @@ interface components {
18986
19008
  endDate?: string;
18987
19009
  /** @description Whether the item grants access to the entire resource. */
18988
19010
  entire?: boolean;
18989
- /** @description Resources with exclusive access. */
19011
+ /** @description Resources and benefits with exclusive access. */
18990
19012
  exclusiveAccess?: {
19013
+ /** @description Benefit IDs with exclusive access. */
19014
+ benefitRefs?: string[];
18991
19015
  /** @description Resource IDs with exclusive access. */
18992
19016
  resourceRefs?: string[];
18993
19017
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@izak0s/spacebring-api",
3
- "version": "5.5.0",
3
+ "version": "5.6.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",