@itm-studio/partner-sdk 0.6.3 → 0.6.4
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 +120 -0
- package/dist/index.d.mts +65 -1
- package/dist/index.d.ts +65 -1
- package/dist/index.js +375 -308
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +375 -308
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/schema/partner.graphql +29 -0
package/package.json
CHANGED
package/schema/partner.graphql
CHANGED
|
@@ -737,6 +737,22 @@ type Moment {
|
|
|
737
737
|
updatedAt: DateTime!
|
|
738
738
|
}
|
|
739
739
|
|
|
740
|
+
"""An ordered photo in a moment's gallery, separate from its cover image."""
|
|
741
|
+
type MomentMedia {
|
|
742
|
+
uid: ID!
|
|
743
|
+
sortOrder: String!
|
|
744
|
+
mediaAsset: MediaAsset!
|
|
745
|
+
createdAt: DateTime!
|
|
746
|
+
updatedAt: DateTime!
|
|
747
|
+
}
|
|
748
|
+
|
|
749
|
+
type GetMomentGalleryPhotosResponse {
|
|
750
|
+
momentMedia: [MomentMedia!]!
|
|
751
|
+
totalCount: Int!
|
|
752
|
+
hasNextPage: Boolean!
|
|
753
|
+
nextCursor: String
|
|
754
|
+
}
|
|
755
|
+
|
|
740
756
|
"""
|
|
741
757
|
Public-facing lineup entry for a moment.
|
|
742
758
|
Only approved entries are returned by getPublicMomentLineups.
|
|
@@ -1791,6 +1807,13 @@ type PartnerMembershipTier {
|
|
|
1791
1807
|
"""ISO 4217 currency code"""
|
|
1792
1808
|
currencyCode: String!
|
|
1793
1809
|
description: String
|
|
1810
|
+
coverImage: MediaAsset
|
|
1811
|
+
finePrint: String
|
|
1812
|
+
"""Maximum optional contribution per unit, in hundredths of the currency's major unit."""
|
|
1813
|
+
payWhatYouWantMaxPrice: Int
|
|
1814
|
+
"""Suggested optional contribution per unit, in hundredths of the currency's major unit."""
|
|
1815
|
+
payWhatYouWantSuggestedPrice: Int
|
|
1816
|
+
payWhatYouWantMessage: String
|
|
1794
1817
|
durationDays: Int
|
|
1795
1818
|
expiryType: MembershipExpiryType
|
|
1796
1819
|
fixedEndDate: DateTime
|
|
@@ -2009,6 +2032,12 @@ type Query {
|
|
|
2009
2032
|
"""List the authenticated partner brand's non-deleted membership tiers, including inactive and private tiers."""
|
|
2010
2033
|
getPartnerMembershipTiers(input: GetPartnerMembershipTiersInput): GetPartnerMembershipTiersResponse!
|
|
2011
2034
|
|
|
2035
|
+
"""
|
|
2036
|
+
Ordered gallery photos for a moment UID. Public read, separate from the cover image.
|
|
2037
|
+
Page size defaults to 20 and is capped at 50. Follow nextCursor while hasNextPage is true.
|
|
2038
|
+
"""
|
|
2039
|
+
getMomentGalleryPhotos(momentUid: String!, cursor: String, take: Int): GetMomentGalleryPhotosResponse!
|
|
2040
|
+
|
|
2012
2041
|
"""Get the authenticated agent operator email for the approval preview. Requires a brand-agent session with SEND_EMAIL; unavailable to partner API keys."""
|
|
2013
2042
|
getPartnerAgentEmailContext: BrandAgentEmailContext!
|
|
2014
2043
|
getAgentMediaUpload(uid: String!): AgentMediaUploadReservation!
|