order3000 1.3.0 → 1.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/client.d.cts CHANGED
@@ -70,9 +70,18 @@ interface components {
70
70
  ownerEntityId: string;
71
71
  channel: components["schemas"]["AdChannel"];
72
72
  status: components["schemas"]["AdStatus"];
73
+ campaignId: string | null;
73
74
  content: (string | number | boolean | (null)) | {
74
75
  [key: string]: unknown;
75
76
  } | unknown[];
77
+ keywords: (string | number | boolean | (null)) | {
78
+ [key: string]: unknown;
79
+ } | unknown[];
80
+ negativeKeywords: (string | number | boolean | (null)) | {
81
+ [key: string]: unknown;
82
+ } | unknown[];
83
+ publishedContentHash: string | null;
84
+ publishedAt: unknown;
76
85
  createdBy: string | null;
77
86
  updatedBy: string | null;
78
87
  createdAt: unknown;
@@ -86,9 +95,18 @@ interface components {
86
95
  ownerEntityId: string;
87
96
  channel: components["schemas"]["AdChannel"];
88
97
  status: components["schemas"]["AdStatus"];
98
+ campaignId: string | null;
89
99
  content: (string | number | boolean | (null)) | {
90
100
  [key: string]: unknown;
91
101
  } | unknown[];
102
+ keywords: (string | number | boolean | (null)) | {
103
+ [key: string]: unknown;
104
+ } | unknown[];
105
+ negativeKeywords: (string | number | boolean | (null)) | {
106
+ [key: string]: unknown;
107
+ } | unknown[];
108
+ publishedContentHash: string | null;
109
+ publishedAt: unknown;
92
110
  createdBy: string | null;
93
111
  updatedBy: string | null;
94
112
  createdAt: unknown;
@@ -115,9 +133,18 @@ interface components {
115
133
  ownerEntityId: string;
116
134
  channel: components["schemas"]["AdChannel"];
117
135
  status: components["schemas"]["AdStatus"];
136
+ campaignId: string | null;
118
137
  content: (string | number | boolean | (null)) | {
119
138
  [key: string]: unknown;
120
139
  } | unknown[];
140
+ keywords: (string | number | boolean | (null)) | {
141
+ [key: string]: unknown;
142
+ } | unknown[];
143
+ negativeKeywords: (string | number | boolean | (null)) | {
144
+ [key: string]: unknown;
145
+ } | unknown[];
146
+ publishedContentHash: string | null;
147
+ publishedAt: unknown;
121
148
  createdBy: string | null;
122
149
  updatedBy: string | null;
123
150
  createdAt: unknown;
@@ -159,9 +186,18 @@ interface components {
159
186
  ownerEntityId: string;
160
187
  channel: components["schemas"]["AdChannel"];
161
188
  status: components["schemas"]["AdStatus"];
189
+ campaignId: string | null;
162
190
  content: (string | number | boolean | (null)) | {
163
191
  [key: string]: unknown;
164
192
  } | unknown[];
193
+ keywords: (string | number | boolean | (null)) | {
194
+ [key: string]: unknown;
195
+ } | unknown[];
196
+ negativeKeywords: (string | number | boolean | (null)) | {
197
+ [key: string]: unknown;
198
+ } | unknown[];
199
+ publishedContentHash: string | null;
200
+ publishedAt: unknown;
165
201
  createdBy: string | null;
166
202
  updatedBy: string | null;
167
203
  createdAt: unknown;
@@ -175,9 +211,18 @@ interface components {
175
211
  ownerEntityId: string;
176
212
  channel: components["schemas"]["AdChannel"];
177
213
  status: components["schemas"]["AdStatus"];
214
+ campaignId: string | null;
178
215
  content: (string | number | boolean | (null)) | {
179
216
  [key: string]: unknown;
180
217
  } | unknown[];
218
+ keywords: (string | number | boolean | (null)) | {
219
+ [key: string]: unknown;
220
+ } | unknown[];
221
+ negativeKeywords: (string | number | boolean | (null)) | {
222
+ [key: string]: unknown;
223
+ } | unknown[];
224
+ publishedContentHash: string | null;
225
+ publishedAt: unknown;
181
226
  createdBy: string | null;
182
227
  updatedBy: string | null;
183
228
  createdAt: unknown;
@@ -317,8 +362,8 @@ interface components {
317
362
  endTime: string | null;
318
363
  partySize: number;
319
364
  status: components["schemas"]["AreaBookingStatus"];
320
- customerFirstName?: string;
321
- customerLastName?: string;
365
+ guestFirstName?: string;
366
+ guestLastName?: string;
322
367
  totalPrice?: number;
323
368
  currency?: components["schemas"]["Currency"];
324
369
  confirmationCode?: string | null;
@@ -329,11 +374,11 @@ interface components {
329
374
  requestedStartTime?: string;
330
375
  requestedEndTime?: string;
331
376
  partySize: number;
332
- customerFirstName: string;
333
- customerLastName: string;
377
+ guestFirstName: string;
378
+ guestLastName: string;
334
379
  /** Format: email */
335
- customerEmail: string;
336
- customerPhone?: string;
380
+ guestEmail: string;
381
+ guestPhone?: string;
337
382
  message?: string;
338
383
  source?: components["schemas"]["AreaBookingRequestSource"];
339
384
  };
@@ -346,10 +391,10 @@ interface components {
346
391
  requestedStartTime: string | null;
347
392
  requestedEndTime: string | null;
348
393
  partySize: number;
349
- customerFirstName: string;
350
- customerLastName: string;
351
- customerEmail: string;
352
- customerPhone: string | null;
394
+ guestFirstName: string;
395
+ guestLastName: string;
396
+ guestEmail: string;
397
+ guestPhone: string | null;
353
398
  message: string | null;
354
399
  source: components["schemas"]["AreaBookingRequestSource"];
355
400
  status: components["schemas"]["AreaBookingRequestStatus"];
@@ -1536,9 +1581,9 @@ interface components {
1536
1581
  fulfillmentType: components["schemas"]["FulfillmentType"];
1537
1582
  /** Format: date-time */
1538
1583
  fulfillmentAt?: string | null;
1539
- customerFirstName?: string;
1540
- customerLastName?: string;
1541
- customerEmail?: string;
1584
+ guestFirstName?: string;
1585
+ guestLastName?: string;
1586
+ guestEmail?: string;
1542
1587
  declaredReturns?: {
1543
1588
  depositwareTemplateId: string;
1544
1589
  count: number;
@@ -1565,7 +1610,7 @@ interface components {
1565
1610
  status: string;
1566
1611
  publicId: string | null;
1567
1612
  quickReferenceNumber: number | null;
1568
- customerId?: string;
1613
+ guestId?: string;
1569
1614
  };
1570
1615
  /** FetchLatestOrderResponse */
1571
1616
  FetchLatestOrderResponse: {
@@ -1617,8 +1662,8 @@ interface components {
1617
1662
  fulfillmentType: components["schemas"]["FulfillmentType"];
1618
1663
  /** Format: date-time */
1619
1664
  fulfillmentAt?: string | null;
1620
- customerFirstName?: string;
1621
- customerLastName?: string;
1665
+ guestFirstName?: string;
1666
+ guestLastName?: string;
1622
1667
  teamOrderPublicId?: string;
1623
1668
  declaredReturns?: {
1624
1669
  depositwareTemplateId: string;
@@ -1692,18 +1737,18 @@ interface components {
1692
1737
  * Format: uuid
1693
1738
  * @description UUID of existing customer profile if available
1694
1739
  */
1695
- customerId?: string | null;
1740
+ guestId?: string | null;
1696
1741
  /** @description First name of the customer making the reservation */
1697
- customerFirstName: string;
1742
+ guestFirstName: string;
1698
1743
  /** @description Last name of the customer making the reservation */
1699
- customerLastName: string;
1744
+ guestLastName: string;
1700
1745
  /**
1701
1746
  * Format: email
1702
1747
  * @description Email address for reservation confirmations and updates
1703
1748
  */
1704
- customerEmail?: string | null;
1749
+ guestEmail?: string | null;
1705
1750
  /** @description Phone number for reservation confirmations and updates. Include country code for international numbers. */
1706
- customerPhone?: string | null;
1751
+ guestPhone?: string | null;
1707
1752
  contactPreference?: components["schemas"]["ContactPreference"];
1708
1753
  source?: components["schemas"]["AreaBookingRequestSource"];
1709
1754
  /** @description Any dietary restrictions, allergies, or special occasions (max 500 characters) */
@@ -1750,15 +1795,15 @@ interface components {
1750
1795
  * Format: uuid
1751
1796
  * @description Link to customer profile if exists
1752
1797
  */
1753
- customerId: string | null;
1798
+ guestId: string | null;
1754
1799
  /** @description First name of the customer */
1755
- customerFirstName: string;
1800
+ guestFirstName: string;
1756
1801
  /** @description Last name of the customer */
1757
- customerLastName: string;
1802
+ guestLastName: string;
1758
1803
  /** @description Customer email address */
1759
- customerEmail: string | null;
1804
+ guestEmail: string | null;
1760
1805
  /** @description Customer phone number */
1761
- customerPhone: string | null;
1806
+ guestPhone: string | null;
1762
1807
  contactPreference: components["schemas"]["ContactPreference"];
1763
1808
  status: components["schemas"]["ReservationStatus"];
1764
1809
  /** @description 6-character confirmation code for the reservation */
@@ -1943,7 +1988,7 @@ interface components {
1943
1988
  quantity: number | null;
1944
1989
  };
1945
1990
  participants: {
1946
- customerId: string;
1991
+ guestId: string;
1947
1992
  basketId: string | null;
1948
1993
  orderId: string | null;
1949
1994
  participantNumber: number | null;
@@ -2012,7 +2057,7 @@ interface components {
2012
2057
  /** Format: uuid */
2013
2058
  teamOrderId: string;
2014
2059
  basketId: string;
2015
- customerId: string;
2060
+ guestId: string;
2016
2061
  status: components["schemas"]["TeamOrderStatus"];
2017
2062
  isLead: boolean;
2018
2063
  alreadyJoined: boolean;
@@ -2298,6 +2343,10 @@ interface components {
2298
2343
  /** @enum {string} */
2299
2344
  ReservationStatus: "pending" | "confirmed" | "arrived" | "seated" | "completed" | "cancelled" | "no_show";
2300
2345
  /** @enum {string} */
2346
+ ReservationMessageStatus: "draft" | "sent";
2347
+ /** @enum {string} */
2348
+ VenueEmailSenderStatus: "pending" | "verified" | "failed" | "temporary_failure";
2349
+ /** @enum {string} */
2301
2350
  VenueAssetType: "logomark" | "wordmark" | "combinationmark_horizontal" | "combinationmark_vertical";
2302
2351
  /** @enum {string} */
2303
2352
  VenueUserStatus: "pending" | "confirmed" | "revoked";
@@ -3262,7 +3311,7 @@ interface TeamOrderParticipantPayment {
3262
3311
  cardLast4: string | null;
3263
3312
  }
3264
3313
  interface TeamOrderParticipant {
3265
- customerId: string;
3314
+ guestId: string;
3266
3315
  basketId: string | null;
3267
3316
  orderId: string | null;
3268
3317
  /**
@@ -3411,7 +3460,7 @@ interface JoinTeamOrderRequest {
3411
3460
  interface JoinTeamOrderResponse {
3412
3461
  teamOrderId: string;
3413
3462
  basketId: string;
3414
- customerId: string;
3463
+ guestId: string;
3415
3464
  status: TeamOrderStatus;
3416
3465
  isLead: boolean;
3417
3466
  alreadyJoined: boolean;
package/dist/client.d.mts CHANGED
@@ -70,9 +70,18 @@ interface components {
70
70
  ownerEntityId: string;
71
71
  channel: components["schemas"]["AdChannel"];
72
72
  status: components["schemas"]["AdStatus"];
73
+ campaignId: string | null;
73
74
  content: (string | number | boolean | (null)) | {
74
75
  [key: string]: unknown;
75
76
  } | unknown[];
77
+ keywords: (string | number | boolean | (null)) | {
78
+ [key: string]: unknown;
79
+ } | unknown[];
80
+ negativeKeywords: (string | number | boolean | (null)) | {
81
+ [key: string]: unknown;
82
+ } | unknown[];
83
+ publishedContentHash: string | null;
84
+ publishedAt: unknown;
76
85
  createdBy: string | null;
77
86
  updatedBy: string | null;
78
87
  createdAt: unknown;
@@ -86,9 +95,18 @@ interface components {
86
95
  ownerEntityId: string;
87
96
  channel: components["schemas"]["AdChannel"];
88
97
  status: components["schemas"]["AdStatus"];
98
+ campaignId: string | null;
89
99
  content: (string | number | boolean | (null)) | {
90
100
  [key: string]: unknown;
91
101
  } | unknown[];
102
+ keywords: (string | number | boolean | (null)) | {
103
+ [key: string]: unknown;
104
+ } | unknown[];
105
+ negativeKeywords: (string | number | boolean | (null)) | {
106
+ [key: string]: unknown;
107
+ } | unknown[];
108
+ publishedContentHash: string | null;
109
+ publishedAt: unknown;
92
110
  createdBy: string | null;
93
111
  updatedBy: string | null;
94
112
  createdAt: unknown;
@@ -115,9 +133,18 @@ interface components {
115
133
  ownerEntityId: string;
116
134
  channel: components["schemas"]["AdChannel"];
117
135
  status: components["schemas"]["AdStatus"];
136
+ campaignId: string | null;
118
137
  content: (string | number | boolean | (null)) | {
119
138
  [key: string]: unknown;
120
139
  } | unknown[];
140
+ keywords: (string | number | boolean | (null)) | {
141
+ [key: string]: unknown;
142
+ } | unknown[];
143
+ negativeKeywords: (string | number | boolean | (null)) | {
144
+ [key: string]: unknown;
145
+ } | unknown[];
146
+ publishedContentHash: string | null;
147
+ publishedAt: unknown;
121
148
  createdBy: string | null;
122
149
  updatedBy: string | null;
123
150
  createdAt: unknown;
@@ -159,9 +186,18 @@ interface components {
159
186
  ownerEntityId: string;
160
187
  channel: components["schemas"]["AdChannel"];
161
188
  status: components["schemas"]["AdStatus"];
189
+ campaignId: string | null;
162
190
  content: (string | number | boolean | (null)) | {
163
191
  [key: string]: unknown;
164
192
  } | unknown[];
193
+ keywords: (string | number | boolean | (null)) | {
194
+ [key: string]: unknown;
195
+ } | unknown[];
196
+ negativeKeywords: (string | number | boolean | (null)) | {
197
+ [key: string]: unknown;
198
+ } | unknown[];
199
+ publishedContentHash: string | null;
200
+ publishedAt: unknown;
165
201
  createdBy: string | null;
166
202
  updatedBy: string | null;
167
203
  createdAt: unknown;
@@ -175,9 +211,18 @@ interface components {
175
211
  ownerEntityId: string;
176
212
  channel: components["schemas"]["AdChannel"];
177
213
  status: components["schemas"]["AdStatus"];
214
+ campaignId: string | null;
178
215
  content: (string | number | boolean | (null)) | {
179
216
  [key: string]: unknown;
180
217
  } | unknown[];
218
+ keywords: (string | number | boolean | (null)) | {
219
+ [key: string]: unknown;
220
+ } | unknown[];
221
+ negativeKeywords: (string | number | boolean | (null)) | {
222
+ [key: string]: unknown;
223
+ } | unknown[];
224
+ publishedContentHash: string | null;
225
+ publishedAt: unknown;
181
226
  createdBy: string | null;
182
227
  updatedBy: string | null;
183
228
  createdAt: unknown;
@@ -317,8 +362,8 @@ interface components {
317
362
  endTime: string | null;
318
363
  partySize: number;
319
364
  status: components["schemas"]["AreaBookingStatus"];
320
- customerFirstName?: string;
321
- customerLastName?: string;
365
+ guestFirstName?: string;
366
+ guestLastName?: string;
322
367
  totalPrice?: number;
323
368
  currency?: components["schemas"]["Currency"];
324
369
  confirmationCode?: string | null;
@@ -329,11 +374,11 @@ interface components {
329
374
  requestedStartTime?: string;
330
375
  requestedEndTime?: string;
331
376
  partySize: number;
332
- customerFirstName: string;
333
- customerLastName: string;
377
+ guestFirstName: string;
378
+ guestLastName: string;
334
379
  /** Format: email */
335
- customerEmail: string;
336
- customerPhone?: string;
380
+ guestEmail: string;
381
+ guestPhone?: string;
337
382
  message?: string;
338
383
  source?: components["schemas"]["AreaBookingRequestSource"];
339
384
  };
@@ -346,10 +391,10 @@ interface components {
346
391
  requestedStartTime: string | null;
347
392
  requestedEndTime: string | null;
348
393
  partySize: number;
349
- customerFirstName: string;
350
- customerLastName: string;
351
- customerEmail: string;
352
- customerPhone: string | null;
394
+ guestFirstName: string;
395
+ guestLastName: string;
396
+ guestEmail: string;
397
+ guestPhone: string | null;
353
398
  message: string | null;
354
399
  source: components["schemas"]["AreaBookingRequestSource"];
355
400
  status: components["schemas"]["AreaBookingRequestStatus"];
@@ -1536,9 +1581,9 @@ interface components {
1536
1581
  fulfillmentType: components["schemas"]["FulfillmentType"];
1537
1582
  /** Format: date-time */
1538
1583
  fulfillmentAt?: string | null;
1539
- customerFirstName?: string;
1540
- customerLastName?: string;
1541
- customerEmail?: string;
1584
+ guestFirstName?: string;
1585
+ guestLastName?: string;
1586
+ guestEmail?: string;
1542
1587
  declaredReturns?: {
1543
1588
  depositwareTemplateId: string;
1544
1589
  count: number;
@@ -1565,7 +1610,7 @@ interface components {
1565
1610
  status: string;
1566
1611
  publicId: string | null;
1567
1612
  quickReferenceNumber: number | null;
1568
- customerId?: string;
1613
+ guestId?: string;
1569
1614
  };
1570
1615
  /** FetchLatestOrderResponse */
1571
1616
  FetchLatestOrderResponse: {
@@ -1617,8 +1662,8 @@ interface components {
1617
1662
  fulfillmentType: components["schemas"]["FulfillmentType"];
1618
1663
  /** Format: date-time */
1619
1664
  fulfillmentAt?: string | null;
1620
- customerFirstName?: string;
1621
- customerLastName?: string;
1665
+ guestFirstName?: string;
1666
+ guestLastName?: string;
1622
1667
  teamOrderPublicId?: string;
1623
1668
  declaredReturns?: {
1624
1669
  depositwareTemplateId: string;
@@ -1692,18 +1737,18 @@ interface components {
1692
1737
  * Format: uuid
1693
1738
  * @description UUID of existing customer profile if available
1694
1739
  */
1695
- customerId?: string | null;
1740
+ guestId?: string | null;
1696
1741
  /** @description First name of the customer making the reservation */
1697
- customerFirstName: string;
1742
+ guestFirstName: string;
1698
1743
  /** @description Last name of the customer making the reservation */
1699
- customerLastName: string;
1744
+ guestLastName: string;
1700
1745
  /**
1701
1746
  * Format: email
1702
1747
  * @description Email address for reservation confirmations and updates
1703
1748
  */
1704
- customerEmail?: string | null;
1749
+ guestEmail?: string | null;
1705
1750
  /** @description Phone number for reservation confirmations and updates. Include country code for international numbers. */
1706
- customerPhone?: string | null;
1751
+ guestPhone?: string | null;
1707
1752
  contactPreference?: components["schemas"]["ContactPreference"];
1708
1753
  source?: components["schemas"]["AreaBookingRequestSource"];
1709
1754
  /** @description Any dietary restrictions, allergies, or special occasions (max 500 characters) */
@@ -1750,15 +1795,15 @@ interface components {
1750
1795
  * Format: uuid
1751
1796
  * @description Link to customer profile if exists
1752
1797
  */
1753
- customerId: string | null;
1798
+ guestId: string | null;
1754
1799
  /** @description First name of the customer */
1755
- customerFirstName: string;
1800
+ guestFirstName: string;
1756
1801
  /** @description Last name of the customer */
1757
- customerLastName: string;
1802
+ guestLastName: string;
1758
1803
  /** @description Customer email address */
1759
- customerEmail: string | null;
1804
+ guestEmail: string | null;
1760
1805
  /** @description Customer phone number */
1761
- customerPhone: string | null;
1806
+ guestPhone: string | null;
1762
1807
  contactPreference: components["schemas"]["ContactPreference"];
1763
1808
  status: components["schemas"]["ReservationStatus"];
1764
1809
  /** @description 6-character confirmation code for the reservation */
@@ -1943,7 +1988,7 @@ interface components {
1943
1988
  quantity: number | null;
1944
1989
  };
1945
1990
  participants: {
1946
- customerId: string;
1991
+ guestId: string;
1947
1992
  basketId: string | null;
1948
1993
  orderId: string | null;
1949
1994
  participantNumber: number | null;
@@ -2012,7 +2057,7 @@ interface components {
2012
2057
  /** Format: uuid */
2013
2058
  teamOrderId: string;
2014
2059
  basketId: string;
2015
- customerId: string;
2060
+ guestId: string;
2016
2061
  status: components["schemas"]["TeamOrderStatus"];
2017
2062
  isLead: boolean;
2018
2063
  alreadyJoined: boolean;
@@ -2298,6 +2343,10 @@ interface components {
2298
2343
  /** @enum {string} */
2299
2344
  ReservationStatus: "pending" | "confirmed" | "arrived" | "seated" | "completed" | "cancelled" | "no_show";
2300
2345
  /** @enum {string} */
2346
+ ReservationMessageStatus: "draft" | "sent";
2347
+ /** @enum {string} */
2348
+ VenueEmailSenderStatus: "pending" | "verified" | "failed" | "temporary_failure";
2349
+ /** @enum {string} */
2301
2350
  VenueAssetType: "logomark" | "wordmark" | "combinationmark_horizontal" | "combinationmark_vertical";
2302
2351
  /** @enum {string} */
2303
2352
  VenueUserStatus: "pending" | "confirmed" | "revoked";
@@ -3262,7 +3311,7 @@ interface TeamOrderParticipantPayment {
3262
3311
  cardLast4: string | null;
3263
3312
  }
3264
3313
  interface TeamOrderParticipant {
3265
- customerId: string;
3314
+ guestId: string;
3266
3315
  basketId: string | null;
3267
3316
  orderId: string | null;
3268
3317
  /**
@@ -3411,7 +3460,7 @@ interface JoinTeamOrderRequest {
3411
3460
  interface JoinTeamOrderResponse {
3412
3461
  teamOrderId: string;
3413
3462
  basketId: string;
3414
- customerId: string;
3463
+ guestId: string;
3415
3464
  status: TeamOrderStatus;
3416
3465
  isLead: boolean;
3417
3466
  alreadyJoined: boolean;