@itm-studio/partner-sdk 0.5.0 → 0.6.1
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/README.md +247 -1
- package/dist/index.d.mts +252 -2
- package/dist/index.d.ts +252 -2
- package/dist/index.js +1547 -1239
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1547 -1239
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/schema/partner.graphql +213 -1
package/README.md
CHANGED
|
@@ -628,6 +628,38 @@ reconciliation but is personal data; do not render it on public surfaces.
|
|
|
628
628
|
Amounts are ITM cents (major units × 100, also for zero-decimal currencies) —
|
|
629
629
|
see [Money Amounts](#money-amounts).
|
|
630
630
|
|
|
631
|
+
### `getPartnerMerch`
|
|
632
|
+
|
|
633
|
+
List the brand's merch, newest first, with the UIDs you need to record a sale:
|
|
634
|
+
`merchSizes` for `merchSizeUid` and `merchPickupMoments` for `pickupMomentUid`.
|
|
635
|
+
`take` defaults to 50 and is capped at 100; follow `nextCursor` while
|
|
636
|
+
`hasNextPage` is true. Filter with `query`/`filters.search`, or
|
|
637
|
+
`filters.momentUid` for merch associated with a moment (including merch shown
|
|
638
|
+
or offered as an upsell there). That filter does not guarantee pickup eligibility:
|
|
639
|
+
choose `pickupMomentUid` from the item's `merchPickupMoments`. Requires a `token`
|
|
640
|
+
client. See [Record an off-platform merch purchase](#record-an-off-platform-merch-purchase).
|
|
641
|
+
|
|
642
|
+
```typescript
|
|
643
|
+
const { getPartnerMerch } = await itm.query({
|
|
644
|
+
getPartnerMerch: {
|
|
645
|
+
__args: { input: { take: 50 } },
|
|
646
|
+
items: {
|
|
647
|
+
uid: true,
|
|
648
|
+
name: true,
|
|
649
|
+
price: true, // ITM cents
|
|
650
|
+
currency: { code: true },
|
|
651
|
+
fulfillmentType: true, // MOMENT, SHIPPING or MOMENT_OR_SHIPPING
|
|
652
|
+
fulfillmentPlatform: true, // EXTERNAL = Shopify fulfills; cannot be redeemed from ITM
|
|
653
|
+
checkoutPlatform: true, // only ITM merch can be recorded
|
|
654
|
+
merchSizes: { uid: true, name: true, isSoldOut: true },
|
|
655
|
+
merchPickupMoments: { uid: true, name: true, startDate: true },
|
|
656
|
+
},
|
|
657
|
+
hasNextPage: true,
|
|
658
|
+
nextCursor: true,
|
|
659
|
+
},
|
|
660
|
+
});
|
|
661
|
+
```
|
|
662
|
+
|
|
631
663
|
### `getPartnerMoment`
|
|
632
664
|
|
|
633
665
|
Get a single moment by slug.
|
|
@@ -1377,6 +1409,12 @@ const { respondToMomentLineup } = await itm.mutation({
|
|
|
1377
1409
|
|
|
1378
1410
|
Admin-only lineup creation and ordering are not part of the partner-token SDK surface. Use backstage for managing lineup entries.
|
|
1379
1411
|
|
|
1412
|
+
### `createPartnerMerchPurchase` / `redeemPartnerMerchPurchase`
|
|
1413
|
+
|
|
1414
|
+
Record a merch sale whose payment was collected outside ITM, and mark merch
|
|
1415
|
+
purchases redeemed (handed over). See
|
|
1416
|
+
[Record an off-platform merch purchase](#record-an-off-platform-merch-purchase).
|
|
1417
|
+
|
|
1380
1418
|
## Partner Brand Subscription Guide
|
|
1381
1419
|
|
|
1382
1420
|
The partner brand subscription API supports two integration modes:
|
|
@@ -2504,7 +2542,9 @@ do {
|
|
|
2504
2542
|
});
|
|
2505
2543
|
|
|
2506
2544
|
for (const ticket of getPartnerTicketsForMoment.tickets) {
|
|
2507
|
-
|
|
2545
|
+
// `user` is typed nullable: box-office walk-up tickets have no holder
|
|
2546
|
+
// (they are left out of this list).
|
|
2547
|
+
console.log(ticket.user?.name);
|
|
2508
2548
|
}
|
|
2509
2549
|
|
|
2510
2550
|
cursor = getPartnerTicketsForMoment.nextCursor ?? null;
|
|
@@ -2714,6 +2754,212 @@ email or phone matches a current verified ITM identity; unmatched contacts do no
|
|
|
2714
2754
|
create an account, and conflicting matches are rejected. `source` distinguishes
|
|
2715
2755
|
`STRIPE`, `OFF_SITE`, and in-person `POS` independently of payment status.
|
|
2716
2756
|
|
|
2757
|
+
### Record an off-platform merch purchase
|
|
2758
|
+
|
|
2759
|
+
When a brand sells ITM merch but takes the money elsewhere (its own POS, a card
|
|
2760
|
+
terminal, Venmo, a bank transfer), record the sale so it reaches the brand's ITM
|
|
2761
|
+
CRM: the customer's spend and product count, merch tags, and pickup attendance.
|
|
2762
|
+
This needs a partner `token` client; the backend derives brand scope from it.
|
|
2763
|
+
ITM moves no money and charges no fee for these sales. Run this integration on
|
|
2764
|
+
[your Node.js server](#authentication), using a partner API token rather than an
|
|
2765
|
+
agent session. The target backend must have
|
|
2766
|
+
[the partner merch API](https://github.com/itm-studio/itm-backend/pull/1174)
|
|
2767
|
+
deployed before using these operations; installing the SDK does not enable them
|
|
2768
|
+
on an older backend.
|
|
2769
|
+
|
|
2770
|
+
1. Find the merch with `getPartnerMerch`.
|
|
2771
|
+
2. Call `createPartnerMerchPurchase` once per merch line.
|
|
2772
|
+
3. Call `redeemPartnerMerchPurchase` when the item is handed over, or pass
|
|
2773
|
+
`redeemed: true` on create when it is handed over at the time of sale.
|
|
2774
|
+
|
|
2775
|
+
```ts
|
|
2776
|
+
const { createPartnerMerchPurchase } = await itm.mutation({
|
|
2777
|
+
createPartnerMerchPurchase: {
|
|
2778
|
+
__args: { input: {
|
|
2779
|
+
requestUid: `pos-${posOrderId}-line-${lineNumber}`, // 8-128 letters, digits, _ or -; retain across retries.
|
|
2780
|
+
merchUid,
|
|
2781
|
+
merchSizeUid,
|
|
2782
|
+
quantity: 2,
|
|
2783
|
+
amountCents: 7000, // Total collected, ITM cents (major units × 100, including JPY).
|
|
2784
|
+
currencyCode: 'USD', // Must match the merch currency.
|
|
2785
|
+
paymentMethod: 'CARD',
|
|
2786
|
+
paymentProvider: 'Square POS',
|
|
2787
|
+
externalPaymentReference: squarePaymentId,
|
|
2788
|
+
customer: { email: 'buyer@example.com', phoneNumber: '+14155550123', name: 'Alex Rivera' },
|
|
2789
|
+
pickupMomentUid, // Required for pickup fulfillment.
|
|
2790
|
+
redeemed: true, // Handed over at the counter.
|
|
2791
|
+
} },
|
|
2792
|
+
uid: true,
|
|
2793
|
+
userUid: true, // The customer's ITM user uid
|
|
2794
|
+
source: true, // PARTNER
|
|
2795
|
+
state: true, // SUCCESS
|
|
2796
|
+
redeemedAt: true,
|
|
2797
|
+
},
|
|
2798
|
+
});
|
|
2799
|
+
```
|
|
2800
|
+
|
|
2801
|
+
Persist the returned `uid` alongside your external order line so it can be
|
|
2802
|
+
redeemed later. Each line is a separate request and can succeed or fail
|
|
2803
|
+
independently; recording a multi-line order is not atomic.
|
|
2804
|
+
|
|
2805
|
+
The response is a `PartnerMerchPurchase`: the purchase with related records
|
|
2806
|
+
(`merchUid`, `merchSizeUid`, `userUid`, `pickupMomentUid`) as uids. It never
|
|
2807
|
+
exposes the customer's ITM account details. `userUid` is null when redeeming a
|
|
2808
|
+
box-office walk-up purchase that has no customer.
|
|
2809
|
+
|
|
2810
|
+
`paymentMethod` records how the customer paid. It is required when
|
|
2811
|
+
`amountCents` is above 0 and must be omitted for a free purchase:
|
|
2812
|
+
|
|
2813
|
+
| Value | Use for |
|
|
2814
|
+
| --- | --- |
|
|
2815
|
+
| `CASH` | Physical currency |
|
|
2816
|
+
| `CARD` | A card taken on a non-ITM terminal or processor (Square, SumUp, Clover…), including Apple Pay or Google Pay tapped on that terminal |
|
|
2817
|
+
| `DIGITAL_WALLET` | Venmo, Cash App, PayPal, Zelle and similar apps |
|
|
2818
|
+
| `BANK_TRANSFER` | ACH, wire or bank deposit |
|
|
2819
|
+
| `CHECK` | Check or money order |
|
|
2820
|
+
| `OTHER` | Anything else, such as a third-party gift card, store credit or crypto |
|
|
2821
|
+
|
|
2822
|
+
Use `paymentProvider` (who took the money) and `externalPaymentReference` (that
|
|
2823
|
+
system's transaction or order ID, up to 255 characters each) so the sale can be
|
|
2824
|
+
reconciled; both appear in the brand's merch exports. They need a
|
|
2825
|
+
`paymentMethod`.
|
|
2826
|
+
|
|
2827
|
+
Behavior:
|
|
2828
|
+
|
|
2829
|
+
- **Retries.** A retry with the same `requestUid` returns the original purchase
|
|
2830
|
+
without counting the sale twice. Within 7 days of the sale, a retry of a sale
|
|
2831
|
+
that hasn't been cancelled also finishes any CRM, loyalty or Shopify
|
|
2832
|
+
processing that a failed attempt didn't queue. A `sendConfirmation` message is
|
|
2833
|
+
only sent by the attempt that recorded the sale. Reusing a `requestUid` with different
|
|
2834
|
+
details is rejected. `requestUid` is the idempotency key for this request, so
|
|
2835
|
+
keep it separate from `externalPaymentReference` when one payment covers
|
|
2836
|
+
several merch lines. Keys are scoped to the token's brand. Keep the original
|
|
2837
|
+
input, including `redeemed` and `sendConfirmation`, unchanged on a retry;
|
|
2838
|
+
redeem later with the separate mutation. The purchase stays deduplicated after
|
|
2839
|
+
7 days, but retries no longer recover its create follow-ups.
|
|
2840
|
+
- **Customers.** The customer is matched to an existing ITM account by phone
|
|
2841
|
+
number or email, preferring verified login identities. ITM never adds the
|
|
2842
|
+
entered contact details or address to an existing account. When nobody
|
|
2843
|
+
matches, a customer is created from the phone number, or from the email when
|
|
2844
|
+
no phone number is given. The entered name, email and phone are kept with the
|
|
2845
|
+
purchase. Supply at least one of `customer.email` or `customer.phoneNumber`;
|
|
2846
|
+
a name alone is insufficient. Phone numbers need a leading `+` and country
|
|
2847
|
+
code. Conflicting verified identity matches are rejected; when neither contact
|
|
2848
|
+
has a verified match, conflicting on-file matches are also rejected. A verified
|
|
2849
|
+
match takes precedence over an unverified on-file contact. The customer joins
|
|
2850
|
+
the brand's contacts without a marketing subscription.
|
|
2851
|
+
- **Fulfillment.** Pickup merch needs `pickupMomentUid` (one of the merch's
|
|
2852
|
+
`merchPickupMoments`). Shipped merch needs `shippingAddress`. Merch offered as
|
|
2853
|
+
either needs `fulfillmentChoice`. Shopify-fulfilled merch
|
|
2854
|
+
(`fulfillmentPlatform: EXTERNAL`) creates its Shopify order as usual and
|
|
2855
|
+
cannot be redeemed from ITM.
|
|
2856
|
+
- **Inventory.** The sale counts against the size's supply and the merch's
|
|
2857
|
+
per-customer limit. A sale is rejected when either is used up, so raise the
|
|
2858
|
+
supply in ITM before recording sales it does not cover.
|
|
2859
|
+
- **Notifications.** ITM sends nothing by default. Set `sendConfirmation: true`
|
|
2860
|
+
to send ITM's SMS or email confirmation, which includes the pickup QR code.
|
|
2861
|
+
- **Corrections.** Payment details cannot be edited. A mistaken sale can be
|
|
2862
|
+
cancelled from the ITM dashboard: it is restocked with no money movement and
|
|
2863
|
+
the customer is emailed a cancellation. Cancelling does not reduce the
|
|
2864
|
+
customer's lifetime spend in the brand's CRM.
|
|
2865
|
+
|
|
2866
|
+
```ts
|
|
2867
|
+
const { redeemPartnerMerchPurchase } = await itm.mutation({
|
|
2868
|
+
redeemPartnerMerchPurchase: {
|
|
2869
|
+
__args: { merchPurchaseUid },
|
|
2870
|
+
uid: true,
|
|
2871
|
+
redeemedAt: true,
|
|
2872
|
+
},
|
|
2873
|
+
});
|
|
2874
|
+
```
|
|
2875
|
+
|
|
2876
|
+
Redeeming an already redeemed purchase returns it unchanged, so redeem calls are
|
|
2877
|
+
safe to retry while the purchase remains eligible. The purchase must belong to
|
|
2878
|
+
the token's brand, be in `SUCCESS` state, and use ITM fulfillment. Redemption
|
|
2879
|
+
marks the entire purchase quantity handed over; partial redemption is not
|
|
2880
|
+
supported. This operation can redeem eligible purchases from other sources too.
|
|
2881
|
+
For `source: PARTNER` purchases only, a retry within 7 days of redemption also
|
|
2882
|
+
finishes any loyalty or Shopify processing that the redeeming attempt didn't
|
|
2883
|
+
queue.
|
|
2884
|
+
|
|
2885
|
+
#### Shipping and free purchases
|
|
2886
|
+
|
|
2887
|
+
For `MOMENT` merch, pass a linked `pickupMomentUid`. For `SHIPPING` merch, pass
|
|
2888
|
+
`shippingAddress`. For `MOMENT_OR_SHIPPING`, also choose `PICKUP` or `SHIPPING`
|
|
2889
|
+
explicitly in `fulfillmentChoice`. Omit `shippingAddress` for pickup purchases;
|
|
2890
|
+
the backend rejects it. A shipping address is saved with the purchase, not in
|
|
2891
|
+
the customer's address book.
|
|
2892
|
+
|
|
2893
|
+
For example, record a shipped purchase from merch that supports shipping:
|
|
2894
|
+
|
|
2895
|
+
```ts
|
|
2896
|
+
import type { CreatePartnerMerchPurchaseInput } from '@itm-studio/partner-sdk';
|
|
2897
|
+
|
|
2898
|
+
const shippingInput: CreatePartnerMerchPurchaseInput = {
|
|
2899
|
+
requestUid: 'pos-order-1043-line-1', // Persist once per order line.
|
|
2900
|
+
merchUid,
|
|
2901
|
+
merchSizeUid,
|
|
2902
|
+
quantity: 1,
|
|
2903
|
+
amountCents: 3500,
|
|
2904
|
+
currencyCode: 'USD',
|
|
2905
|
+
paymentMethod: 'CARD',
|
|
2906
|
+
customer: { email: 'buyer@example.com' },
|
|
2907
|
+
fulfillmentChoice: 'SHIPPING',
|
|
2908
|
+
shippingAddress: {
|
|
2909
|
+
name: 'Alex Rivera',
|
|
2910
|
+
phoneNumber: '+14155550123',
|
|
2911
|
+
addressLine1: '123 Main Street',
|
|
2912
|
+
city: 'San Francisco',
|
|
2913
|
+
state: 'CA',
|
|
2914
|
+
country: 'US',
|
|
2915
|
+
postalCode: '94105',
|
|
2916
|
+
},
|
|
2917
|
+
};
|
|
2918
|
+
|
|
2919
|
+
const shipped = await itm.mutation({
|
|
2920
|
+
createPartnerMerchPurchase: {
|
|
2921
|
+
__args: { input: shippingInput },
|
|
2922
|
+
uid: true,
|
|
2923
|
+
fulfillmentChoice: true,
|
|
2924
|
+
},
|
|
2925
|
+
});
|
|
2926
|
+
```
|
|
2927
|
+
|
|
2928
|
+
For a free purchase, set `amountCents: 0` and omit `paymentMethod`,
|
|
2929
|
+
`paymentProvider`, and `externalPaymentReference`. Customer, currency, inventory,
|
|
2930
|
+
and fulfillment requirements still apply. The CRM product count tracks paid
|
|
2931
|
+
purchase lines, not individual units; free purchases do not increment that count.
|
|
2932
|
+
|
|
2933
|
+
`quantity` must be a positive integer; `amountCents` must be a non-negative
|
|
2934
|
+
integer representing the **total for the line**, not the unit price. These are
|
|
2935
|
+
[ITM cents](#money-amounts), even for zero-decimal currencies: JPY 1,000 is
|
|
2936
|
+
`100000`, and JPY amounts must be multiples of 100. For Shopify fulfillment,
|
|
2937
|
+
the total must also divide into an exact per-item price in that currency.
|
|
2938
|
+
`customer.name` is limited to 200 characters, `notes` to 500, and each shipping
|
|
2939
|
+
address field to 255. All shipping fields shown above are required;
|
|
2940
|
+
`addressLine2` is optional.
|
|
2941
|
+
|
|
2942
|
+
#### Failures and retries
|
|
2943
|
+
|
|
2944
|
+
The SDK surfaces GraphQL errors as `GenqlError`; network failures can throw
|
|
2945
|
+
other errors. An error does not necessarily mean nothing was saved: the sale
|
|
2946
|
+
may have committed before CRM or fulfillment work failed to queue. For a
|
|
2947
|
+
timeout or transient failure, retry with backoff and the **same requestUid and
|
|
2948
|
+
original input**, never a fresh key. Keep failures in your reconciliation queue
|
|
2949
|
+
until resolved. A successful response confirms recording, not completion of
|
|
2950
|
+
asynchronous CRM or Shopify processing.
|
|
2951
|
+
|
|
2952
|
+
Validation failures need attention before retrying: check inventory and
|
|
2953
|
+
per-customer limits, customer contacts, currency, fulfillment fields, and token
|
|
2954
|
+
brand scope. A `requestUid has different purchase details` error means the key
|
|
2955
|
+
already belongs to another payload; reconcile the original sale before creating
|
|
2956
|
+
a replacement. Retrying a cancelled purchase returns its current state and does
|
|
2957
|
+
not restore it. Confirmations are not replayed, so a failed first attempt can
|
|
2958
|
+
leave a recorded sale without an ITM confirmation.
|
|
2959
|
+
|
|
2960
|
+
If GraphQL reports `Cannot query field` for one of these operations, check that
|
|
2961
|
+
the API URL points to a backend with the partner merch API deployed.
|
|
2962
|
+
|
|
2717
2963
|
### Delegated integration credentials (MCP)
|
|
2718
2964
|
|
|
2719
2965
|
The integration authentication mode accepts a backend-issued, short-lived **API** credential. It sends `x-itm-integration-access-token`; external MCP access tokens cannot authenticate to the business API.
|
package/dist/index.d.mts
CHANGED
|
@@ -33,6 +33,20 @@ type TicketExtensionStatus = 'PENDING' | 'APPLIED' | 'CANCELLED' | 'EXPIRED' | '
|
|
|
33
33
|
type TagSource = 'MANUAL' | 'AUTO';
|
|
34
34
|
type ContributionStatus = 'EXPIRED' | 'FAILED' | 'PENDING' | 'PROCESSING' | 'REVIEW_REQUIRED' | 'SUCCEEDED';
|
|
35
35
|
type ContributionPageStatusFilter = 'ACCEPTING' | 'ARCHIVED' | 'PAUSED';
|
|
36
|
+
/**
|
|
37
|
+
* How a merch payment collected outside ITM was taken. A null paymentMethod
|
|
38
|
+
* means the purchase was paid through ITM checkout, in person through ITM, or was free.
|
|
39
|
+
*/
|
|
40
|
+
type MerchPurchasePaymentMethod = 'CASH' | 'CARD' | 'DIGITAL_WALLET' | 'BANK_TRANSFER' | 'CHECK' | 'OTHER';
|
|
41
|
+
type MerchPurchaseSource = 'APP' | 'DASHBOARD' | 'POS' | 'PARTNER';
|
|
42
|
+
type MerchPurchaseState = 'FAILED' | 'PENDING' | 'REFUNDED' | 'REFUND_PENDING' | 'SUCCESS';
|
|
43
|
+
type MerchPurchaseFulfillmentChoice = 'PICKUP' | 'SHIPPING';
|
|
44
|
+
/** How merch reaches the customer: pickup at a moment, shipping, or either. */
|
|
45
|
+
type MerchFulfillmentType = 'MOMENT' | 'MOMENT_OR_SHIPPING' | 'SHIPPING';
|
|
46
|
+
/** EXTERNAL means Shopify fulfills the order; such purchases cannot be redeemed from ITM. */
|
|
47
|
+
type FulfillmentPlatform = 'EXTERNAL' | 'ITM';
|
|
48
|
+
/** Only ITM-checkout merch can be recorded through createPartnerMerchPurchase. */
|
|
49
|
+
type CheckoutPlatform = 'EXTERNAL' | 'ITM' | 'WEBSITE';
|
|
36
50
|
interface Currency {
|
|
37
51
|
uid: Scalars['ID'];
|
|
38
52
|
code: Scalars['String'];
|
|
@@ -291,7 +305,11 @@ interface Ticket {
|
|
|
291
305
|
externalId: (Scalars['String'] | null);
|
|
292
306
|
hasExpired: Scalars['Boolean'];
|
|
293
307
|
ticketTier: TicketTier;
|
|
294
|
-
|
|
308
|
+
/**
|
|
309
|
+
* The ticket holder. Null only for an ITM box-office walk-up sale, which has no
|
|
310
|
+
* holder; partner ticket lists leave those tickets out.
|
|
311
|
+
*/
|
|
312
|
+
user: (User | null);
|
|
295
313
|
moment: Moment;
|
|
296
314
|
payment: (Payment | null);
|
|
297
315
|
extensions: TicketExtension[];
|
|
@@ -335,6 +353,71 @@ interface MerchPurchase {
|
|
|
335
353
|
updatedAt: Scalars['DateTime'];
|
|
336
354
|
__typename: 'MerchPurchase';
|
|
337
355
|
}
|
|
356
|
+
/**
|
|
357
|
+
* A merch purchase as a partner token sees it. Related records are referenced by
|
|
358
|
+
* uid only; the customer's ITM account is never exposed.
|
|
359
|
+
*/
|
|
360
|
+
interface PartnerMerchPurchase {
|
|
361
|
+
uid: Scalars['ID'];
|
|
362
|
+
merchUid: Scalars['String'];
|
|
363
|
+
merchSizeUid: Scalars['String'];
|
|
364
|
+
/** The customer's ITM user uid. Null for box-office walk-up purchases with no customer. */
|
|
365
|
+
userUid: (Scalars['String'] | null);
|
|
366
|
+
pickupMomentUid: (Scalars['String'] | null);
|
|
367
|
+
quantity: Scalars['Int'];
|
|
368
|
+
/** Total charged in ITM cents (major units times 100). */
|
|
369
|
+
amountCents: Scalars['Int'];
|
|
370
|
+
currencyCode: Scalars['String'];
|
|
371
|
+
state: MerchPurchaseState;
|
|
372
|
+
source: MerchPurchaseSource;
|
|
373
|
+
/** How a payment collected outside ITM was taken; null for ITM-paid or free purchases. */
|
|
374
|
+
paymentMethod: (MerchPurchasePaymentMethod | null);
|
|
375
|
+
/** Who took the off-platform payment, e.g. "Square POS" or "Venmo". */
|
|
376
|
+
paymentProvider: (Scalars['String'] | null);
|
|
377
|
+
/** The off-platform payment system's transaction or order ID. */
|
|
378
|
+
externalPaymentReference: (Scalars['String'] | null);
|
|
379
|
+
fulfillmentChoice: (MerchPurchaseFulfillmentChoice | null);
|
|
380
|
+
notes: (Scalars['String'] | null);
|
|
381
|
+
/** When the purchase was handed over; null until redeemed. */
|
|
382
|
+
redeemedAt: (Scalars['DateTime'] | null);
|
|
383
|
+
createdAt: Scalars['DateTime'];
|
|
384
|
+
updatedAt: Scalars['DateTime'];
|
|
385
|
+
__typename: 'PartnerMerchPurchase';
|
|
386
|
+
}
|
|
387
|
+
interface MerchSize {
|
|
388
|
+
uid: Scalars['ID'];
|
|
389
|
+
name: Scalars['String'];
|
|
390
|
+
isSoldOut: Scalars['Boolean'];
|
|
391
|
+
createdAt: Scalars['DateTime'];
|
|
392
|
+
updatedAt: Scalars['DateTime'];
|
|
393
|
+
__typename: 'MerchSize';
|
|
394
|
+
}
|
|
395
|
+
interface Merch {
|
|
396
|
+
uid: Scalars['ID'];
|
|
397
|
+
name: Scalars['String'];
|
|
398
|
+
description: (Scalars['String'] | null);
|
|
399
|
+
/** Price in ITM cents (major units times 100). */
|
|
400
|
+
price: Scalars['Float'];
|
|
401
|
+
currency: Currency;
|
|
402
|
+
fulfillmentType: MerchFulfillmentType;
|
|
403
|
+
fulfillmentPlatform: FulfillmentPlatform;
|
|
404
|
+
checkoutPlatform: CheckoutPlatform;
|
|
405
|
+
maxPerUser: (Scalars['Int'] | null);
|
|
406
|
+
isLive: Scalars['Boolean'];
|
|
407
|
+
merchSizes: MerchSize[];
|
|
408
|
+
/** Moments where this merch can be picked up; pass one as pickupMomentUid. */
|
|
409
|
+
merchPickupMoments: Moment[];
|
|
410
|
+
createdAt: Scalars['DateTime'];
|
|
411
|
+
updatedAt: Scalars['DateTime'];
|
|
412
|
+
__typename: 'Merch';
|
|
413
|
+
}
|
|
414
|
+
interface GetMerchPaginatedResponse {
|
|
415
|
+
items: Merch[];
|
|
416
|
+
totalCount: Scalars['Int'];
|
|
417
|
+
hasNextPage: Scalars['Boolean'];
|
|
418
|
+
nextCursor: (Scalars['String'] | null);
|
|
419
|
+
__typename: 'GetMerchPaginatedResponse';
|
|
420
|
+
}
|
|
338
421
|
interface PartnerCustomer {
|
|
339
422
|
user: User;
|
|
340
423
|
tickets: Ticket[];
|
|
@@ -968,6 +1051,8 @@ interface Query {
|
|
|
968
1051
|
getAgentMediaUpload: AgentMediaUploadReservation;
|
|
969
1052
|
/** Active brand-linked assets, newest first. Defaults to 50, capped at 100. READ_MEDIA for agents. */
|
|
970
1053
|
getPartnerMediaAssets: GetPartnerMediaAssetsResponse;
|
|
1054
|
+
/** List the brand's merch with sizes and pickup moments, to find the merchUid, merchSizeUid and pickupMomentUid for createPartnerMerchPurchase. */
|
|
1055
|
+
getPartnerMerch: GetMerchPaginatedResponse;
|
|
971
1056
|
/** An active asset linked to the caller's brand; null when unavailable. READ_MEDIA for agents. */
|
|
972
1057
|
getPartnerMediaAsset: (MediaAsset | null);
|
|
973
1058
|
/** Get details for the brand associated with the partner token. */
|
|
@@ -1123,6 +1208,13 @@ interface Mutation {
|
|
|
1123
1208
|
verifyPartnerAppLogin: PartnerAppLogin;
|
|
1124
1209
|
/** Log a payment received off-site. Brand scope comes from the authenticated token or agent session. Amount is in ITM cents (major units times 100). Retain requestUid across retries. */
|
|
1125
1210
|
createPartnerManualContribution: ContributionAdmin;
|
|
1211
|
+
/**
|
|
1212
|
+
* Record a merch sale whose payment was collected outside ITM (cash, a card terminal, Venmo...), so it reaches the brand's CRM.
|
|
1213
|
+
* Brand scope comes from the token. Amount is in ITM cents (major units times 100). Retain requestUid across retries.
|
|
1214
|
+
*/
|
|
1215
|
+
createPartnerMerchPurchase: PartnerMerchPurchase;
|
|
1216
|
+
/** Mark one of the brand's merch purchases redeemed (handed over). Redeeming an already redeemed purchase returns it unchanged. */
|
|
1217
|
+
redeemPartnerMerchPurchase: PartnerMerchPurchase;
|
|
1126
1218
|
reserveAgentMediaUpload: AgentMediaUploadReservation;
|
|
1127
1219
|
finishAgentMediaUpload: Scalars['Boolean'];
|
|
1128
1220
|
/**
|
|
@@ -1615,6 +1707,10 @@ interface TicketGenqlSelection {
|
|
|
1615
1707
|
externalId?: boolean | number;
|
|
1616
1708
|
hasExpired?: boolean | number;
|
|
1617
1709
|
ticketTier?: TicketTierGenqlSelection;
|
|
1710
|
+
/**
|
|
1711
|
+
* The ticket holder. Null only for an ITM box-office walk-up sale, which has no
|
|
1712
|
+
* holder; partner ticket lists leave those tickets out.
|
|
1713
|
+
*/
|
|
1618
1714
|
user?: UserGenqlSelection;
|
|
1619
1715
|
moment?: MomentGenqlSelection;
|
|
1620
1716
|
payment?: PaymentGenqlSelection;
|
|
@@ -1657,6 +1753,139 @@ interface PaymentGenqlSelection {
|
|
|
1657
1753
|
__typename?: boolean | number;
|
|
1658
1754
|
__scalar?: boolean | number;
|
|
1659
1755
|
}
|
|
1756
|
+
/**
|
|
1757
|
+
* A merch purchase as a partner token sees it. Related records are referenced by
|
|
1758
|
+
* uid only; the customer's ITM account is never exposed.
|
|
1759
|
+
*/
|
|
1760
|
+
interface PartnerMerchPurchaseGenqlSelection {
|
|
1761
|
+
uid?: boolean | number;
|
|
1762
|
+
merchUid?: boolean | number;
|
|
1763
|
+
merchSizeUid?: boolean | number;
|
|
1764
|
+
/** The customer's ITM user uid. Null for box-office walk-up purchases with no customer. */
|
|
1765
|
+
userUid?: boolean | number;
|
|
1766
|
+
pickupMomentUid?: boolean | number;
|
|
1767
|
+
quantity?: boolean | number;
|
|
1768
|
+
/** Total charged in ITM cents (major units times 100). */
|
|
1769
|
+
amountCents?: boolean | number;
|
|
1770
|
+
currencyCode?: boolean | number;
|
|
1771
|
+
state?: boolean | number;
|
|
1772
|
+
source?: boolean | number;
|
|
1773
|
+
/** How a payment collected outside ITM was taken; null for ITM-paid or free purchases. */
|
|
1774
|
+
paymentMethod?: boolean | number;
|
|
1775
|
+
/** Who took the off-platform payment, e.g. "Square POS" or "Venmo". */
|
|
1776
|
+
paymentProvider?: boolean | number;
|
|
1777
|
+
/** The off-platform payment system's transaction or order ID. */
|
|
1778
|
+
externalPaymentReference?: boolean | number;
|
|
1779
|
+
fulfillmentChoice?: boolean | number;
|
|
1780
|
+
notes?: boolean | number;
|
|
1781
|
+
/** When the purchase was handed over; null until redeemed. */
|
|
1782
|
+
redeemedAt?: boolean | number;
|
|
1783
|
+
createdAt?: boolean | number;
|
|
1784
|
+
updatedAt?: boolean | number;
|
|
1785
|
+
__typename?: boolean | number;
|
|
1786
|
+
__scalar?: boolean | number;
|
|
1787
|
+
}
|
|
1788
|
+
interface MerchSizeGenqlSelection {
|
|
1789
|
+
uid?: boolean | number;
|
|
1790
|
+
name?: boolean | number;
|
|
1791
|
+
isSoldOut?: boolean | number;
|
|
1792
|
+
createdAt?: boolean | number;
|
|
1793
|
+
updatedAt?: boolean | number;
|
|
1794
|
+
__typename?: boolean | number;
|
|
1795
|
+
__scalar?: boolean | number;
|
|
1796
|
+
}
|
|
1797
|
+
interface MerchGenqlSelection {
|
|
1798
|
+
uid?: boolean | number;
|
|
1799
|
+
name?: boolean | number;
|
|
1800
|
+
description?: boolean | number;
|
|
1801
|
+
/** Price in ITM cents (major units times 100). */
|
|
1802
|
+
price?: boolean | number;
|
|
1803
|
+
currency?: CurrencyGenqlSelection;
|
|
1804
|
+
fulfillmentType?: boolean | number;
|
|
1805
|
+
fulfillmentPlatform?: boolean | number;
|
|
1806
|
+
checkoutPlatform?: boolean | number;
|
|
1807
|
+
maxPerUser?: boolean | number;
|
|
1808
|
+
isLive?: boolean | number;
|
|
1809
|
+
merchSizes?: MerchSizeGenqlSelection;
|
|
1810
|
+
/** Moments where this merch can be picked up; pass one as pickupMomentUid. */
|
|
1811
|
+
merchPickupMoments?: MomentGenqlSelection;
|
|
1812
|
+
createdAt?: boolean | number;
|
|
1813
|
+
updatedAt?: boolean | number;
|
|
1814
|
+
__typename?: boolean | number;
|
|
1815
|
+
__scalar?: boolean | number;
|
|
1816
|
+
}
|
|
1817
|
+
interface GetMerchPaginatedResponseGenqlSelection {
|
|
1818
|
+
items?: MerchGenqlSelection;
|
|
1819
|
+
totalCount?: boolean | number;
|
|
1820
|
+
hasNextPage?: boolean | number;
|
|
1821
|
+
nextCursor?: boolean | number;
|
|
1822
|
+
__typename?: boolean | number;
|
|
1823
|
+
__scalar?: boolean | number;
|
|
1824
|
+
}
|
|
1825
|
+
interface MerchFiltersInput {
|
|
1826
|
+
/** Merch associated with this moment, including display, upsell and pickup links. Check merchPickupMoments for pickup eligibility. */
|
|
1827
|
+
momentUid?: (Scalars['String'] | null);
|
|
1828
|
+
search?: (Scalars['String'] | null);
|
|
1829
|
+
}
|
|
1830
|
+
interface GetMerchPaginatedInput {
|
|
1831
|
+
cursor?: (Scalars['String'] | null);
|
|
1832
|
+
/** Page size, 1-100. Defaults to 50. */
|
|
1833
|
+
take?: (Scalars['Int'] | null);
|
|
1834
|
+
query?: (Scalars['String'] | null);
|
|
1835
|
+
filters?: (MerchFiltersInput | null);
|
|
1836
|
+
}
|
|
1837
|
+
interface PartnerMerchCustomerInput {
|
|
1838
|
+
email?: (Scalars['String'] | null);
|
|
1839
|
+
/** Phone number with country code, e.g. +14155550123. */
|
|
1840
|
+
phoneNumber?: (Scalars['String'] | null);
|
|
1841
|
+
name?: (Scalars['String'] | null);
|
|
1842
|
+
}
|
|
1843
|
+
interface PartnerMerchShippingAddressInput {
|
|
1844
|
+
/** Full name for shipping. */
|
|
1845
|
+
name: Scalars['String'];
|
|
1846
|
+
/** Contact number for shipping. */
|
|
1847
|
+
phoneNumber: Scalars['String'];
|
|
1848
|
+
addressLine1: Scalars['String'];
|
|
1849
|
+
addressLine2?: (Scalars['String'] | null);
|
|
1850
|
+
city: Scalars['String'];
|
|
1851
|
+
/** State, province or region. */
|
|
1852
|
+
state: Scalars['String'];
|
|
1853
|
+
country: Scalars['String'];
|
|
1854
|
+
postalCode: Scalars['String'];
|
|
1855
|
+
}
|
|
1856
|
+
interface CreatePartnerMerchPurchaseInput {
|
|
1857
|
+
/**
|
|
1858
|
+
* Caller-generated id, 8-128 letters, digits, underscores or hyphens.
|
|
1859
|
+
* Retrying with the same requestUid returns the original purchase; different details are rejected.
|
|
1860
|
+
*/
|
|
1861
|
+
requestUid: Scalars['String'];
|
|
1862
|
+
merchUid: Scalars['String'];
|
|
1863
|
+
merchSizeUid: Scalars['String'];
|
|
1864
|
+
quantity: Scalars['Int'];
|
|
1865
|
+
/** Total collected in ITM cents (major units times 100, including zero-decimal currencies). 0 for a free purchase. */
|
|
1866
|
+
amountCents: Scalars['Int'];
|
|
1867
|
+
/** ISO currency code; must match the merch's currency. */
|
|
1868
|
+
currencyCode: Scalars['String'];
|
|
1869
|
+
/** How the customer paid outside ITM. Required when amountCents is above 0; omit for a free purchase. */
|
|
1870
|
+
paymentMethod?: (MerchPurchasePaymentMethod | null);
|
|
1871
|
+
/** Who took the payment, e.g. "Square POS" or "Venmo". Requires paymentMethod. */
|
|
1872
|
+
paymentProvider?: (Scalars['String'] | null);
|
|
1873
|
+
/** The payment system's transaction or order ID, for reconciliation. Requires paymentMethod. */
|
|
1874
|
+
externalPaymentReference?: (Scalars['String'] | null);
|
|
1875
|
+
/** Matched to an existing ITM account by phone number or email (verified login identities first) and never written onto it; a customer is created when nobody matches. */
|
|
1876
|
+
customer: PartnerMerchCustomerInput;
|
|
1877
|
+
/** Pickup moment, required for pickup fulfillment. */
|
|
1878
|
+
pickupMomentUid?: (Scalars['String'] | null);
|
|
1879
|
+
/** Required for merch offered as pickup or shipping. */
|
|
1880
|
+
fulfillmentChoice?: (MerchPurchaseFulfillmentChoice | null);
|
|
1881
|
+
/** Required when the purchase ships. */
|
|
1882
|
+
shippingAddress?: (PartnerMerchShippingAddressInput | null);
|
|
1883
|
+
notes?: (Scalars['String'] | null);
|
|
1884
|
+
/** Mark the purchase redeemed (handed over) now. Not allowed for Shopify-fulfilled merch. Defaults to false. */
|
|
1885
|
+
redeemed?: (Scalars['Boolean'] | null);
|
|
1886
|
+
/** Send ITM's SMS or email confirmation with the pickup QR code. Defaults to false. */
|
|
1887
|
+
sendConfirmation?: (Scalars['Boolean'] | null);
|
|
1888
|
+
}
|
|
1660
1889
|
interface PartnerCustomerGenqlSelection {
|
|
1661
1890
|
user?: UserGenqlSelection;
|
|
1662
1891
|
tickets?: TicketGenqlSelection;
|
|
@@ -2499,6 +2728,12 @@ interface QueryGenqlSelection {
|
|
|
2499
2728
|
input: GetPartnerMediaAssetsInput;
|
|
2500
2729
|
};
|
|
2501
2730
|
});
|
|
2731
|
+
/** List the brand's merch with sizes and pickup moments, to find the merchUid, merchSizeUid and pickupMomentUid for createPartnerMerchPurchase. */
|
|
2732
|
+
getPartnerMerch?: (GetMerchPaginatedResponseGenqlSelection & {
|
|
2733
|
+
__args: {
|
|
2734
|
+
input: GetMerchPaginatedInput;
|
|
2735
|
+
};
|
|
2736
|
+
});
|
|
2502
2737
|
/** An active asset linked to the caller's brand; null when unavailable. READ_MEDIA for agents. */
|
|
2503
2738
|
getPartnerMediaAsset?: (MediaAssetGenqlSelection & {
|
|
2504
2739
|
__args: {
|
|
@@ -3098,6 +3333,21 @@ interface MutationGenqlSelection {
|
|
|
3098
3333
|
input: CreateManualContributionInput;
|
|
3099
3334
|
};
|
|
3100
3335
|
});
|
|
3336
|
+
/**
|
|
3337
|
+
* Record a merch sale whose payment was collected outside ITM (cash, a card terminal, Venmo...), so it reaches the brand's CRM.
|
|
3338
|
+
* Brand scope comes from the token. Amount is in ITM cents (major units times 100). Retain requestUid across retries.
|
|
3339
|
+
*/
|
|
3340
|
+
createPartnerMerchPurchase?: (PartnerMerchPurchaseGenqlSelection & {
|
|
3341
|
+
__args: {
|
|
3342
|
+
input: CreatePartnerMerchPurchaseInput;
|
|
3343
|
+
};
|
|
3344
|
+
});
|
|
3345
|
+
/** Mark one of the brand's merch purchases redeemed (handed over). Redeeming an already redeemed purchase returns it unchanged. */
|
|
3346
|
+
redeemPartnerMerchPurchase?: (PartnerMerchPurchaseGenqlSelection & {
|
|
3347
|
+
__args: {
|
|
3348
|
+
merchPurchaseUid: Scalars['String'];
|
|
3349
|
+
};
|
|
3350
|
+
});
|
|
3101
3351
|
reserveAgentMediaUpload?: (AgentMediaUploadReservationGenqlSelection & {
|
|
3102
3352
|
__args: {
|
|
3103
3353
|
input: ReserveAgentMediaUploadInput;
|
|
@@ -3754,4 +4004,4 @@ declare class ITMPartnerTransportError extends Error {
|
|
|
3754
4004
|
constructor(status: number | undefined, requestId?: string | undefined);
|
|
3755
4005
|
}
|
|
3756
4006
|
|
|
3757
|
-
export { type AgentThreadSeedContext, type ApplyDynamicPricingInput, type BrandAgentEmailMessageInput, type BrandAgentEmailSendBatch, type BrandAgentEmailSendBatchStatus, type BrandAgentEmailSendMessage, type BrandAgentEmailSendMessageStatus, type BrandApp, type BrandAppStatus, type BrandDrop, type BrandDropCtaType, type BrandDropMusicLink, type BrandSubscription, type CheckoutMarketingConsentInput, type CheckoutMarketingConsentPrompt, type ConsentChannel, type ConsentPromptCategory, type ConsentStatus, type ContributionAdmin, type ContributionPageAdmin, type ContributionPageStatusFilter, type ContributionPagesResponse, type ContributionSource, type ContributionStatus, type ContributionsResponse, type CreateBrandAppInput, type CreateManualContributionInput, type CreateMomentOnlineConfigInput, type CreatePartnerBrandDropInput, type CreatePartnerBrandSubscriptionInput, type CreatePartnerBrandSubscriptionResponse, type CreatePartnerMomentInput, type CreatePartnerTicketTierInput, type CreatePlanBudgetInput, type CreatePlanInput, type Currency, DEFAULT_API_URL, type Dimensions, type DimensionsInput, type DynamicPricingActorType, type DynamicPricingAdmissionWindow, type DynamicPricingBatch, type DynamicPricingBatchEvent, type DynamicPricingBatchEventType, type DynamicPricingBatchItem, type DynamicPricingBatchItemStatus, type DynamicPricingBatchStatus, type DynamicPricingContext, type DynamicPricingExecutionMode, type DynamicPricingInventoryGuardInput, type DynamicPricingInventoryGuardMode, type DynamicPricingInventoryMetric, type DynamicPricingMomentInput, type DynamicPricingTierContext, type DynamicPricingTierUpdateInput, type Echo, type EchoMediaAsset, type EchoType, type EditPartnerTicketTiersForMomentInput, type EventImportPlatform, GenqlError, type GetBrandEchoesForUserResponse, type GetMomentLineupsResponse, type GetMomentTagAssignmentsResponse, type GetPartnerAudienceInput, type GetPartnerAudienceResponse, type GetPartnerCustomersResponse, type GetPartnerDropsResponse, type GetPartnerMediaAssetsInput, type GetPartnerMediaAssetsResponse, type GetPartnerMembersInput, type GetPartnerMembersResponse, type GetPartnerMembershipTiersInput, type GetPartnerMembershipTiersResponse, type GetPartnerTicketTiersForMomentInput, type GetPartnerTicketTiersForMomentResponse, type GetPlansInput, type GetPlansResponse, type GetPublicMomentsResponse, type GetTicketsResponse, type ITMPartnerAgentAccessConfig, type ITMPartnerAgentAccessCredentials, type ITMPartnerAgentSessionConfig, type ITMPartnerAgentSessionCredentials, type ITMPartnerClient, type ITMPartnerClientConfig, type ITMPartnerHeaders, type ITMPartnerHeadersObject, type ITMPartnerIntegrationConfig, type ITMPartnerIntegrationCredentials, type ITMPartnerTokenConfig, ITMPartnerTransportError, type LoginCodeChannel, type ManualContributionReceiptType, type MediaAsset, type MediaAssetUploadUrl, type MembershipBillingInterval, type MembershipExpiryType, type MembershipPassType, type MembershipPurchaseType, type MembershipSource, type MembershipStatus, type MerchPurchase, type Moment, type MomentCategory, type MomentCollection, type MomentCollectionLink, type MomentDiscountCodeUsage, type MomentDynamicPricingPolicy, type MomentDynamicPricingTierRule, type MomentLineup, type MomentLineupDisplayLabel, type MomentLineupResponseResult, type MomentLineupStatus, type MomentLineupType, type MomentOccurrenceScheduleFrequency, type MomentOnlineProvider, type MomentPublicVenuePreview, type MomentSortOrder, type MomentStatus, type MomentSubcategory, type MomentTagAssignment, type MomentType, type MusicReleaseType, type Mutation, type PaginationInput, type PartnerAppLogin, type PartnerAppLoginChallenge, type PartnerAppLoginProfile, type PartnerAudienceCustomer, type PartnerAudienceFiltersInput, type PartnerAudienceSortField, type PartnerAudienceSortInput, type PartnerBrand, type PartnerCustomer, type PartnerMember, type PartnerMemberCustomer, type PartnerMemberTier, type PartnerMembershipTier, type PartnerMomentAttendanceCount, type PartnerMomentAttendanceLookupInput, type PartnerMomentAttendanceStats, type PartnerMomentGuestlistAttendance, type PartnerMomentGuestlistLabelAttendance, type PartnerMomentStats, type PartnerMomentTicketAttendance, type PartnerMomentTicketTierAttendance, type PartnerMomentsFiltersInput, type PartnerTicketStatus, type PartnerTicketTier, type PartnerTicketTierUpdateInput, type PartnerTicketUserLookupInput, type PartnerTicketsForUserInput, type Payment, type PaymentStatus, type Plan, type PlanBudget, type PlanBudgetAllocationType, type PlanBudgetArtistDealBasis, type PlanBudgetArtistDealInput, type PlanBudgetArtistDealType, type PlanBudgetCapacityAllocationInput, type PlanBudgetCategoryInput, type PlanBudgetCategoryKind, type PlanBudgetChargeCalculation, type PlanBudgetChargeKind, type PlanBudgetChargeTreatment, type PlanBudgetExternalTicketingChannelInput, type PlanBudgetFeeAssessment, type PlanBudgetFeeComponentKind, type PlanBudgetFeePercentageBasis, type PlanBudgetGuaranteeBasis, type PlanBudgetLineBasis, type PlanBudgetLineInput, type PlanBudgetPaymentStatus, type PlanBudgetPricingMode, type PlanBudgetSummary, type PlanBudgetTicketChargeRuleInput, type PlanBudgetTicketTierInput, type PlanBudgetTicketingChannelType, type PlanBudgetTicketingFeeComponentInput, type PlanKind, type PlanLinkMetadataStatus, type PlanMoodboard, type PlanMoodboardItem, type PlanMoodboardItemType, type PlanSchedule, type PlanScheduleInput, type PlanScheduleTime, type PlanScheduleTimeInput, type PlanScheduleType, type PlanStatus, type PlanSummary, type PlanningProposal, type PlanningSource, type PlanningSourceDispositionInput, type PlanningSourceSection, type PostSubscriptionEmailInput, type PostSubscriptionMessageInput, type PostSubscriptionPushInput, type PostSubscriptionSmsInput, type PreparePlanningProposalInput, type PublicMomentLineupInfo, type Query, type ReplacePlanBudgetDraftInput, type RespondToMomentLineupInput, type SendPartnerAgentEmailInput, type SortDirection, type StartPartnerAppLoginInput, type SubscriptionComplianceInput, type Tag, type TagSource, type ThirdPartyEchoType, type Ticket, type TicketAdmissionWindowSource, type TicketAttendanceMode, type TicketExtension, type TicketExtensionStatus, type TicketTier, type Transforms, type UpdatePlanInput, type User, type UserSource, type Venue, type VenueInput, type VerifyPartnerAppLoginInput, type VerifyPartnerBrandSubscriptionInput, createITMPartnerClient, everything, generateMutationOp, generateQueryOp };
|
|
4007
|
+
export { type AgentThreadSeedContext, type ApplyDynamicPricingInput, type BrandAgentEmailMessageInput, type BrandAgentEmailSendBatch, type BrandAgentEmailSendBatchStatus, type BrandAgentEmailSendMessage, type BrandAgentEmailSendMessageStatus, type BrandApp, type BrandAppStatus, type BrandDrop, type BrandDropCtaType, type BrandDropMusicLink, type BrandSubscription, type CheckoutMarketingConsentInput, type CheckoutMarketingConsentPrompt, type CheckoutPlatform, type ConsentChannel, type ConsentPromptCategory, type ConsentStatus, type ContributionAdmin, type ContributionPageAdmin, type ContributionPageStatusFilter, type ContributionPagesResponse, type ContributionSource, type ContributionStatus, type ContributionsResponse, type CreateBrandAppInput, type CreateManualContributionInput, type CreateMomentOnlineConfigInput, type CreatePartnerBrandDropInput, type CreatePartnerBrandSubscriptionInput, type CreatePartnerBrandSubscriptionResponse, type CreatePartnerMerchPurchaseInput, type CreatePartnerMomentInput, type CreatePartnerTicketTierInput, type CreatePlanBudgetInput, type CreatePlanInput, type Currency, DEFAULT_API_URL, type Dimensions, type DimensionsInput, type DynamicPricingActorType, type DynamicPricingAdmissionWindow, type DynamicPricingBatch, type DynamicPricingBatchEvent, type DynamicPricingBatchEventType, type DynamicPricingBatchItem, type DynamicPricingBatchItemStatus, type DynamicPricingBatchStatus, type DynamicPricingContext, type DynamicPricingExecutionMode, type DynamicPricingInventoryGuardInput, type DynamicPricingInventoryGuardMode, type DynamicPricingInventoryMetric, type DynamicPricingMomentInput, type DynamicPricingTierContext, type DynamicPricingTierUpdateInput, type Echo, type EchoMediaAsset, type EchoType, type EditPartnerTicketTiersForMomentInput, type EventImportPlatform, type FulfillmentPlatform, GenqlError, type GetBrandEchoesForUserResponse, type GetMerchPaginatedInput, type GetMerchPaginatedResponse, type GetMomentLineupsResponse, type GetMomentTagAssignmentsResponse, type GetPartnerAudienceInput, type GetPartnerAudienceResponse, type GetPartnerCustomersResponse, type GetPartnerDropsResponse, type GetPartnerMediaAssetsInput, type GetPartnerMediaAssetsResponse, type GetPartnerMembersInput, type GetPartnerMembersResponse, type GetPartnerMembershipTiersInput, type GetPartnerMembershipTiersResponse, type GetPartnerTicketTiersForMomentInput, type GetPartnerTicketTiersForMomentResponse, type GetPlansInput, type GetPlansResponse, type GetPublicMomentsResponse, type GetTicketsResponse, type ITMPartnerAgentAccessConfig, type ITMPartnerAgentAccessCredentials, type ITMPartnerAgentSessionConfig, type ITMPartnerAgentSessionCredentials, type ITMPartnerClient, type ITMPartnerClientConfig, type ITMPartnerHeaders, type ITMPartnerHeadersObject, type ITMPartnerIntegrationConfig, type ITMPartnerIntegrationCredentials, type ITMPartnerTokenConfig, ITMPartnerTransportError, type LoginCodeChannel, type ManualContributionReceiptType, type MediaAsset, type MediaAssetUploadUrl, type MembershipBillingInterval, type MembershipExpiryType, type MembershipPassType, type MembershipPurchaseType, type MembershipSource, type MembershipStatus, type Merch, type MerchFiltersInput, type MerchFulfillmentType, type MerchPurchase, type MerchPurchaseFulfillmentChoice, type MerchPurchasePaymentMethod, type MerchPurchaseSource, type MerchPurchaseState, type MerchSize, type Moment, type MomentCategory, type MomentCollection, type MomentCollectionLink, type MomentDiscountCodeUsage, type MomentDynamicPricingPolicy, type MomentDynamicPricingTierRule, type MomentLineup, type MomentLineupDisplayLabel, type MomentLineupResponseResult, type MomentLineupStatus, type MomentLineupType, type MomentOccurrenceScheduleFrequency, type MomentOnlineProvider, type MomentPublicVenuePreview, type MomentSortOrder, type MomentStatus, type MomentSubcategory, type MomentTagAssignment, type MomentType, type MusicReleaseType, type Mutation, type PaginationInput, type PartnerAppLogin, type PartnerAppLoginChallenge, type PartnerAppLoginProfile, type PartnerAudienceCustomer, type PartnerAudienceFiltersInput, type PartnerAudienceSortField, type PartnerAudienceSortInput, type PartnerBrand, type PartnerCustomer, type PartnerMember, type PartnerMemberCustomer, type PartnerMemberTier, type PartnerMembershipTier, type PartnerMerchCustomerInput, type PartnerMerchPurchase, type PartnerMerchShippingAddressInput, type PartnerMomentAttendanceCount, type PartnerMomentAttendanceLookupInput, type PartnerMomentAttendanceStats, type PartnerMomentGuestlistAttendance, type PartnerMomentGuestlistLabelAttendance, type PartnerMomentStats, type PartnerMomentTicketAttendance, type PartnerMomentTicketTierAttendance, type PartnerMomentsFiltersInput, type PartnerTicketStatus, type PartnerTicketTier, type PartnerTicketTierUpdateInput, type PartnerTicketUserLookupInput, type PartnerTicketsForUserInput, type Payment, type PaymentStatus, type Plan, type PlanBudget, type PlanBudgetAllocationType, type PlanBudgetArtistDealBasis, type PlanBudgetArtistDealInput, type PlanBudgetArtistDealType, type PlanBudgetCapacityAllocationInput, type PlanBudgetCategoryInput, type PlanBudgetCategoryKind, type PlanBudgetChargeCalculation, type PlanBudgetChargeKind, type PlanBudgetChargeTreatment, type PlanBudgetExternalTicketingChannelInput, type PlanBudgetFeeAssessment, type PlanBudgetFeeComponentKind, type PlanBudgetFeePercentageBasis, type PlanBudgetGuaranteeBasis, type PlanBudgetLineBasis, type PlanBudgetLineInput, type PlanBudgetPaymentStatus, type PlanBudgetPricingMode, type PlanBudgetSummary, type PlanBudgetTicketChargeRuleInput, type PlanBudgetTicketTierInput, type PlanBudgetTicketingChannelType, type PlanBudgetTicketingFeeComponentInput, type PlanKind, type PlanLinkMetadataStatus, type PlanMoodboard, type PlanMoodboardItem, type PlanMoodboardItemType, type PlanSchedule, type PlanScheduleInput, type PlanScheduleTime, type PlanScheduleTimeInput, type PlanScheduleType, type PlanStatus, type PlanSummary, type PlanningProposal, type PlanningSource, type PlanningSourceDispositionInput, type PlanningSourceSection, type PostSubscriptionEmailInput, type PostSubscriptionMessageInput, type PostSubscriptionPushInput, type PostSubscriptionSmsInput, type PreparePlanningProposalInput, type PublicMomentLineupInfo, type Query, type ReplacePlanBudgetDraftInput, type RespondToMomentLineupInput, type SendPartnerAgentEmailInput, type SortDirection, type StartPartnerAppLoginInput, type SubscriptionComplianceInput, type Tag, type TagSource, type ThirdPartyEchoType, type Ticket, type TicketAdmissionWindowSource, type TicketAttendanceMode, type TicketExtension, type TicketExtensionStatus, type TicketTier, type Transforms, type UpdatePlanInput, type User, type UserSource, type Venue, type VenueInput, type VerifyPartnerAppLoginInput, type VerifyPartnerBrandSubscriptionInput, createITMPartnerClient, everything, generateMutationOp, generateQueryOp };
|