@itm-studio/partner-sdk 0.3.7 → 0.3.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@itm-studio/partner-sdk",
3
- "version": "0.3.7",
3
+ "version": "0.3.8",
4
4
  "description": "TypeScript SDK for the ITM Partner API — typed GraphQL client with zero introspection required",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
@@ -2049,7 +2049,25 @@ input PostSubscriptionMessageInput {
2049
2049
  push: PostSubscriptionPushInput
2050
2050
  }
2051
2051
 
2052
+ input CreatePartnerBrandDropInput {
2053
+ name: String!
2054
+ subtitle: String
2055
+ disclosures: String
2056
+ isPublic: Boolean
2057
+ """Only SUBSCRIBE is supported for partner-created drops."""
2058
+ ctaType: BrandDropCtaType!
2059
+ captureName: Boolean
2060
+ captureEmail: Boolean
2061
+ consentText: String
2062
+ """Active image asset belonging to the authenticated brand."""
2063
+ coverImageUid: String!
2064
+ coverImageMobileUid: String
2065
+ brandListUids: [String!]
2066
+ }
2067
+
2052
2068
  input CreatePartnerBrandSubscriptionInput {
2069
+ """Optional SUBSCRIBE drop UID belonging to the authenticated partner brand."""
2070
+ dropUid: String
2053
2071
  compliance: SubscriptionComplianceInput
2054
2072
 
2055
2073
  """
@@ -2163,6 +2181,9 @@ type Mutation {
2163
2181
  reservationUid: String
2164
2182
  ): MediaAsset!
2165
2183
 
2184
+ """Create a SUBSCRIBE drop for the authenticated partner brand."""
2185
+ createPartnerBrandDrop(input: CreatePartnerBrandDropInput!): BrandDrop!
2186
+
2166
2187
  """
2167
2188
  Subscribe a user to the authenticated partner brand.
2168
2189
  Set requireOtpVerification to true to start a two-step OTP flow.