@izak0s/spacebring-api 11.3.0 → 11.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
@@ -2928,7 +2928,7 @@ interface paths {
2928
2928
  head?: never;
2929
2929
  /**
2930
2930
  * Update a money transaction
2931
- * @description Approve or cancel a pending money transaction paid externally. <h3>OAuth</h3>Required scopes: <code>transactions</code>
2931
+ * @description Change the internal note of a money transaction, or approve or cancel a pending money transaction paid externally. A user needs the Billing permission in the transaction's location. <h3>OAuth</h3>Required scopes: <code>transactions</code>
2932
2932
  */
2933
2933
  patch: operations["patchMoneyTransaction"];
2934
2934
  trace?: never;
@@ -7859,6 +7859,11 @@ interface components {
7859
7859
  * @description ID of the ticket's check-in in the check-ins service. Present when check-in is enabled for the event.
7860
7860
  */
7861
7861
  checkInRef?: string;
7862
+ /**
7863
+ * Format: date-time
7864
+ * @description ISO timestamp of when the attendee last checked out. Cleared when they check in again.
7865
+ */
7866
+ checkOutDate?: string;
7862
7867
  /** @description Six-digit code the attendee enters on the Reception app to check in. Visible to the ticket owner and admins when check-in is enabled for the event. */
7863
7868
  code?: string;
7864
7869
  /** @description Note the attendee left when purchasing the ticket. Visible to the ticket owner and location admins only. */
@@ -9763,6 +9768,11 @@ interface components {
9763
9768
  * @description Customer id.
9764
9769
  */
9765
9770
  id: string;
9771
+ /** @description Company logo when the customer is a company. */
9772
+ logo?: {
9773
+ key: string;
9774
+ url: string;
9775
+ };
9766
9776
  /** @description Company name when the customer is a company. */
9767
9777
  title?: string;
9768
9778
  /**
@@ -9781,6 +9791,8 @@ interface components {
9781
9791
  id: string;
9782
9792
  /** @description User first name. */
9783
9793
  name?: string | null;
9794
+ /** @description Profile photo URL. */
9795
+ photoUrl?: string | null;
9784
9796
  /** @description User last name. */
9785
9797
  surname?: string | null;
9786
9798
  };
@@ -10460,6 +10472,11 @@ interface components {
10460
10472
  * @description Customer id.
10461
10473
  */
10462
10474
  id: string;
10475
+ /** @description Company logo when the customer is a company. */
10476
+ logo?: {
10477
+ key: string;
10478
+ url: string;
10479
+ };
10463
10480
  /** @description Company name when the customer is a company. */
10464
10481
  title?: string;
10465
10482
  /**
@@ -10478,6 +10495,8 @@ interface components {
10478
10495
  id: string;
10479
10496
  /** @description User first name. */
10480
10497
  name?: string | null;
10498
+ /** @description Profile photo URL. */
10499
+ photoUrl?: string | null;
10481
10500
  /** @description User last name. */
10482
10501
  surname?: string | null;
10483
10502
  };
@@ -11153,6 +11172,11 @@ interface components {
11153
11172
  * @description Customer id.
11154
11173
  */
11155
11174
  id: string;
11175
+ /** @description Company logo when the customer is a company. */
11176
+ logo?: {
11177
+ key: string;
11178
+ url: string;
11179
+ };
11156
11180
  /** @description Company name when the customer is a company. */
11157
11181
  title?: string;
11158
11182
  /**
@@ -11171,6 +11195,8 @@ interface components {
11171
11195
  id: string;
11172
11196
  /** @description User first name. */
11173
11197
  name?: string | null;
11198
+ /** @description Profile photo URL. */
11199
+ photoUrl?: string | null;
11174
11200
  /** @description User last name. */
11175
11201
  surname?: string | null;
11176
11202
  };
@@ -11281,6 +11307,11 @@ interface components {
11281
11307
  * @description Customer id.
11282
11308
  */
11283
11309
  id: string;
11310
+ /** @description Company logo when the customer is a company. */
11311
+ logo?: {
11312
+ key: string;
11313
+ url: string;
11314
+ };
11284
11315
  /** @description Company name when the customer is a company. */
11285
11316
  title?: string;
11286
11317
  /**
@@ -11299,6 +11330,8 @@ interface components {
11299
11330
  id: string;
11300
11331
  /** @description User first name. */
11301
11332
  name?: string | null;
11333
+ /** @description Profile photo URL. */
11334
+ photoUrl?: string | null;
11302
11335
  /** @description User last name. */
11303
11336
  surname?: string | null;
11304
11337
  };
@@ -20194,6 +20227,8 @@ interface components {
20194
20227
  * @description Unique identifier of the transaction.
20195
20228
  */
20196
20229
  id: string;
20230
+ /** @description Note about the payment that only administrators see, such as how an external payment was collected. Absent when there is no note or the viewer is not an administrator. */
20231
+ internalNote?: string;
20197
20232
  /**
20198
20233
  * @deprecated
20199
20234
  * @description Deprecated. Use product instead.
@@ -20906,6 +20941,8 @@ interface components {
20906
20941
  * @description Unique identifier of the transaction.
20907
20942
  */
20908
20943
  id: string;
20944
+ /** @description Note about the payment that only administrators see, such as how an external payment was collected. Absent when there is no note or the viewer is not an administrator. */
20945
+ internalNote?: string;
20909
20946
  /**
20910
20947
  * @deprecated
20911
20948
  * @description Deprecated. Use product instead.
@@ -21618,6 +21655,8 @@ interface components {
21618
21655
  * @description Unique identifier of the transaction.
21619
21656
  */
21620
21657
  id: string;
21658
+ /** @description Note about the payment that only administrators see, such as how an external payment was collected. Absent when there is no note or the viewer is not an administrator. */
21659
+ internalNote?: string;
21621
21660
  /**
21622
21661
  * @deprecated
21623
21662
  * @description Deprecated. Use product instead.
@@ -26804,11 +26843,13 @@ interface components {
26804
26843
  "application/json": {
26805
26844
  /** @description Transaction fields to update. */
26806
26845
  transaction: {
26846
+ /** @description Note about the payment that only administrators see, such as how an external payment was collected. Can be changed on any money transaction. An empty string clears it. */
26847
+ internalNote?: string;
26807
26848
  /**
26808
- * @description New status of the pending external payment: `succeeded` approves it, `canceled` rejects it.
26849
+ * @description New status of the pending external payment: `succeeded` approves it, `canceled` rejects it. Only a pending external payment can change its status.
26809
26850
  * @enum {string}
26810
26851
  */
26811
- status: "canceled" | "succeeded";
26852
+ status?: "canceled" | "succeeded";
26812
26853
  };
26813
26854
  };
26814
26855
  };
package/dist/index.d.ts CHANGED
@@ -2928,7 +2928,7 @@ interface paths {
2928
2928
  head?: never;
2929
2929
  /**
2930
2930
  * Update a money transaction
2931
- * @description Approve or cancel a pending money transaction paid externally. <h3>OAuth</h3>Required scopes: <code>transactions</code>
2931
+ * @description Change the internal note of a money transaction, or approve or cancel a pending money transaction paid externally. A user needs the Billing permission in the transaction's location. <h3>OAuth</h3>Required scopes: <code>transactions</code>
2932
2932
  */
2933
2933
  patch: operations["patchMoneyTransaction"];
2934
2934
  trace?: never;
@@ -7859,6 +7859,11 @@ interface components {
7859
7859
  * @description ID of the ticket's check-in in the check-ins service. Present when check-in is enabled for the event.
7860
7860
  */
7861
7861
  checkInRef?: string;
7862
+ /**
7863
+ * Format: date-time
7864
+ * @description ISO timestamp of when the attendee last checked out. Cleared when they check in again.
7865
+ */
7866
+ checkOutDate?: string;
7862
7867
  /** @description Six-digit code the attendee enters on the Reception app to check in. Visible to the ticket owner and admins when check-in is enabled for the event. */
7863
7868
  code?: string;
7864
7869
  /** @description Note the attendee left when purchasing the ticket. Visible to the ticket owner and location admins only. */
@@ -9763,6 +9768,11 @@ interface components {
9763
9768
  * @description Customer id.
9764
9769
  */
9765
9770
  id: string;
9771
+ /** @description Company logo when the customer is a company. */
9772
+ logo?: {
9773
+ key: string;
9774
+ url: string;
9775
+ };
9766
9776
  /** @description Company name when the customer is a company. */
9767
9777
  title?: string;
9768
9778
  /**
@@ -9781,6 +9791,8 @@ interface components {
9781
9791
  id: string;
9782
9792
  /** @description User first name. */
9783
9793
  name?: string | null;
9794
+ /** @description Profile photo URL. */
9795
+ photoUrl?: string | null;
9784
9796
  /** @description User last name. */
9785
9797
  surname?: string | null;
9786
9798
  };
@@ -10460,6 +10472,11 @@ interface components {
10460
10472
  * @description Customer id.
10461
10473
  */
10462
10474
  id: string;
10475
+ /** @description Company logo when the customer is a company. */
10476
+ logo?: {
10477
+ key: string;
10478
+ url: string;
10479
+ };
10463
10480
  /** @description Company name when the customer is a company. */
10464
10481
  title?: string;
10465
10482
  /**
@@ -10478,6 +10495,8 @@ interface components {
10478
10495
  id: string;
10479
10496
  /** @description User first name. */
10480
10497
  name?: string | null;
10498
+ /** @description Profile photo URL. */
10499
+ photoUrl?: string | null;
10481
10500
  /** @description User last name. */
10482
10501
  surname?: string | null;
10483
10502
  };
@@ -11153,6 +11172,11 @@ interface components {
11153
11172
  * @description Customer id.
11154
11173
  */
11155
11174
  id: string;
11175
+ /** @description Company logo when the customer is a company. */
11176
+ logo?: {
11177
+ key: string;
11178
+ url: string;
11179
+ };
11156
11180
  /** @description Company name when the customer is a company. */
11157
11181
  title?: string;
11158
11182
  /**
@@ -11171,6 +11195,8 @@ interface components {
11171
11195
  id: string;
11172
11196
  /** @description User first name. */
11173
11197
  name?: string | null;
11198
+ /** @description Profile photo URL. */
11199
+ photoUrl?: string | null;
11174
11200
  /** @description User last name. */
11175
11201
  surname?: string | null;
11176
11202
  };
@@ -11281,6 +11307,11 @@ interface components {
11281
11307
  * @description Customer id.
11282
11308
  */
11283
11309
  id: string;
11310
+ /** @description Company logo when the customer is a company. */
11311
+ logo?: {
11312
+ key: string;
11313
+ url: string;
11314
+ };
11284
11315
  /** @description Company name when the customer is a company. */
11285
11316
  title?: string;
11286
11317
  /**
@@ -11299,6 +11330,8 @@ interface components {
11299
11330
  id: string;
11300
11331
  /** @description User first name. */
11301
11332
  name?: string | null;
11333
+ /** @description Profile photo URL. */
11334
+ photoUrl?: string | null;
11302
11335
  /** @description User last name. */
11303
11336
  surname?: string | null;
11304
11337
  };
@@ -20194,6 +20227,8 @@ interface components {
20194
20227
  * @description Unique identifier of the transaction.
20195
20228
  */
20196
20229
  id: string;
20230
+ /** @description Note about the payment that only administrators see, such as how an external payment was collected. Absent when there is no note or the viewer is not an administrator. */
20231
+ internalNote?: string;
20197
20232
  /**
20198
20233
  * @deprecated
20199
20234
  * @description Deprecated. Use product instead.
@@ -20906,6 +20941,8 @@ interface components {
20906
20941
  * @description Unique identifier of the transaction.
20907
20942
  */
20908
20943
  id: string;
20944
+ /** @description Note about the payment that only administrators see, such as how an external payment was collected. Absent when there is no note or the viewer is not an administrator. */
20945
+ internalNote?: string;
20909
20946
  /**
20910
20947
  * @deprecated
20911
20948
  * @description Deprecated. Use product instead.
@@ -21618,6 +21655,8 @@ interface components {
21618
21655
  * @description Unique identifier of the transaction.
21619
21656
  */
21620
21657
  id: string;
21658
+ /** @description Note about the payment that only administrators see, such as how an external payment was collected. Absent when there is no note or the viewer is not an administrator. */
21659
+ internalNote?: string;
21621
21660
  /**
21622
21661
  * @deprecated
21623
21662
  * @description Deprecated. Use product instead.
@@ -26804,11 +26843,13 @@ interface components {
26804
26843
  "application/json": {
26805
26844
  /** @description Transaction fields to update. */
26806
26845
  transaction: {
26846
+ /** @description Note about the payment that only administrators see, such as how an external payment was collected. Can be changed on any money transaction. An empty string clears it. */
26847
+ internalNote?: string;
26807
26848
  /**
26808
- * @description New status of the pending external payment: `succeeded` approves it, `canceled` rejects it.
26849
+ * @description New status of the pending external payment: `succeeded` approves it, `canceled` rejects it. Only a pending external payment can change its status.
26809
26850
  * @enum {string}
26810
26851
  */
26811
- status: "canceled" | "succeeded";
26852
+ status?: "canceled" | "succeeded";
26812
26853
  };
26813
26854
  };
26814
26855
  };
package/dist/index.js CHANGED
@@ -2808,7 +2808,7 @@ function createTransactions(client, defaults) {
2808
2808
  /**
2809
2809
  * Update a money transaction
2810
2810
  *
2811
- * Approve or cancel a pending money transaction paid externally.
2811
+ * Change the internal note of a money transaction, or approve or cancel a pending money transaction paid externally. A user needs the Billing permission in the transaction's location.
2812
2812
  *
2813
2813
  * @param transactionId The id of the transaction.
2814
2814
  * @param transaction The `transaction` payload.