@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/README.md +69 -0
- package/dist/index.d.mts +26 -1
- package/dist/index.d.ts +26 -1
- package/dist/index.js +138 -88
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +138 -88
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/schema/partner.graphql +21 -0
package/package.json
CHANGED
package/schema/partner.graphql
CHANGED
|
@@ -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.
|