@drttix/drt-sdk 0.9.7 → 0.9.8
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/demo/test.html +1554 -674
- package/dist/bundle/drt-sdk.js +1 -1
- package/dist/cjs/src/generated/shopper/services/AccountService.d.ts +4 -16
- package/dist/cjs/src/generated/shopper/services/AccountService.js +4 -36
- package/dist/cjs/src/generated/shopper/services/CartService.d.ts +2 -8
- package/dist/cjs/src/generated/shopper/services/CartService.js +2 -18
- package/dist/cjs/src/generated/shopper/services/CheckoutService.d.ts +5 -20
- package/dist/cjs/src/generated/shopper/services/CheckoutService.js +5 -45
- package/dist/cjs/src/generated/shopper/services/CodeService.d.ts +5 -20
- package/dist/cjs/src/generated/shopper/services/CodeService.js +5 -45
- package/dist/cjs/src/generated/shopper/services/DonationService.d.ts +2 -8
- package/dist/cjs/src/generated/shopper/services/DonationService.js +2 -16
- package/dist/cjs/src/generated/shopper/services/EventService.d.ts +4 -16
- package/dist/cjs/src/generated/shopper/services/EventService.js +4 -36
- package/dist/cjs/src/generated/shopper/services/GiftCardService.d.ts +5 -20
- package/dist/cjs/src/generated/shopper/services/GiftCardService.js +5 -45
- package/dist/cjs/src/generated/shopper/services/OrderService.d.ts +14 -56
- package/dist/cjs/src/generated/shopper/services/OrderService.js +14 -126
- package/dist/cjs/src/generated/shopper/services/PaymentService.d.ts +3 -12
- package/dist/cjs/src/generated/shopper/services/PaymentService.js +3 -27
- package/dist/cjs/src/generated/shopper/services/ProductService.d.ts +3 -12
- package/dist/cjs/src/generated/shopper/services/ProductService.js +3 -27
- package/dist/cjs/src/generated/shopper/services/SeatService.d.ts +6 -24
- package/dist/cjs/src/generated/shopper/services/SeatService.js +6 -54
- package/dist/cjs/src/generated/shopper/services/SessionService.d.ts +2 -8
- package/dist/cjs/src/generated/shopper/services/SessionService.js +2 -18
- package/dist/cjs/src/scripts/build-all.js +39 -0
- package/dist/esm/src/generated/shopper/services/AccountService.d.ts +4 -16
- package/dist/esm/src/generated/shopper/services/AccountService.js +4 -36
- package/dist/esm/src/generated/shopper/services/CartService.d.ts +2 -8
- package/dist/esm/src/generated/shopper/services/CartService.js +2 -18
- package/dist/esm/src/generated/shopper/services/CheckoutService.d.ts +5 -20
- package/dist/esm/src/generated/shopper/services/CheckoutService.js +5 -45
- package/dist/esm/src/generated/shopper/services/CodeService.d.ts +5 -20
- package/dist/esm/src/generated/shopper/services/CodeService.js +5 -45
- package/dist/esm/src/generated/shopper/services/DonationService.d.ts +2 -8
- package/dist/esm/src/generated/shopper/services/DonationService.js +2 -16
- package/dist/esm/src/generated/shopper/services/EventService.d.ts +4 -16
- package/dist/esm/src/generated/shopper/services/EventService.js +4 -36
- package/dist/esm/src/generated/shopper/services/GiftCardService.d.ts +5 -20
- package/dist/esm/src/generated/shopper/services/GiftCardService.js +5 -45
- package/dist/esm/src/generated/shopper/services/OrderService.d.ts +14 -56
- package/dist/esm/src/generated/shopper/services/OrderService.js +14 -126
- package/dist/esm/src/generated/shopper/services/PaymentService.d.ts +3 -12
- package/dist/esm/src/generated/shopper/services/PaymentService.js +3 -27
- package/dist/esm/src/generated/shopper/services/ProductService.d.ts +3 -12
- package/dist/esm/src/generated/shopper/services/ProductService.js +3 -27
- package/dist/esm/src/generated/shopper/services/SeatService.d.ts +6 -24
- package/dist/esm/src/generated/shopper/services/SeatService.js +6 -54
- package/dist/esm/src/generated/shopper/services/SessionService.d.ts +2 -8
- package/dist/esm/src/generated/shopper/services/SessionService.js +2 -18
- package/dist/esm/src/scripts/build-all.js +39 -0
- package/package.json +1 -1
- package/public/sdk/latest/drt-sdk.js +1 -1
- package/src/generated/shopper/services/AccountService.ts +0 -44
- package/src/generated/shopper/services/CartService.ts +0 -22
- package/src/generated/shopper/services/CheckoutService.ts +0 -55
- package/src/generated/shopper/services/CodeService.ts +0 -55
- package/src/generated/shopper/services/DonationService.ts +0 -20
- package/src/generated/shopper/services/EventService.ts +0 -44
- package/src/generated/shopper/services/GiftCardService.ts +0 -55
- package/src/generated/shopper/services/OrderService.ts +0 -154
- package/src/generated/shopper/services/PaymentService.ts +0 -33
- package/src/generated/shopper/services/ProductService.ts +0 -33
- package/src/generated/shopper/services/SeatService.ts +0 -66
- package/src/generated/shopper/services/SessionService.ts +0 -22
- package/src/scripts/build-all.ts +52 -0
|
@@ -7,21 +7,13 @@ class EventService {
|
|
|
7
7
|
/**
|
|
8
8
|
* Get all events for a shopper
|
|
9
9
|
* Retrieves all events associated with the shopper.
|
|
10
|
-
* @param shopperguid Unique identifier for the shopper.
|
|
11
|
-
* @param accountid Unique identifier for the account.
|
|
12
|
-
* @param apikey API key for authentication.
|
|
13
10
|
* @returns GetEventsResponse Returns a list of events and their groups.
|
|
14
11
|
* @throws ApiError
|
|
15
12
|
*/
|
|
16
|
-
static getEvents(
|
|
13
|
+
static getEvents() {
|
|
17
14
|
return (0, request_1.request)(OpenAPI_1.OpenAPI, {
|
|
18
15
|
method: 'GET',
|
|
19
16
|
url: '/event',
|
|
20
|
-
headers: {
|
|
21
|
-
'shopperguid': shopperguid,
|
|
22
|
-
'accountid': accountid,
|
|
23
|
-
'apikey': apikey,
|
|
24
|
-
},
|
|
25
17
|
errors: {
|
|
26
18
|
400: `Bad Request error with error details.`,
|
|
27
19
|
404: `Not found error with error details.`,
|
|
@@ -33,21 +25,13 @@ class EventService {
|
|
|
33
25
|
* Get events for a specific performer
|
|
34
26
|
* Retrieves events associated with a specific performer.
|
|
35
27
|
* @param performer The name of the performer to filter events by.
|
|
36
|
-
* @param shopperguid Unique identifier for the shopper.
|
|
37
|
-
* @param accountid Unique identifier for the account.
|
|
38
|
-
* @param apikey API key for authentication.
|
|
39
28
|
* @returns PerformerEventList Returns a list of event IDs and their primary status.
|
|
40
29
|
* @throws ApiError
|
|
41
30
|
*/
|
|
42
|
-
static getPerformers(performer
|
|
31
|
+
static getPerformers(performer) {
|
|
43
32
|
return (0, request_1.request)(OpenAPI_1.OpenAPI, {
|
|
44
33
|
method: 'GET',
|
|
45
34
|
url: '/event/performer',
|
|
46
|
-
headers: {
|
|
47
|
-
'shopperguid': shopperguid,
|
|
48
|
-
'accountid': accountid,
|
|
49
|
-
'apikey': apikey,
|
|
50
|
-
},
|
|
51
35
|
query: {
|
|
52
36
|
'performer': performer,
|
|
53
37
|
},
|
|
@@ -62,24 +46,16 @@ class EventService {
|
|
|
62
46
|
* Get event details by ID
|
|
63
47
|
* Retrieves detailed information for a specific event.
|
|
64
48
|
* @param id
|
|
65
|
-
* @param shopperguid Unique identifier for the shopper.
|
|
66
|
-
* @param accountid Unique identifier for the account.
|
|
67
|
-
* @param apikey API key for authentication.
|
|
68
49
|
* @returns FullEventDetails Returns the event details.
|
|
69
50
|
* @throws ApiError
|
|
70
51
|
*/
|
|
71
|
-
static getEventById(id
|
|
52
|
+
static getEventById(id) {
|
|
72
53
|
return (0, request_1.request)(OpenAPI_1.OpenAPI, {
|
|
73
54
|
method: 'GET',
|
|
74
55
|
url: '/event/{id}',
|
|
75
56
|
path: {
|
|
76
57
|
'id': id,
|
|
77
58
|
},
|
|
78
|
-
headers: {
|
|
79
|
-
'shopperguid': shopperguid,
|
|
80
|
-
'accountid': accountid,
|
|
81
|
-
'apikey': apikey,
|
|
82
|
-
},
|
|
83
59
|
errors: {
|
|
84
60
|
400: `Bad Request error with error details.`,
|
|
85
61
|
404: `Not found error with error details.`,
|
|
@@ -90,22 +66,14 @@ class EventService {
|
|
|
90
66
|
/**
|
|
91
67
|
* Assign names to the waitlist
|
|
92
68
|
* Updates the waitlist with shopper details.
|
|
93
|
-
* @param shopperguid Unique identifier for the shopper.
|
|
94
|
-
* @param accountid Unique identifier for the account.
|
|
95
|
-
* @param apikey API key for authentication.
|
|
96
69
|
* @param requestBody Details of the waitlist update
|
|
97
70
|
* @returns WaitlistResponse Returns the result of the waitlist update.
|
|
98
71
|
* @throws ApiError
|
|
99
72
|
*/
|
|
100
|
-
static postWishlist(
|
|
73
|
+
static postWishlist(requestBody) {
|
|
101
74
|
return (0, request_1.request)(OpenAPI_1.OpenAPI, {
|
|
102
75
|
method: 'POST',
|
|
103
76
|
url: '/event/waitlist',
|
|
104
|
-
headers: {
|
|
105
|
-
'shopperguid': shopperguid,
|
|
106
|
-
'accountid': accountid,
|
|
107
|
-
'apikey': apikey,
|
|
108
|
-
},
|
|
109
77
|
body: requestBody,
|
|
110
78
|
mediaType: 'application/json',
|
|
111
79
|
errors: {
|
|
@@ -11,52 +11,37 @@ export declare class GiftCardService {
|
|
|
11
11
|
* Retrieves gift card balance and availability information for the specified code and PIN.
|
|
12
12
|
* @param code Gift card code
|
|
13
13
|
* @param pin Gift card PIN
|
|
14
|
-
* @param shopperguid Unique identifier for the shopper.
|
|
15
|
-
* @param accountid Unique identifier for the account.
|
|
16
|
-
* @param apikey API key for authentication.
|
|
17
14
|
* @returns GiftCardLookupResponse Returns gift card balance and availability information.
|
|
18
15
|
* @throws ApiError
|
|
19
16
|
*/
|
|
20
|
-
static lookupGiftCard(code: string, pin: string
|
|
17
|
+
static lookupGiftCard(code: string, pin: string): CancelablePromise<GiftCardLookupResponse>;
|
|
21
18
|
/**
|
|
22
19
|
* Apply a gift card to the current session
|
|
23
20
|
* Applies a gift card to the current shopper session. Removes any previously applied gift card.
|
|
24
|
-
* @param shopperguid Unique identifier for the shopper.
|
|
25
|
-
* @param accountid Unique identifier for the account.
|
|
26
|
-
* @param apikey API key for authentication.
|
|
27
21
|
* @param requestBody Gift card details to apply
|
|
28
22
|
* @returns GiftCardApplyResponse Gift card applied successfully.
|
|
29
23
|
* @throws ApiError
|
|
30
24
|
*/
|
|
31
|
-
static applyGiftCard(
|
|
25
|
+
static applyGiftCard(requestBody: GiftCardApplyDto): CancelablePromise<GiftCardApplyResponse>;
|
|
32
26
|
/**
|
|
33
27
|
* Remove the gift card from the current session
|
|
34
28
|
* Removes all gift cards from the current shopper session and recalculates payment totals.
|
|
35
|
-
* @param shopperguid Unique identifier for the shopper.
|
|
36
|
-
* @param accountid Unique identifier for the account.
|
|
37
|
-
* @param apikey API key for authentication.
|
|
38
29
|
* @returns GiftCardRemoveResponse Gift card removed successfully.
|
|
39
30
|
* @throws ApiError
|
|
40
31
|
*/
|
|
41
|
-
static removeGiftCard(
|
|
32
|
+
static removeGiftCard(): CancelablePromise<GiftCardRemoveResponse>;
|
|
42
33
|
/**
|
|
43
34
|
* Get gift card checkout information
|
|
44
35
|
* Retrieves gift card information for the checkout page, including applied gift card details and remaining balance.
|
|
45
|
-
* @param shopperguid Unique identifier for the shopper.
|
|
46
|
-
* @param accountid Unique identifier for the account.
|
|
47
|
-
* @param apikey API key for authentication.
|
|
48
36
|
* @returns GiftCardCheckoutInfo Returns gift card checkout information.
|
|
49
37
|
* @throws ApiError
|
|
50
38
|
*/
|
|
51
|
-
static getGiftCardCheckoutInfo(
|
|
39
|
+
static getGiftCardCheckoutInfo(): CancelablePromise<GiftCardCheckoutInfo>;
|
|
52
40
|
/**
|
|
53
41
|
* Get gift card edit form data
|
|
54
42
|
* Retrieves the currently applied gift card information for editing purposes.
|
|
55
|
-
* @param shopperguid Unique identifier for the shopper.
|
|
56
|
-
* @param accountid Unique identifier for the account.
|
|
57
|
-
* @param apikey API key for authentication.
|
|
58
43
|
* @returns GiftCardEditFormResponse Returns the applied gift card code and amount.
|
|
59
44
|
* @throws ApiError
|
|
60
45
|
*/
|
|
61
|
-
static getGiftCardEditForm(
|
|
46
|
+
static getGiftCardEditForm(): CancelablePromise<GiftCardEditFormResponse>;
|
|
62
47
|
}
|
|
@@ -9,21 +9,13 @@ class GiftCardService {
|
|
|
9
9
|
* Retrieves gift card balance and availability information for the specified code and PIN.
|
|
10
10
|
* @param code Gift card code
|
|
11
11
|
* @param pin Gift card PIN
|
|
12
|
-
* @param shopperguid Unique identifier for the shopper.
|
|
13
|
-
* @param accountid Unique identifier for the account.
|
|
14
|
-
* @param apikey API key for authentication.
|
|
15
12
|
* @returns GiftCardLookupResponse Returns gift card balance and availability information.
|
|
16
13
|
* @throws ApiError
|
|
17
14
|
*/
|
|
18
|
-
static lookupGiftCard(code, pin
|
|
15
|
+
static lookupGiftCard(code, pin) {
|
|
19
16
|
return (0, request_1.request)(OpenAPI_1.OpenAPI, {
|
|
20
17
|
method: 'GET',
|
|
21
18
|
url: '/gift-card',
|
|
22
|
-
headers: {
|
|
23
|
-
'shopperguid': shopperguid,
|
|
24
|
-
'accountid': accountid,
|
|
25
|
-
'apikey': apikey,
|
|
26
|
-
},
|
|
27
19
|
query: {
|
|
28
20
|
'code': code,
|
|
29
21
|
'pin': pin,
|
|
@@ -38,22 +30,14 @@ class GiftCardService {
|
|
|
38
30
|
/**
|
|
39
31
|
* Apply a gift card to the current session
|
|
40
32
|
* Applies a gift card to the current shopper session. Removes any previously applied gift card.
|
|
41
|
-
* @param shopperguid Unique identifier for the shopper.
|
|
42
|
-
* @param accountid Unique identifier for the account.
|
|
43
|
-
* @param apikey API key for authentication.
|
|
44
33
|
* @param requestBody Gift card details to apply
|
|
45
34
|
* @returns GiftCardApplyResponse Gift card applied successfully.
|
|
46
35
|
* @throws ApiError
|
|
47
36
|
*/
|
|
48
|
-
static applyGiftCard(
|
|
37
|
+
static applyGiftCard(requestBody) {
|
|
49
38
|
return (0, request_1.request)(OpenAPI_1.OpenAPI, {
|
|
50
39
|
method: 'POST',
|
|
51
40
|
url: '/gift-card',
|
|
52
|
-
headers: {
|
|
53
|
-
'shopperguid': shopperguid,
|
|
54
|
-
'accountid': accountid,
|
|
55
|
-
'apikey': apikey,
|
|
56
|
-
},
|
|
57
41
|
body: requestBody,
|
|
58
42
|
mediaType: 'application/json',
|
|
59
43
|
errors: {
|
|
@@ -66,21 +50,13 @@ class GiftCardService {
|
|
|
66
50
|
/**
|
|
67
51
|
* Remove the gift card from the current session
|
|
68
52
|
* Removes all gift cards from the current shopper session and recalculates payment totals.
|
|
69
|
-
* @param shopperguid Unique identifier for the shopper.
|
|
70
|
-
* @param accountid Unique identifier for the account.
|
|
71
|
-
* @param apikey API key for authentication.
|
|
72
53
|
* @returns GiftCardRemoveResponse Gift card removed successfully.
|
|
73
54
|
* @throws ApiError
|
|
74
55
|
*/
|
|
75
|
-
static removeGiftCard(
|
|
56
|
+
static removeGiftCard() {
|
|
76
57
|
return (0, request_1.request)(OpenAPI_1.OpenAPI, {
|
|
77
58
|
method: 'DELETE',
|
|
78
59
|
url: '/gift-card',
|
|
79
|
-
headers: {
|
|
80
|
-
'shopperguid': shopperguid,
|
|
81
|
-
'accountid': accountid,
|
|
82
|
-
'apikey': apikey,
|
|
83
|
-
},
|
|
84
60
|
errors: {
|
|
85
61
|
400: `Bad Request error with error details.`,
|
|
86
62
|
404: `Not found error with error details.`,
|
|
@@ -91,21 +67,13 @@ class GiftCardService {
|
|
|
91
67
|
/**
|
|
92
68
|
* Get gift card checkout information
|
|
93
69
|
* Retrieves gift card information for the checkout page, including applied gift card details and remaining balance.
|
|
94
|
-
* @param shopperguid Unique identifier for the shopper.
|
|
95
|
-
* @param accountid Unique identifier for the account.
|
|
96
|
-
* @param apikey API key for authentication.
|
|
97
70
|
* @returns GiftCardCheckoutInfo Returns gift card checkout information.
|
|
98
71
|
* @throws ApiError
|
|
99
72
|
*/
|
|
100
|
-
static getGiftCardCheckoutInfo(
|
|
73
|
+
static getGiftCardCheckoutInfo() {
|
|
101
74
|
return (0, request_1.request)(OpenAPI_1.OpenAPI, {
|
|
102
75
|
method: 'GET',
|
|
103
76
|
url: '/gift-card/checkout',
|
|
104
|
-
headers: {
|
|
105
|
-
'shopperguid': shopperguid,
|
|
106
|
-
'accountid': accountid,
|
|
107
|
-
'apikey': apikey,
|
|
108
|
-
},
|
|
109
77
|
errors: {
|
|
110
78
|
400: `Bad Request error with error details.`,
|
|
111
79
|
404: `Not found error with error details.`,
|
|
@@ -116,21 +84,13 @@ class GiftCardService {
|
|
|
116
84
|
/**
|
|
117
85
|
* Get gift card edit form data
|
|
118
86
|
* Retrieves the currently applied gift card information for editing purposes.
|
|
119
|
-
* @param shopperguid Unique identifier for the shopper.
|
|
120
|
-
* @param accountid Unique identifier for the account.
|
|
121
|
-
* @param apikey API key for authentication.
|
|
122
87
|
* @returns GiftCardEditFormResponse Returns the applied gift card code and amount.
|
|
123
88
|
* @throws ApiError
|
|
124
89
|
*/
|
|
125
|
-
static getGiftCardEditForm(
|
|
90
|
+
static getGiftCardEditForm() {
|
|
126
91
|
return (0, request_1.request)(OpenAPI_1.OpenAPI, {
|
|
127
92
|
method: 'GET',
|
|
128
93
|
url: '/gift-card/edit',
|
|
129
|
-
headers: {
|
|
130
|
-
'shopperguid': shopperguid,
|
|
131
|
-
'accountid': accountid,
|
|
132
|
-
'apikey': apikey,
|
|
133
|
-
},
|
|
134
94
|
errors: {
|
|
135
95
|
400: `Bad Request error with error details.`,
|
|
136
96
|
404: `Not found error with error details.`,
|
|
@@ -18,158 +18,116 @@ export declare class OrderService {
|
|
|
18
18
|
* Get order receipt by guid
|
|
19
19
|
* Fetches the receipt for an order using its unique guid.
|
|
20
20
|
* @param guid Unique identifier for an order.
|
|
21
|
-
* @param shopperguid Unique identifier for the shopper.
|
|
22
|
-
* @param accountid Unique identifier for the account.
|
|
23
|
-
* @param apikey API key for authentication.
|
|
24
21
|
* @returns Receipt Returns the order receipt.
|
|
25
22
|
* @throws ApiError
|
|
26
23
|
*/
|
|
27
|
-
static getReceipt(guid: string
|
|
24
|
+
static getReceipt(guid: string): CancelablePromise<Receipt>;
|
|
28
25
|
/**
|
|
29
26
|
* Get Gwallet link by guid
|
|
30
27
|
* Fetches the Gwallet link for an order using its unique guid.
|
|
31
28
|
* @param guid Unique identifier for an order.
|
|
32
|
-
* @param shopperguid Unique identifier for the shopper.
|
|
33
|
-
* @param accountid Unique identifier for the account.
|
|
34
|
-
* @param apikey API key for authentication.
|
|
35
29
|
* @returns LinkWithSuccess Returns the Gwallet link.
|
|
36
30
|
* @throws ApiError
|
|
37
31
|
*/
|
|
38
|
-
static getGwalletLink(guid: string
|
|
32
|
+
static getGwalletLink(guid: string): CancelablePromise<LinkWithSuccess>;
|
|
39
33
|
/**
|
|
40
34
|
* Get testing guid
|
|
41
35
|
* Fetches a testing guid for development purposes.
|
|
42
36
|
* @param guid Unique identifier for an order.
|
|
43
|
-
* @param shopperguid Unique identifier for the shopper.
|
|
44
|
-
* @param accountid Unique identifier for the account.
|
|
45
|
-
* @param apikey API key for authentication.
|
|
46
37
|
* @returns GuidReturn Returns a testing guid.
|
|
47
38
|
* @throws ApiError
|
|
48
39
|
*/
|
|
49
|
-
static getTestingGuid(guid: string
|
|
40
|
+
static getTestingGuid(guid: string): CancelablePromise<GuidReturn>;
|
|
50
41
|
/**
|
|
51
42
|
* Get assign names by guid
|
|
52
43
|
* Fetches the assign names information for an order using its unique guid.
|
|
53
44
|
* @param guid Unique identifier for an order.
|
|
54
|
-
* @param shopperguid Unique identifier for the shopper.
|
|
55
|
-
* @param accountid Unique identifier for the account.
|
|
56
|
-
* @param apikey API key for authentication.
|
|
57
45
|
* @returns AssignNamesReturn Returns the assign names information.
|
|
58
46
|
* @throws ApiError
|
|
59
47
|
*/
|
|
60
|
-
static getAssignNames(guid: string
|
|
48
|
+
static getAssignNames(guid: string): CancelablePromise<AssignNamesReturn>;
|
|
61
49
|
/**
|
|
62
50
|
* Post assign names
|
|
63
51
|
* Assigns names to an order using its unique guid and the provided names.
|
|
64
52
|
* @param guid Unique identifier for an order.
|
|
65
|
-
* @param shopperguid Unique identifier for the shopper.
|
|
66
|
-
* @param accountid Unique identifier for the account.
|
|
67
|
-
* @param apikey API key for authentication.
|
|
68
53
|
* @param requestBody Names to be assigned to the order.
|
|
69
54
|
* @returns SuccessResponse Returns success status after assigning names.
|
|
70
55
|
* @throws ApiError
|
|
71
56
|
*/
|
|
72
|
-
static postAssignNames(guid: string,
|
|
57
|
+
static postAssignNames(guid: string, requestBody: NameUpdate): CancelablePromise<SuccessResponse>;
|
|
73
58
|
/**
|
|
74
59
|
* Post email tickets
|
|
75
60
|
* Sends email tickets for an order using its unique guid and the provided email update.
|
|
76
61
|
* @param guid Unique identifier for an order.
|
|
77
|
-
* @param shopperguid Unique identifier for the shopper.
|
|
78
|
-
* @param accountid Unique identifier for the account.
|
|
79
|
-
* @param apikey API key for authentication.
|
|
80
62
|
* @param requestBody Email update containing the email address to send tickets.
|
|
81
63
|
* @returns SuccessResponse Returns success status after sending email tickets.
|
|
82
64
|
* @throws ApiError
|
|
83
65
|
*/
|
|
84
|
-
static postEmailTickets(guid: string,
|
|
66
|
+
static postEmailTickets(guid: string, requestBody: EmailUpdate): CancelablePromise<SuccessResponse>;
|
|
85
67
|
/**
|
|
86
68
|
* Get ticket block by guid
|
|
87
69
|
* Fetches the ticket block for an order using its unique guid.
|
|
88
70
|
* @param guid Unique identifier for an order.
|
|
89
|
-
* @param shopperguid Unique identifier for the shopper.
|
|
90
|
-
* @param accountid Unique identifier for the account.
|
|
91
|
-
* @param apikey API key for authentication.
|
|
92
71
|
* @returns PickupReturn Returns the ticket block for the order.
|
|
93
72
|
* @throws ApiError
|
|
94
73
|
*/
|
|
95
|
-
static getTicketBlock(guid: string
|
|
74
|
+
static getTicketBlock(guid: string): CancelablePromise<PickupReturn>;
|
|
96
75
|
/**
|
|
97
76
|
* Post ticket block by guid
|
|
98
77
|
* Sends the ticket block for an order using its unique guid.
|
|
99
78
|
* @param guid Unique identifier for an order.
|
|
100
|
-
* @param shopperguid Unique identifier for the shopper.
|
|
101
|
-
* @param accountid Unique identifier for the account.
|
|
102
|
-
* @param apikey API key for authentication.
|
|
103
79
|
* @returns SuccessResponse Returns the ticket block for the order.
|
|
104
80
|
* @throws ApiError
|
|
105
81
|
*/
|
|
106
|
-
static postPickup(guid: string
|
|
82
|
+
static postPickup(guid: string): CancelablePromise<SuccessResponse>;
|
|
107
83
|
/**
|
|
108
84
|
* Send order receipt via email
|
|
109
85
|
* Sends the order receipt to the shopper's email address for the specified order guid.
|
|
110
86
|
* @param guid Unique identifier for an order.
|
|
111
|
-
* @param shopperguid Unique identifier for the shopper.
|
|
112
|
-
* @param accountid Unique identifier for the account.
|
|
113
|
-
* @param apikey API key for authentication.
|
|
114
87
|
* @returns SuccessResponse Returns success status after emailing the receipt.
|
|
115
88
|
* @throws ApiError
|
|
116
89
|
*/
|
|
117
|
-
static postEmailReceipt(guid: string
|
|
90
|
+
static postEmailReceipt(guid: string): CancelablePromise<SuccessResponse>;
|
|
118
91
|
/**
|
|
119
92
|
* Get refund request information
|
|
120
93
|
* Fetches the refund request information for an order using its unique guid.
|
|
121
94
|
* @param guid Unique identifier for an order.
|
|
122
|
-
* @param shopperguid Unique identifier for the shopper.
|
|
123
|
-
* @param accountid Unique identifier for the account.
|
|
124
|
-
* @param apikey API key for authentication.
|
|
125
95
|
* @returns RefundRequestInfo Returns the refund request information for the order.
|
|
126
96
|
* @throws ApiError
|
|
127
97
|
*/
|
|
128
|
-
static getRefundRequest(guid: string
|
|
98
|
+
static getRefundRequest(guid: string): CancelablePromise<RefundRequestInfo>;
|
|
129
99
|
/**
|
|
130
100
|
* Submit a refund request
|
|
131
101
|
* Submits a refund request for an order using its unique guid and the provided refund details.
|
|
132
102
|
* @param guid Unique identifier for an order.
|
|
133
|
-
* @param shopperguid Unique identifier for the shopper.
|
|
134
|
-
* @param accountid Unique identifier for the account.
|
|
135
|
-
* @param apikey API key for authentication.
|
|
136
103
|
* @param requestBody Refund request details.
|
|
137
104
|
* @returns SuccessResponse Returns success status after submitting the refund request.
|
|
138
105
|
* @throws ApiError
|
|
139
106
|
*/
|
|
140
|
-
static postRefundRequest(guid: string,
|
|
107
|
+
static postRefundRequest(guid: string, requestBody: RefundRequest): CancelablePromise<SuccessResponse>;
|
|
141
108
|
/**
|
|
142
109
|
* Recalculate order totals
|
|
143
110
|
* Recalculates the totals for an order using the provided recalculation data.
|
|
144
111
|
* @param guid Unique identifier for an order.
|
|
145
|
-
* @param shopperguid Unique identifier for the shopper.
|
|
146
|
-
* @param accountid Unique identifier for the account.
|
|
147
|
-
* @param apikey API key for authentication.
|
|
148
112
|
* @param requestBody Order recalculation data.
|
|
149
113
|
* @returns RecalcResponse Returns the recalculated order totals and success status.
|
|
150
114
|
* @throws ApiError
|
|
151
115
|
*/
|
|
152
|
-
static postRecalcOrder(guid: string,
|
|
116
|
+
static postRecalcOrder(guid: string, requestBody: OrderRecalc): CancelablePromise<RecalcResponse>;
|
|
153
117
|
/**
|
|
154
118
|
* Register a stream for a shopper
|
|
155
119
|
* Registers a stream for the specified shopper and account using the provided stream registration details.
|
|
156
|
-
* @param shopperguid Unique identifier for the shopper.
|
|
157
|
-
* @param accountid Unique identifier for the account.
|
|
158
|
-
* @param apikey API key for authentication.
|
|
159
120
|
* @param requestBody Stream registration details.
|
|
160
121
|
* @returns RegisterStreamResponse Returns the stream registration response.
|
|
161
122
|
* @throws ApiError
|
|
162
123
|
*/
|
|
163
|
-
static postRegisterStream(
|
|
124
|
+
static postRegisterStream(requestBody: RegisterStreamRequest): CancelablePromise<RegisterStreamResponse>;
|
|
164
125
|
/**
|
|
165
126
|
* Deregister a stream for a shopper
|
|
166
127
|
* Removes the stream registration for the specified shopper and account using the provided stream registration details.
|
|
167
|
-
* @param shopperguid Unique identifier for the shopper.
|
|
168
|
-
* @param accountid Unique identifier for the account.
|
|
169
|
-
* @param apikey API key for authentication.
|
|
170
128
|
* @param requestBody Stream registration details to be deregistered.
|
|
171
129
|
* @returns SuccessResponse Returns success status after deregistering the stream.
|
|
172
130
|
* @throws ApiError
|
|
173
131
|
*/
|
|
174
|
-
static deleteRegisteredStream(
|
|
132
|
+
static deleteRegisteredStream(requestBody: RegisterStreamRequest): CancelablePromise<SuccessResponse>;
|
|
175
133
|
}
|