@itm-studio/partner-sdk 0.6.3 → 0.6.5
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 -3
- package/dist/index.d.mts +361 -1
- package/dist/index.d.ts +361 -1
- package/dist/index.js +770 -308
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +770 -308
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/schema/partner.graphql +219 -0
package/dist/index.d.ts
CHANGED
|
@@ -240,6 +240,22 @@ interface Moment {
|
|
|
240
240
|
updatedAt: Scalars['DateTime'];
|
|
241
241
|
__typename: 'Moment';
|
|
242
242
|
}
|
|
243
|
+
/** An ordered photo in a moment's gallery, separate from its cover image. */
|
|
244
|
+
interface MomentMedia {
|
|
245
|
+
uid: Scalars['ID'];
|
|
246
|
+
sortOrder: Scalars['String'];
|
|
247
|
+
mediaAsset: MediaAsset;
|
|
248
|
+
createdAt: Scalars['DateTime'];
|
|
249
|
+
updatedAt: Scalars['DateTime'];
|
|
250
|
+
__typename: 'MomentMedia';
|
|
251
|
+
}
|
|
252
|
+
interface GetMomentGalleryPhotosResponse {
|
|
253
|
+
momentMedia: MomentMedia[];
|
|
254
|
+
totalCount: Scalars['Int'];
|
|
255
|
+
hasNextPage: Scalars['Boolean'];
|
|
256
|
+
nextCursor: (Scalars['String'] | null);
|
|
257
|
+
__typename: 'GetMomentGalleryPhotosResponse';
|
|
258
|
+
}
|
|
243
259
|
/**
|
|
244
260
|
* Public-facing lineup entry for a moment.
|
|
245
261
|
* Only approved entries are returned by getPublicMomentLineups.
|
|
@@ -921,6 +937,7 @@ interface GetPartnerMembershipTiersResponse {
|
|
|
921
937
|
__typename: 'GetPartnerMembershipTiersResponse';
|
|
922
938
|
}
|
|
923
939
|
interface PartnerMember {
|
|
940
|
+
signupFormResponseUid: (Scalars['String'] | null);
|
|
924
941
|
billingInterval: (MembershipBillingInterval | null);
|
|
925
942
|
cancelAtPeriodEnd: Scalars['Boolean'];
|
|
926
943
|
cancelledAt: (Scalars['DateTime'] | null);
|
|
@@ -959,6 +976,7 @@ interface PartnerMemberTier {
|
|
|
959
976
|
__typename: 'PartnerMemberTier';
|
|
960
977
|
}
|
|
961
978
|
interface PartnerMembershipTier {
|
|
979
|
+
signupFormUid: (Scalars['String'] | null);
|
|
962
980
|
/** Memberships currently ACTIVE or PAST_DUE on this tier */
|
|
963
981
|
activeMemberCount: Scalars['Int'];
|
|
964
982
|
benefits: Scalars['String'][];
|
|
@@ -967,6 +985,13 @@ interface PartnerMembershipTier {
|
|
|
967
985
|
/** ISO 4217 currency code */
|
|
968
986
|
currencyCode: Scalars['String'];
|
|
969
987
|
description: (Scalars['String'] | null);
|
|
988
|
+
coverImage: (MediaAsset | null);
|
|
989
|
+
finePrint: (Scalars['String'] | null);
|
|
990
|
+
/** Maximum optional contribution per unit, in hundredths of the currency's major unit. */
|
|
991
|
+
payWhatYouWantMaxPrice: (Scalars['Int'] | null);
|
|
992
|
+
/** Suggested optional contribution per unit, in hundredths of the currency's major unit. */
|
|
993
|
+
payWhatYouWantSuggestedPrice: (Scalars['Int'] | null);
|
|
994
|
+
payWhatYouWantMessage: (Scalars['String'] | null);
|
|
970
995
|
durationDays: (Scalars['Int'] | null);
|
|
971
996
|
expiryType: (MembershipExpiryType | null);
|
|
972
997
|
fixedEndDate: (Scalars['DateTime'] | null);
|
|
@@ -1045,6 +1070,9 @@ interface PartnerAppLogin {
|
|
|
1045
1070
|
__typename: 'PartnerAppLogin';
|
|
1046
1071
|
}
|
|
1047
1072
|
interface Query {
|
|
1073
|
+
getPartnerForms: GetFormsPaginatedResponse;
|
|
1074
|
+
getPartnerForm: Form;
|
|
1075
|
+
getPartnerFormResponses: GetPartnerFormResponsesResponse;
|
|
1048
1076
|
/** Itemized POS orders for an owned moment, newest first. Defaults to 50 orders and caps take at 100. */
|
|
1049
1077
|
getPartnerInPersonOrdersForMoment: GetInPersonOrdersResponse;
|
|
1050
1078
|
getPartnerInPersonOrder: InPersonOrder;
|
|
@@ -1056,6 +1084,11 @@ interface Query {
|
|
|
1056
1084
|
getPartnerMembers: GetPartnerMembersResponse;
|
|
1057
1085
|
/** List the authenticated partner brand's non-deleted membership tiers, including inactive and private tiers. */
|
|
1058
1086
|
getPartnerMembershipTiers: GetPartnerMembershipTiersResponse;
|
|
1087
|
+
/**
|
|
1088
|
+
* Ordered gallery photos for a moment UID. Public read, separate from the cover image.
|
|
1089
|
+
* Page size defaults to 20 and is capped at 50. Follow nextCursor while hasNextPage is true.
|
|
1090
|
+
*/
|
|
1091
|
+
getMomentGalleryPhotos: GetMomentGalleryPhotosResponse;
|
|
1059
1092
|
/** Get the authenticated agent operator email for the approval preview. Requires a brand-agent session with SEND_EMAIL; unavailable to partner API keys. */
|
|
1060
1093
|
getPartnerAgentEmailContext: BrandAgentEmailContext;
|
|
1061
1094
|
getAgentMediaUpload: AgentMediaUploadReservation;
|
|
@@ -1752,6 +1785,128 @@ interface MomentGuestListTotals {
|
|
|
1752
1785
|
plusOnes: Scalars['Int'];
|
|
1753
1786
|
__typename: 'MomentGuestListTotals';
|
|
1754
1787
|
}
|
|
1788
|
+
interface Form {
|
|
1789
|
+
allowMultipleResponses: Scalars['Boolean'];
|
|
1790
|
+
buttonText: Scalars['String'];
|
|
1791
|
+
category: (Scalars['String'] | null);
|
|
1792
|
+
createdAt: Scalars['DateTime'];
|
|
1793
|
+
deletedAt: (Scalars['DateTime'] | null);
|
|
1794
|
+
description: (Scalars['String'] | null);
|
|
1795
|
+
faqs: FormFaq[];
|
|
1796
|
+
fields: FormField[];
|
|
1797
|
+
isActive: Scalars['Boolean'];
|
|
1798
|
+
isPublic: Scalars['Boolean'];
|
|
1799
|
+
label: (Scalars['String'] | null);
|
|
1800
|
+
labelColor: (Scalars['String'] | null);
|
|
1801
|
+
mode: FormResponseMode;
|
|
1802
|
+
name: Scalars['String'];
|
|
1803
|
+
preSubmitCalloutText: (Scalars['String'] | null);
|
|
1804
|
+
relevancyScoringContext: (Scalars['String'] | null);
|
|
1805
|
+
relevancyScoringEnabled: Scalars['Boolean'];
|
|
1806
|
+
responsesCount: Scalars['Int'];
|
|
1807
|
+
sections: FormFieldSection[];
|
|
1808
|
+
slug: Scalars['String'];
|
|
1809
|
+
source: FormSource;
|
|
1810
|
+
successMessageBody: Scalars['String'];
|
|
1811
|
+
successMessageTitle: Scalars['String'];
|
|
1812
|
+
uid: Scalars['ID'];
|
|
1813
|
+
updatedAt: Scalars['DateTime'];
|
|
1814
|
+
__typename: 'Form';
|
|
1815
|
+
}
|
|
1816
|
+
interface FormFaq {
|
|
1817
|
+
answer: Scalars['String'];
|
|
1818
|
+
createdAt: Scalars['DateTime'];
|
|
1819
|
+
isActive: Scalars['Boolean'];
|
|
1820
|
+
question: Scalars['String'];
|
|
1821
|
+
sortOrder: Scalars['Int'];
|
|
1822
|
+
uid: Scalars['ID'];
|
|
1823
|
+
updatedAt: Scalars['DateTime'];
|
|
1824
|
+
__typename: 'FormFaq';
|
|
1825
|
+
}
|
|
1826
|
+
interface FormField {
|
|
1827
|
+
createdAt: Scalars['DateTime'];
|
|
1828
|
+
defaultValue: (Scalars['String'] | null);
|
|
1829
|
+
deletedAt: (Scalars['DateTime'] | null);
|
|
1830
|
+
isRequired: Scalars['Boolean'];
|
|
1831
|
+
label: Scalars['String'];
|
|
1832
|
+
/** Pictures on the choices of a single- or multi-choice question. Empty when there are none. */
|
|
1833
|
+
optionImages: FormFieldOptionImage[];
|
|
1834
|
+
options: (Scalars['String'][] | null);
|
|
1835
|
+
placeholder: (Scalars['String'] | null);
|
|
1836
|
+
sectionUid: (Scalars['String'] | null);
|
|
1837
|
+
sortOrder: Scalars['Int'];
|
|
1838
|
+
subLabel: (Scalars['String'] | null);
|
|
1839
|
+
type: FormFieldType;
|
|
1840
|
+
uid: Scalars['ID'];
|
|
1841
|
+
updatedAt: Scalars['DateTime'];
|
|
1842
|
+
validationSchema: (Scalars['String'] | null);
|
|
1843
|
+
__typename: 'FormField';
|
|
1844
|
+
}
|
|
1845
|
+
/** A picture shown with one choice of a single- or multi-choice question. */
|
|
1846
|
+
interface FormFieldOptionImage {
|
|
1847
|
+
image: MediaAsset;
|
|
1848
|
+
/** The choice this picture belongs to, as listed in `options`. */
|
|
1849
|
+
option: Scalars['String'];
|
|
1850
|
+
__typename: 'FormFieldOptionImage';
|
|
1851
|
+
}
|
|
1852
|
+
interface FormFieldSection {
|
|
1853
|
+
createdAt: Scalars['DateTime'];
|
|
1854
|
+
deletedAt: (Scalars['DateTime'] | null);
|
|
1855
|
+
description: (Scalars['String'] | null);
|
|
1856
|
+
sortOrder: Scalars['Int'];
|
|
1857
|
+
title: Scalars['String'];
|
|
1858
|
+
uid: Scalars['ID'];
|
|
1859
|
+
updatedAt: Scalars['DateTime'];
|
|
1860
|
+
__typename: 'FormFieldSection';
|
|
1861
|
+
}
|
|
1862
|
+
type FormFieldType = 'ADDRESS' | 'BOOLEAN' | 'DATE' | 'EMAIL' | 'ETHEREUM_WALLET' | 'FULL_NAME' | 'MULTI_SELECT' | 'NUMBER' | 'PHONE' | 'SELECT' | 'SIGNATURE' | 'STRING' | 'UPLOAD' | 'URL';
|
|
1863
|
+
type FormResponseMode = 'CHAT' | 'FORM' | 'SINGLE_PAGE';
|
|
1864
|
+
type FormSource = 'AGENT' | 'AUTO' | 'MANUAL';
|
|
1865
|
+
interface GetFormsPaginatedResponse {
|
|
1866
|
+
forms: Form[];
|
|
1867
|
+
hasNextPage: Scalars['Boolean'];
|
|
1868
|
+
nextCursor: (Scalars['String'] | null);
|
|
1869
|
+
totalCount: Scalars['Int'];
|
|
1870
|
+
__typename: 'GetFormsPaginatedResponse';
|
|
1871
|
+
}
|
|
1872
|
+
interface PartnerFormFieldResponse {
|
|
1873
|
+
createdAt: Scalars['DateTime'];
|
|
1874
|
+
/** Current question definition, including archived questions that still have answers. */
|
|
1875
|
+
formField: FormField;
|
|
1876
|
+
isValid: Scalars['Boolean'];
|
|
1877
|
+
uid: Scalars['ID'];
|
|
1878
|
+
updatedAt: Scalars['DateTime'];
|
|
1879
|
+
validationError: (Scalars['String'] | null);
|
|
1880
|
+
value: (Scalars['JSON'] | null);
|
|
1881
|
+
valueArray: (Scalars['JSON'] | null);
|
|
1882
|
+
valueBoolean: (Scalars['Boolean'] | null);
|
|
1883
|
+
valueDate: (Scalars['DateTime'] | null);
|
|
1884
|
+
valueNumber: (Scalars['Float'] | null);
|
|
1885
|
+
valueString: (Scalars['String'] | null);
|
|
1886
|
+
__typename: 'PartnerFormFieldResponse';
|
|
1887
|
+
}
|
|
1888
|
+
interface PartnerFormResponse {
|
|
1889
|
+
contextType: (Scalars['String'] | null);
|
|
1890
|
+
createdAt: Scalars['DateTime'];
|
|
1891
|
+
customer: PartnerMemberCustomer;
|
|
1892
|
+
extraData: (Scalars['String'] | null);
|
|
1893
|
+
form: Form;
|
|
1894
|
+
formFieldResponses: PartnerFormFieldResponse[];
|
|
1895
|
+
relevancyScore: (Scalars['Int'] | null);
|
|
1896
|
+
relevancyScoreDetails: (Scalars['JSON'] | null);
|
|
1897
|
+
relevancyScoredAt: (Scalars['DateTime'] | null);
|
|
1898
|
+
responseData: Scalars['JSON'];
|
|
1899
|
+
uid: Scalars['ID'];
|
|
1900
|
+
updatedAt: Scalars['DateTime'];
|
|
1901
|
+
__typename: 'PartnerFormResponse';
|
|
1902
|
+
}
|
|
1903
|
+
interface GetPartnerFormResponsesResponse {
|
|
1904
|
+
formResponses: PartnerFormResponse[];
|
|
1905
|
+
hasNextPage: Scalars['Boolean'];
|
|
1906
|
+
nextCursor: (Scalars['String'] | null);
|
|
1907
|
+
totalCount: Scalars['Int'];
|
|
1908
|
+
__typename: 'GetPartnerFormResponsesResponse';
|
|
1909
|
+
}
|
|
1755
1910
|
interface CurrencyGenqlSelection {
|
|
1756
1911
|
uid?: boolean | number;
|
|
1757
1912
|
code?: boolean | number;
|
|
@@ -1974,6 +2129,24 @@ interface MomentGenqlSelection {
|
|
|
1974
2129
|
__typename?: boolean | number;
|
|
1975
2130
|
__scalar?: boolean | number;
|
|
1976
2131
|
}
|
|
2132
|
+
/** An ordered photo in a moment's gallery, separate from its cover image. */
|
|
2133
|
+
interface MomentMediaGenqlSelection {
|
|
2134
|
+
uid?: boolean | number;
|
|
2135
|
+
sortOrder?: boolean | number;
|
|
2136
|
+
mediaAsset?: MediaAssetGenqlSelection;
|
|
2137
|
+
createdAt?: boolean | number;
|
|
2138
|
+
updatedAt?: boolean | number;
|
|
2139
|
+
__typename?: boolean | number;
|
|
2140
|
+
__scalar?: boolean | number;
|
|
2141
|
+
}
|
|
2142
|
+
interface GetMomentGalleryPhotosResponseGenqlSelection {
|
|
2143
|
+
momentMedia?: MomentMediaGenqlSelection;
|
|
2144
|
+
totalCount?: boolean | number;
|
|
2145
|
+
hasNextPage?: boolean | number;
|
|
2146
|
+
nextCursor?: boolean | number;
|
|
2147
|
+
__typename?: boolean | number;
|
|
2148
|
+
__scalar?: boolean | number;
|
|
2149
|
+
}
|
|
1977
2150
|
/**
|
|
1978
2151
|
* Public-facing lineup entry for a moment.
|
|
1979
2152
|
* Only approved entries are returned by getPublicMomentLineups.
|
|
@@ -2878,6 +3051,7 @@ interface GetPartnerMembershipTiersResponseGenqlSelection {
|
|
|
2878
3051
|
__scalar?: boolean | number;
|
|
2879
3052
|
}
|
|
2880
3053
|
interface PartnerMemberGenqlSelection {
|
|
3054
|
+
signupFormResponseUid?: boolean | number;
|
|
2881
3055
|
billingInterval?: boolean | number;
|
|
2882
3056
|
cancelAtPeriodEnd?: boolean | number;
|
|
2883
3057
|
cancelledAt?: boolean | number;
|
|
@@ -2919,6 +3093,7 @@ interface PartnerMemberTierGenqlSelection {
|
|
|
2919
3093
|
__scalar?: boolean | number;
|
|
2920
3094
|
}
|
|
2921
3095
|
interface PartnerMembershipTierGenqlSelection {
|
|
3096
|
+
signupFormUid?: boolean | number;
|
|
2922
3097
|
/** Memberships currently ACTIVE or PAST_DUE on this tier */
|
|
2923
3098
|
activeMemberCount?: boolean | number;
|
|
2924
3099
|
benefits?: boolean | number;
|
|
@@ -2927,6 +3102,13 @@ interface PartnerMembershipTierGenqlSelection {
|
|
|
2927
3102
|
/** ISO 4217 currency code */
|
|
2928
3103
|
currencyCode?: boolean | number;
|
|
2929
3104
|
description?: boolean | number;
|
|
3105
|
+
coverImage?: MediaAssetGenqlSelection;
|
|
3106
|
+
finePrint?: boolean | number;
|
|
3107
|
+
/** Maximum optional contribution per unit, in hundredths of the currency's major unit. */
|
|
3108
|
+
payWhatYouWantMaxPrice?: boolean | number;
|
|
3109
|
+
/** Suggested optional contribution per unit, in hundredths of the currency's major unit. */
|
|
3110
|
+
payWhatYouWantSuggestedPrice?: boolean | number;
|
|
3111
|
+
payWhatYouWantMessage?: boolean | number;
|
|
2930
3112
|
durationDays?: boolean | number;
|
|
2931
3113
|
expiryType?: boolean | number;
|
|
2932
3114
|
fixedEndDate?: boolean | number;
|
|
@@ -3040,6 +3222,21 @@ interface PartnerAppLoginGenqlSelection {
|
|
|
3040
3222
|
__scalar?: boolean | number;
|
|
3041
3223
|
}
|
|
3042
3224
|
interface QueryGenqlSelection {
|
|
3225
|
+
getPartnerForms?: (GetFormsPaginatedResponseGenqlSelection & {
|
|
3226
|
+
__args?: {
|
|
3227
|
+
input?: (GetPartnerFormsInput | null);
|
|
3228
|
+
};
|
|
3229
|
+
});
|
|
3230
|
+
getPartnerForm?: (FormGenqlSelection & {
|
|
3231
|
+
__args: {
|
|
3232
|
+
uid: Scalars['String'];
|
|
3233
|
+
};
|
|
3234
|
+
});
|
|
3235
|
+
getPartnerFormResponses?: (GetPartnerFormResponsesResponseGenqlSelection & {
|
|
3236
|
+
__args?: {
|
|
3237
|
+
input?: (GetPartnerFormResponsesInput | null);
|
|
3238
|
+
};
|
|
3239
|
+
});
|
|
3043
3240
|
/** Itemized POS orders for an owned moment, newest first. Defaults to 50 orders and caps take at 100. */
|
|
3044
3241
|
getPartnerInPersonOrdersForMoment?: (GetInPersonOrdersResponseGenqlSelection & {
|
|
3045
3242
|
__args: {
|
|
@@ -3080,6 +3277,17 @@ interface QueryGenqlSelection {
|
|
|
3080
3277
|
input?: (GetPartnerMembershipTiersInput | null);
|
|
3081
3278
|
};
|
|
3082
3279
|
});
|
|
3280
|
+
/**
|
|
3281
|
+
* Ordered gallery photos for a moment UID. Public read, separate from the cover image.
|
|
3282
|
+
* Page size defaults to 20 and is capped at 50. Follow nextCursor while hasNextPage is true.
|
|
3283
|
+
*/
|
|
3284
|
+
getMomentGalleryPhotos?: (GetMomentGalleryPhotosResponseGenqlSelection & {
|
|
3285
|
+
__args: {
|
|
3286
|
+
momentUid: Scalars['String'];
|
|
3287
|
+
cursor?: (Scalars['String'] | null);
|
|
3288
|
+
take?: (Scalars['Int'] | null);
|
|
3289
|
+
};
|
|
3290
|
+
});
|
|
3083
3291
|
/** Get the authenticated agent operator email for the approval preview. Requires a brand-agent session with SEND_EMAIL; unavailable to partner API keys. */
|
|
3084
3292
|
getPartnerAgentEmailContext?: BrandAgentEmailContextGenqlSelection;
|
|
3085
3293
|
getAgentMediaUpload?: (AgentMediaUploadReservationGenqlSelection & {
|
|
@@ -4511,6 +4719,158 @@ interface MomentGuestListTotalsGenqlSelection {
|
|
|
4511
4719
|
__typename?: boolean | number;
|
|
4512
4720
|
__scalar?: boolean | number;
|
|
4513
4721
|
}
|
|
4722
|
+
interface FormGenqlSelection {
|
|
4723
|
+
allowMultipleResponses?: boolean | number;
|
|
4724
|
+
buttonText?: boolean | number;
|
|
4725
|
+
category?: boolean | number;
|
|
4726
|
+
createdAt?: boolean | number;
|
|
4727
|
+
deletedAt?: boolean | number;
|
|
4728
|
+
description?: boolean | number;
|
|
4729
|
+
faqs?: FormFaqGenqlSelection;
|
|
4730
|
+
fields?: FormFieldGenqlSelection;
|
|
4731
|
+
isActive?: boolean | number;
|
|
4732
|
+
isPublic?: boolean | number;
|
|
4733
|
+
label?: boolean | number;
|
|
4734
|
+
labelColor?: boolean | number;
|
|
4735
|
+
mode?: boolean | number;
|
|
4736
|
+
name?: boolean | number;
|
|
4737
|
+
preSubmitCalloutText?: boolean | number;
|
|
4738
|
+
relevancyScoringContext?: boolean | number;
|
|
4739
|
+
relevancyScoringEnabled?: boolean | number;
|
|
4740
|
+
responsesCount?: boolean | number;
|
|
4741
|
+
sections?: FormFieldSectionGenqlSelection;
|
|
4742
|
+
slug?: boolean | number;
|
|
4743
|
+
source?: boolean | number;
|
|
4744
|
+
successMessageBody?: boolean | number;
|
|
4745
|
+
successMessageTitle?: boolean | number;
|
|
4746
|
+
uid?: boolean | number;
|
|
4747
|
+
updatedAt?: boolean | number;
|
|
4748
|
+
__typename?: boolean | number;
|
|
4749
|
+
__scalar?: boolean | number;
|
|
4750
|
+
}
|
|
4751
|
+
interface FormFaqGenqlSelection {
|
|
4752
|
+
answer?: boolean | number;
|
|
4753
|
+
createdAt?: boolean | number;
|
|
4754
|
+
isActive?: boolean | number;
|
|
4755
|
+
question?: boolean | number;
|
|
4756
|
+
sortOrder?: boolean | number;
|
|
4757
|
+
uid?: boolean | number;
|
|
4758
|
+
updatedAt?: boolean | number;
|
|
4759
|
+
__typename?: boolean | number;
|
|
4760
|
+
__scalar?: boolean | number;
|
|
4761
|
+
}
|
|
4762
|
+
interface FormFieldGenqlSelection {
|
|
4763
|
+
createdAt?: boolean | number;
|
|
4764
|
+
defaultValue?: boolean | number;
|
|
4765
|
+
deletedAt?: boolean | number;
|
|
4766
|
+
isRequired?: boolean | number;
|
|
4767
|
+
label?: boolean | number;
|
|
4768
|
+
/** Pictures on the choices of a single- or multi-choice question. Empty when there are none. */
|
|
4769
|
+
optionImages?: FormFieldOptionImageGenqlSelection;
|
|
4770
|
+
options?: boolean | number;
|
|
4771
|
+
placeholder?: boolean | number;
|
|
4772
|
+
sectionUid?: boolean | number;
|
|
4773
|
+
sortOrder?: boolean | number;
|
|
4774
|
+
subLabel?: boolean | number;
|
|
4775
|
+
type?: boolean | number;
|
|
4776
|
+
uid?: boolean | number;
|
|
4777
|
+
updatedAt?: boolean | number;
|
|
4778
|
+
validationSchema?: boolean | number;
|
|
4779
|
+
__typename?: boolean | number;
|
|
4780
|
+
__scalar?: boolean | number;
|
|
4781
|
+
}
|
|
4782
|
+
/** A picture shown with one choice of a single- or multi-choice question. */
|
|
4783
|
+
interface FormFieldOptionImageGenqlSelection {
|
|
4784
|
+
image?: MediaAssetGenqlSelection;
|
|
4785
|
+
/** The choice this picture belongs to, as listed in `options`. */
|
|
4786
|
+
option?: boolean | number;
|
|
4787
|
+
__typename?: boolean | number;
|
|
4788
|
+
__scalar?: boolean | number;
|
|
4789
|
+
}
|
|
4790
|
+
interface FormFieldSectionGenqlSelection {
|
|
4791
|
+
createdAt?: boolean | number;
|
|
4792
|
+
deletedAt?: boolean | number;
|
|
4793
|
+
description?: boolean | number;
|
|
4794
|
+
sortOrder?: boolean | number;
|
|
4795
|
+
title?: boolean | number;
|
|
4796
|
+
uid?: boolean | number;
|
|
4797
|
+
updatedAt?: boolean | number;
|
|
4798
|
+
__typename?: boolean | number;
|
|
4799
|
+
__scalar?: boolean | number;
|
|
4800
|
+
}
|
|
4801
|
+
interface GetFormsPaginatedResponseGenqlSelection {
|
|
4802
|
+
forms?: FormGenqlSelection;
|
|
4803
|
+
hasNextPage?: boolean | number;
|
|
4804
|
+
nextCursor?: boolean | number;
|
|
4805
|
+
totalCount?: boolean | number;
|
|
4806
|
+
__typename?: boolean | number;
|
|
4807
|
+
__scalar?: boolean | number;
|
|
4808
|
+
}
|
|
4809
|
+
interface GetPartnerFormsInput {
|
|
4810
|
+
cursor?: (Scalars['String'] | null);
|
|
4811
|
+
/** Include archived forms. Default false. */
|
|
4812
|
+
includeArchived?: (Scalars['Boolean'] | null);
|
|
4813
|
+
isActive?: (Scalars['Boolean'] | null);
|
|
4814
|
+
/** Case-insensitive form name search, at most 100 characters. */
|
|
4815
|
+
search?: (Scalars['String'] | null);
|
|
4816
|
+
sources?: (FormSource[] | null);
|
|
4817
|
+
/** Page size. Default 50, maximum 100. */
|
|
4818
|
+
take?: (Scalars['Int'] | null);
|
|
4819
|
+
}
|
|
4820
|
+
interface GetPartnerFormResponsesInput {
|
|
4821
|
+
createdAtBefore?: (Scalars['DateTime'] | null);
|
|
4822
|
+
createdAtFrom?: (Scalars['DateTime'] | null);
|
|
4823
|
+
cursor?: (Scalars['String'] | null);
|
|
4824
|
+
/** At most 100 customer UIDs, matching getPartnerMembers.customer.uid and getPartnerAudience.uid. */
|
|
4825
|
+
customerUids?: (Scalars['String'][] | null);
|
|
4826
|
+
/** At most 100 form UIDs, all owned by the authenticated brand. */
|
|
4827
|
+
formUids?: (Scalars['String'][] | null);
|
|
4828
|
+
/** At most 100 response UIDs, for example getPartnerMembers.signupFormResponseUid. */
|
|
4829
|
+
responseUids?: (Scalars['String'][] | null);
|
|
4830
|
+
/** Page size. Default 50, maximum 100. */
|
|
4831
|
+
take?: (Scalars['Int'] | null);
|
|
4832
|
+
}
|
|
4833
|
+
interface PartnerFormFieldResponseGenqlSelection {
|
|
4834
|
+
createdAt?: boolean | number;
|
|
4835
|
+
/** Current question definition, including archived questions that still have answers. */
|
|
4836
|
+
formField?: FormFieldGenqlSelection;
|
|
4837
|
+
isValid?: boolean | number;
|
|
4838
|
+
uid?: boolean | number;
|
|
4839
|
+
updatedAt?: boolean | number;
|
|
4840
|
+
validationError?: boolean | number;
|
|
4841
|
+
value?: boolean | number;
|
|
4842
|
+
valueArray?: boolean | number;
|
|
4843
|
+
valueBoolean?: boolean | number;
|
|
4844
|
+
valueDate?: boolean | number;
|
|
4845
|
+
valueNumber?: boolean | number;
|
|
4846
|
+
valueString?: boolean | number;
|
|
4847
|
+
__typename?: boolean | number;
|
|
4848
|
+
__scalar?: boolean | number;
|
|
4849
|
+
}
|
|
4850
|
+
interface PartnerFormResponseGenqlSelection {
|
|
4851
|
+
contextType?: boolean | number;
|
|
4852
|
+
createdAt?: boolean | number;
|
|
4853
|
+
customer?: PartnerMemberCustomerGenqlSelection;
|
|
4854
|
+
extraData?: boolean | number;
|
|
4855
|
+
form?: FormGenqlSelection;
|
|
4856
|
+
formFieldResponses?: PartnerFormFieldResponseGenqlSelection;
|
|
4857
|
+
relevancyScore?: boolean | number;
|
|
4858
|
+
relevancyScoreDetails?: boolean | number;
|
|
4859
|
+
relevancyScoredAt?: boolean | number;
|
|
4860
|
+
responseData?: boolean | number;
|
|
4861
|
+
uid?: boolean | number;
|
|
4862
|
+
updatedAt?: boolean | number;
|
|
4863
|
+
__typename?: boolean | number;
|
|
4864
|
+
__scalar?: boolean | number;
|
|
4865
|
+
}
|
|
4866
|
+
interface GetPartnerFormResponsesResponseGenqlSelection {
|
|
4867
|
+
formResponses?: PartnerFormResponseGenqlSelection;
|
|
4868
|
+
hasNextPage?: boolean | number;
|
|
4869
|
+
nextCursor?: boolean | number;
|
|
4870
|
+
totalCount?: boolean | number;
|
|
4871
|
+
__typename?: boolean | number;
|
|
4872
|
+
__scalar?: boolean | number;
|
|
4873
|
+
}
|
|
4514
4874
|
|
|
4515
4875
|
interface GraphqlOperation {
|
|
4516
4876
|
query: string;
|
|
@@ -4735,4 +5095,4 @@ declare class ITMPartnerTransportError extends Error {
|
|
|
4735
5095
|
constructor(status: number | undefined, requestId?: string | undefined);
|
|
4736
5096
|
}
|
|
4737
5097
|
|
|
4738
|
-
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 ChargeCategory, type ChargeStatus, 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 GetInPersonOrdersResponse, type GetMerchPaginatedInput, type GetMerchPaginatedResponse, type GetMomentGuestListFiltersInput, type GetMomentLineupsResponse, type GetMomentTagAssignmentsResponse, type GetPartnerAudienceInput, type GetPartnerAudienceResponse, type GetPartnerCustomersResponse, type GetPartnerDropsResponse, type GetPartnerGuestListCheckInsResponse, type GetPartnerInPersonChargesResponse, type GetPartnerMediaAssetsInput, type GetPartnerMediaAssetsResponse, type GetPartnerMembersInput, type GetPartnerMembersResponse, type GetPartnerMembershipTiersInput, type GetPartnerMembershipTiersResponse, type GetPartnerMomentGuestListResponse, 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 InPersonCharge, type InPersonOrder, type InPersonOrderItem, type InPersonOrderItemType, type InPersonOrderMerchPurchase, type InPersonOrderRefund, type InPersonOrderRefundAllocation, type InPersonOrderRefundAllocationStatus, type InPersonOrderRefundSource, type InPersonOrderRefundStatus, type InPersonOrderStatus, type InPersonOrderTicket, type InPersonOrderUser, type LinkingMethod, 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 MomentGuestListCheckInSource, type MomentGuestListCheckInStatus, type MomentGuestListGuestInfo, type MomentGuestListLabel, type MomentGuestListSortField, type MomentGuestListSortInput, type MomentGuestListSource, type MomentGuestListTotals, 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 PartnerGuestListCheckIn, type PartnerGuestListInvitationResponse, type PartnerInPersonCharge, type PartnerMember, type PartnerMemberCustomer, type PartnerMemberTier, type PartnerMembershipTier, type PartnerMerchCustomerInput, type PartnerMerchPurchase, type PartnerMerchShippingAddressInput, type PartnerMomentAttendanceCount, type PartnerMomentAttendanceLookupInput, type PartnerMomentAttendanceStats, type PartnerMomentGuestList, 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 TicketState, type TicketTier, type Transforms, type UpdatePlanInput, type User, type UserLinkingStatus, type UserSource, type Venue, type VenueInput, type VerifyPartnerAppLoginInput, type VerifyPartnerBrandSubscriptionInput, createITMPartnerClient, everything, generateMutationOp, generateQueryOp };
|
|
5098
|
+
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 ChargeCategory, type ChargeStatus, 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 Form, type FormFaq, type FormField, type FormFieldOptionImage, type FormFieldSection, type FormFieldType, type FormResponseMode, type FormSource, type FulfillmentPlatform, GenqlError, type GetBrandEchoesForUserResponse, type GetFormsPaginatedResponse, type GetInPersonOrdersResponse, type GetMerchPaginatedInput, type GetMerchPaginatedResponse, type GetMomentGalleryPhotosResponse, type GetMomentGuestListFiltersInput, type GetMomentLineupsResponse, type GetMomentTagAssignmentsResponse, type GetPartnerAudienceInput, type GetPartnerAudienceResponse, type GetPartnerCustomersResponse, type GetPartnerDropsResponse, type GetPartnerFormResponsesInput, type GetPartnerFormResponsesResponse, type GetPartnerFormsInput, type GetPartnerGuestListCheckInsResponse, type GetPartnerInPersonChargesResponse, type GetPartnerMediaAssetsInput, type GetPartnerMediaAssetsResponse, type GetPartnerMembersInput, type GetPartnerMembersResponse, type GetPartnerMembershipTiersInput, type GetPartnerMembershipTiersResponse, type GetPartnerMomentGuestListResponse, 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 InPersonCharge, type InPersonOrder, type InPersonOrderItem, type InPersonOrderItemType, type InPersonOrderMerchPurchase, type InPersonOrderRefund, type InPersonOrderRefundAllocation, type InPersonOrderRefundAllocationStatus, type InPersonOrderRefundSource, type InPersonOrderRefundStatus, type InPersonOrderStatus, type InPersonOrderTicket, type InPersonOrderUser, type LinkingMethod, 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 MomentGuestListCheckInSource, type MomentGuestListCheckInStatus, type MomentGuestListGuestInfo, type MomentGuestListLabel, type MomentGuestListSortField, type MomentGuestListSortInput, type MomentGuestListSource, type MomentGuestListTotals, type MomentLineup, type MomentLineupDisplayLabel, type MomentLineupResponseResult, type MomentLineupStatus, type MomentLineupType, type MomentMedia, 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 PartnerFormFieldResponse, type PartnerFormResponse, type PartnerGuestListCheckIn, type PartnerGuestListInvitationResponse, type PartnerInPersonCharge, type PartnerMember, type PartnerMemberCustomer, type PartnerMemberTier, type PartnerMembershipTier, type PartnerMerchCustomerInput, type PartnerMerchPurchase, type PartnerMerchShippingAddressInput, type PartnerMomentAttendanceCount, type PartnerMomentAttendanceLookupInput, type PartnerMomentAttendanceStats, type PartnerMomentGuestList, 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 TicketState, type TicketTier, type Transforms, type UpdatePlanInput, type User, type UserLinkingStatus, type UserSource, type Venue, type VenueInput, type VerifyPartnerAppLoginInput, type VerifyPartnerBrandSubscriptionInput, createITMPartnerClient, everything, generateMutationOp, generateQueryOp };
|