order3000 0.14.2 → 0.14.3
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/client.cjs +3 -0
- package/dist/client.d.cts +6 -0
- package/dist/client.d.mts +6 -0
- package/dist/client.mjs +3 -0
- package/package.json +1 -1
package/dist/client.cjs
CHANGED
|
@@ -162,6 +162,9 @@ class EventsResource extends BaseResource {
|
|
|
162
162
|
if (options?.includePrivate) {
|
|
163
163
|
queryParams.set("includePrivate", "true");
|
|
164
164
|
}
|
|
165
|
+
if (options?.includeInactive) {
|
|
166
|
+
queryParams.set("includeInactive", "true");
|
|
167
|
+
}
|
|
165
168
|
if (options?.isPublic !== void 0) {
|
|
166
169
|
queryParams.set("isPublic", String(options.isPublic));
|
|
167
170
|
}
|
package/dist/client.d.cts
CHANGED
|
@@ -324,6 +324,8 @@ type PlaceOrderRequest = Omit<schemas['PlaceOrderRequest'], 'taxAmount' | 'total
|
|
|
324
324
|
customerLastName?: string;
|
|
325
325
|
/** Customer email address (for cash orders) */
|
|
326
326
|
customerEmail?: string;
|
|
327
|
+
/** Number of deposit containers the customer declares they will return at pickup */
|
|
328
|
+
declaredReturningCount?: number;
|
|
327
329
|
};
|
|
328
330
|
type PlaceOrderResponse = schemas['PlaceOrderResponse'];
|
|
329
331
|
type MakeReservationRequest = schemas['MakeReservationRequest'];
|
|
@@ -433,6 +435,8 @@ interface Event {
|
|
|
433
435
|
interface ListEventsOptions {
|
|
434
436
|
/** Include private events in the response */
|
|
435
437
|
includePrivate?: boolean;
|
|
438
|
+
/** Include inactive events in the response */
|
|
439
|
+
includeInactive?: boolean;
|
|
436
440
|
/** Filter by isPublic status */
|
|
437
441
|
isPublic?: boolean;
|
|
438
442
|
/** Filter by isRecurring status */
|
|
@@ -671,6 +675,8 @@ interface CreatePaymentIntentRequest {
|
|
|
671
675
|
customerFirstName?: string;
|
|
672
676
|
/** Customer last name (for Stripe metadata and customer record) */
|
|
673
677
|
customerLastName?: string;
|
|
678
|
+
/** Number of deposit containers the customer declares they will return at pickup */
|
|
679
|
+
declaredReturningCount?: number;
|
|
674
680
|
}
|
|
675
681
|
interface CreatePaymentIntentResponse {
|
|
676
682
|
clientSecret: string;
|
package/dist/client.d.mts
CHANGED
|
@@ -324,6 +324,8 @@ type PlaceOrderRequest = Omit<schemas['PlaceOrderRequest'], 'taxAmount' | 'total
|
|
|
324
324
|
customerLastName?: string;
|
|
325
325
|
/** Customer email address (for cash orders) */
|
|
326
326
|
customerEmail?: string;
|
|
327
|
+
/** Number of deposit containers the customer declares they will return at pickup */
|
|
328
|
+
declaredReturningCount?: number;
|
|
327
329
|
};
|
|
328
330
|
type PlaceOrderResponse = schemas['PlaceOrderResponse'];
|
|
329
331
|
type MakeReservationRequest = schemas['MakeReservationRequest'];
|
|
@@ -433,6 +435,8 @@ interface Event {
|
|
|
433
435
|
interface ListEventsOptions {
|
|
434
436
|
/** Include private events in the response */
|
|
435
437
|
includePrivate?: boolean;
|
|
438
|
+
/** Include inactive events in the response */
|
|
439
|
+
includeInactive?: boolean;
|
|
436
440
|
/** Filter by isPublic status */
|
|
437
441
|
isPublic?: boolean;
|
|
438
442
|
/** Filter by isRecurring status */
|
|
@@ -671,6 +675,8 @@ interface CreatePaymentIntentRequest {
|
|
|
671
675
|
customerFirstName?: string;
|
|
672
676
|
/** Customer last name (for Stripe metadata and customer record) */
|
|
673
677
|
customerLastName?: string;
|
|
678
|
+
/** Number of deposit containers the customer declares they will return at pickup */
|
|
679
|
+
declaredReturningCount?: number;
|
|
674
680
|
}
|
|
675
681
|
interface CreatePaymentIntentResponse {
|
|
676
682
|
clientSecret: string;
|
package/dist/client.mjs
CHANGED
|
@@ -160,6 +160,9 @@ class EventsResource extends BaseResource {
|
|
|
160
160
|
if (options?.includePrivate) {
|
|
161
161
|
queryParams.set("includePrivate", "true");
|
|
162
162
|
}
|
|
163
|
+
if (options?.includeInactive) {
|
|
164
|
+
queryParams.set("includeInactive", "true");
|
|
165
|
+
}
|
|
163
166
|
if (options?.isPublic !== void 0) {
|
|
164
167
|
queryParams.set("isPublic", String(options.isPublic));
|
|
165
168
|
}
|