@wix/auto_sdk_loyalty_social-media 1.0.1 → 1.0.2
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/build/cjs/src/loyalty-socialmedia-v1-followed-channel-social-media.types.d.ts +46 -11
- package/build/cjs/src/loyalty-socialmedia-v1-followed-channel-social-media.types.js.map +1 -1
- package/build/cjs/src/loyalty-socialmedia-v1-followed-channel-social-media.universal.d.ts +58 -17
- package/build/cjs/src/loyalty-socialmedia-v1-followed-channel-social-media.universal.js +2 -2
- package/build/cjs/src/loyalty-socialmedia-v1-followed-channel-social-media.universal.js.map +1 -1
- package/build/es/src/loyalty-socialmedia-v1-followed-channel-social-media.types.d.ts +46 -11
- package/build/es/src/loyalty-socialmedia-v1-followed-channel-social-media.types.js.map +1 -1
- package/build/es/src/loyalty-socialmedia-v1-followed-channel-social-media.universal.d.ts +58 -17
- package/build/es/src/loyalty-socialmedia-v1-followed-channel-social-media.universal.js +2 -2
- package/build/es/src/loyalty-socialmedia-v1-followed-channel-social-media.universal.js.map +1 -1
- package/build/internal/cjs/src/loyalty-socialmedia-v1-followed-channel-social-media.types.d.ts +46 -11
- package/build/internal/cjs/src/loyalty-socialmedia-v1-followed-channel-social-media.types.js.map +1 -1
- package/build/internal/cjs/src/loyalty-socialmedia-v1-followed-channel-social-media.universal.d.ts +58 -17
- package/build/internal/cjs/src/loyalty-socialmedia-v1-followed-channel-social-media.universal.js +2 -2
- package/build/internal/cjs/src/loyalty-socialmedia-v1-followed-channel-social-media.universal.js.map +1 -1
- package/build/internal/es/src/loyalty-socialmedia-v1-followed-channel-social-media.types.d.ts +46 -11
- package/build/internal/es/src/loyalty-socialmedia-v1-followed-channel-social-media.types.js.map +1 -1
- package/build/internal/es/src/loyalty-socialmedia-v1-followed-channel-social-media.universal.d.ts +58 -17
- package/build/internal/es/src/loyalty-socialmedia-v1-followed-channel-social-media.universal.js +2 -2
- package/build/internal/es/src/loyalty-socialmedia-v1-followed-channel-social-media.universal.js.map +1 -1
- package/package.json +2 -2
|
@@ -2,11 +2,13 @@ export interface FollowedChannel {
|
|
|
2
2
|
/**
|
|
3
3
|
* Followed social media channel ID.
|
|
4
4
|
* @readonly
|
|
5
|
+
* @format GUID
|
|
5
6
|
*/
|
|
6
7
|
id?: string;
|
|
7
8
|
/**
|
|
8
9
|
* ID of the account that has followed a social media channel.
|
|
9
10
|
* @readonly
|
|
11
|
+
* @format GUID
|
|
10
12
|
*/
|
|
11
13
|
accountId?: string;
|
|
12
14
|
/** Followed social media channel type. */
|
|
@@ -42,7 +44,10 @@ export interface CreateFollowedChannelResponse {
|
|
|
42
44
|
export interface ListFollowedChannelsRequest {
|
|
43
45
|
}
|
|
44
46
|
export interface ListFollowedChannelsResponse {
|
|
45
|
-
/**
|
|
47
|
+
/**
|
|
48
|
+
* List of followed social media channels.
|
|
49
|
+
* @maxSize 5
|
|
50
|
+
*/
|
|
46
51
|
followedChannels?: FollowedChannel[];
|
|
47
52
|
}
|
|
48
53
|
export interface DomainEvent extends DomainEventBodyOneOf {
|
|
@@ -120,9 +125,15 @@ export interface ActionEvent {
|
|
|
120
125
|
export interface Empty {
|
|
121
126
|
}
|
|
122
127
|
export interface MessageEnvelope {
|
|
123
|
-
/**
|
|
128
|
+
/**
|
|
129
|
+
* App instance ID.
|
|
130
|
+
* @format GUID
|
|
131
|
+
*/
|
|
124
132
|
instanceId?: string | null;
|
|
125
|
-
/**
|
|
133
|
+
/**
|
|
134
|
+
* Event type.
|
|
135
|
+
* @maxLength 150
|
|
136
|
+
*/
|
|
126
137
|
eventType?: string;
|
|
127
138
|
/** The identification type and identity data. */
|
|
128
139
|
identity?: IdentificationData;
|
|
@@ -130,26 +141,50 @@ export interface MessageEnvelope {
|
|
|
130
141
|
data?: string;
|
|
131
142
|
}
|
|
132
143
|
export interface IdentificationData extends IdentificationDataIdOneOf {
|
|
133
|
-
/**
|
|
144
|
+
/**
|
|
145
|
+
* ID of a site visitor that has not logged in to the site.
|
|
146
|
+
* @format GUID
|
|
147
|
+
*/
|
|
134
148
|
anonymousVisitorId?: string;
|
|
135
|
-
/**
|
|
149
|
+
/**
|
|
150
|
+
* ID of a site visitor that has logged in to the site.
|
|
151
|
+
* @format GUID
|
|
152
|
+
*/
|
|
136
153
|
memberId?: string;
|
|
137
|
-
/**
|
|
154
|
+
/**
|
|
155
|
+
* ID of a Wix user (site owner, contributor, etc.).
|
|
156
|
+
* @format GUID
|
|
157
|
+
*/
|
|
138
158
|
wixUserId?: string;
|
|
139
|
-
/**
|
|
159
|
+
/**
|
|
160
|
+
* ID of an app.
|
|
161
|
+
* @format GUID
|
|
162
|
+
*/
|
|
140
163
|
appId?: string;
|
|
141
164
|
/** @readonly */
|
|
142
165
|
identityType?: WebhookIdentityType;
|
|
143
166
|
}
|
|
144
167
|
/** @oneof */
|
|
145
168
|
export interface IdentificationDataIdOneOf {
|
|
146
|
-
/**
|
|
169
|
+
/**
|
|
170
|
+
* ID of a site visitor that has not logged in to the site.
|
|
171
|
+
* @format GUID
|
|
172
|
+
*/
|
|
147
173
|
anonymousVisitorId?: string;
|
|
148
|
-
/**
|
|
174
|
+
/**
|
|
175
|
+
* ID of a site visitor that has logged in to the site.
|
|
176
|
+
* @format GUID
|
|
177
|
+
*/
|
|
149
178
|
memberId?: string;
|
|
150
|
-
/**
|
|
179
|
+
/**
|
|
180
|
+
* ID of a Wix user (site owner, contributor, etc.).
|
|
181
|
+
* @format GUID
|
|
182
|
+
*/
|
|
151
183
|
wixUserId?: string;
|
|
152
|
-
/**
|
|
184
|
+
/**
|
|
185
|
+
* ID of an app.
|
|
186
|
+
* @format GUID
|
|
187
|
+
*/
|
|
153
188
|
appId?: string;
|
|
154
189
|
}
|
|
155
190
|
export declare enum WebhookIdentityType {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"loyalty-socialmedia-v1-followed-channel-social-media.types.js","sourceRoot":"","sources":["../../../src/loyalty-socialmedia-v1-followed-channel-social-media.types.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"loyalty-socialmedia-v1-followed-channel-social-media.types.js","sourceRoot":"","sources":["../../../src/loyalty-socialmedia-v1-followed-channel-social-media.types.ts"],"names":[],"mappings":";;;AAsBA,IAAY,IAaX;AAbD,WAAY,IAAI;IACd,yCAAyC;IACzC,2CAAmC,CAAA;IACnC,qCAAqC;IACrC,6BAAqB,CAAA;IACrB,sCAAsC;IACtC,+BAAuB,CAAA;IACvB,qCAAqC;IACrC,6BAAqB,CAAA;IACrB,8BAA8B;IAC9B,eAAO,CAAA;IACP,mCAAmC;IACnC,yBAAiB,CAAA;AACnB,CAAC,EAbW,IAAI,oBAAJ,IAAI,QAaf;AAyKD,IAAY,mBAMX;AAND,WAAY,mBAAmB;IAC7B,0CAAmB,CAAA;IACnB,8DAAuC,CAAA;IACvC,wCAAiB,CAAA;IACjB,4CAAqB,CAAA;IACrB,kCAAW,CAAA;AACb,CAAC,EANW,mBAAmB,mCAAnB,mBAAmB,QAM9B"}
|
|
@@ -2,11 +2,13 @@ export interface FollowedChannel {
|
|
|
2
2
|
/**
|
|
3
3
|
* Followed social media channel ID.
|
|
4
4
|
* @readonly
|
|
5
|
+
* @format GUID
|
|
5
6
|
*/
|
|
6
7
|
_id?: string;
|
|
7
8
|
/**
|
|
8
9
|
* ID of the account that has followed a social media channel.
|
|
9
10
|
* @readonly
|
|
11
|
+
* @format GUID
|
|
10
12
|
*/
|
|
11
13
|
accountId?: string;
|
|
12
14
|
/** Followed social media channel type. */
|
|
@@ -42,7 +44,10 @@ export interface CreateFollowedChannelResponse {
|
|
|
42
44
|
export interface ListFollowedChannelsRequest {
|
|
43
45
|
}
|
|
44
46
|
export interface ListFollowedChannelsResponse {
|
|
45
|
-
/**
|
|
47
|
+
/**
|
|
48
|
+
* List of followed social media channels.
|
|
49
|
+
* @maxSize 5
|
|
50
|
+
*/
|
|
46
51
|
followedChannels?: FollowedChannel[];
|
|
47
52
|
}
|
|
48
53
|
export interface DomainEvent extends DomainEventBodyOneOf {
|
|
@@ -118,9 +123,15 @@ export interface ActionEvent {
|
|
|
118
123
|
export interface Empty {
|
|
119
124
|
}
|
|
120
125
|
export interface MessageEnvelope {
|
|
121
|
-
/**
|
|
126
|
+
/**
|
|
127
|
+
* App instance ID.
|
|
128
|
+
* @format GUID
|
|
129
|
+
*/
|
|
122
130
|
instanceId?: string | null;
|
|
123
|
-
/**
|
|
131
|
+
/**
|
|
132
|
+
* Event type.
|
|
133
|
+
* @maxLength 150
|
|
134
|
+
*/
|
|
124
135
|
eventType?: string;
|
|
125
136
|
/** The identification type and identity data. */
|
|
126
137
|
identity?: IdentificationData;
|
|
@@ -128,26 +139,50 @@ export interface MessageEnvelope {
|
|
|
128
139
|
data?: string;
|
|
129
140
|
}
|
|
130
141
|
export interface IdentificationData extends IdentificationDataIdOneOf {
|
|
131
|
-
/**
|
|
142
|
+
/**
|
|
143
|
+
* ID of a site visitor that has not logged in to the site.
|
|
144
|
+
* @format GUID
|
|
145
|
+
*/
|
|
132
146
|
anonymousVisitorId?: string;
|
|
133
|
-
/**
|
|
147
|
+
/**
|
|
148
|
+
* ID of a site visitor that has logged in to the site.
|
|
149
|
+
* @format GUID
|
|
150
|
+
*/
|
|
134
151
|
memberId?: string;
|
|
135
|
-
/**
|
|
152
|
+
/**
|
|
153
|
+
* ID of a Wix user (site owner, contributor, etc.).
|
|
154
|
+
* @format GUID
|
|
155
|
+
*/
|
|
136
156
|
wixUserId?: string;
|
|
137
|
-
/**
|
|
157
|
+
/**
|
|
158
|
+
* ID of an app.
|
|
159
|
+
* @format GUID
|
|
160
|
+
*/
|
|
138
161
|
appId?: string;
|
|
139
162
|
/** @readonly */
|
|
140
163
|
identityType?: WebhookIdentityType;
|
|
141
164
|
}
|
|
142
165
|
/** @oneof */
|
|
143
166
|
export interface IdentificationDataIdOneOf {
|
|
144
|
-
/**
|
|
167
|
+
/**
|
|
168
|
+
* ID of a site visitor that has not logged in to the site.
|
|
169
|
+
* @format GUID
|
|
170
|
+
*/
|
|
145
171
|
anonymousVisitorId?: string;
|
|
146
|
-
/**
|
|
172
|
+
/**
|
|
173
|
+
* ID of a site visitor that has logged in to the site.
|
|
174
|
+
* @format GUID
|
|
175
|
+
*/
|
|
147
176
|
memberId?: string;
|
|
148
|
-
/**
|
|
177
|
+
/**
|
|
178
|
+
* ID of a Wix user (site owner, contributor, etc.).
|
|
179
|
+
* @format GUID
|
|
180
|
+
*/
|
|
149
181
|
wixUserId?: string;
|
|
150
|
-
/**
|
|
182
|
+
/**
|
|
183
|
+
* ID of an app.
|
|
184
|
+
* @format GUID
|
|
185
|
+
*/
|
|
151
186
|
appId?: string;
|
|
152
187
|
}
|
|
153
188
|
export declare enum WebhookIdentityType {
|
|
@@ -169,9 +204,15 @@ export interface ListFollowedChannelsResponseNonNullableFields {
|
|
|
169
204
|
followedChannels: FollowedChannelNonNullableFields[];
|
|
170
205
|
}
|
|
171
206
|
export interface BaseEventMetadata {
|
|
172
|
-
/**
|
|
207
|
+
/**
|
|
208
|
+
* App instance ID.
|
|
209
|
+
* @format GUID
|
|
210
|
+
*/
|
|
173
211
|
instanceId?: string | null;
|
|
174
|
-
/**
|
|
212
|
+
/**
|
|
213
|
+
* Event type.
|
|
214
|
+
* @maxLength 150
|
|
215
|
+
*/
|
|
175
216
|
eventType?: string;
|
|
176
217
|
/** The identification type and identity data. */
|
|
177
218
|
identity?: IdentificationData;
|
|
@@ -220,10 +261,10 @@ export interface FollowedChannelCreatedEnvelope {
|
|
|
220
261
|
}
|
|
221
262
|
/**
|
|
222
263
|
* Triggered when an account follows a new channel.
|
|
223
|
-
* @permissionScope Manage Loyalty
|
|
224
|
-
* @permissionScopeId SCOPE.DC-LOYALTY.MANAGE-LOYALTY
|
|
225
264
|
* @permissionScope Read Loyalty
|
|
226
265
|
* @permissionScopeId SCOPE.DC-LOYALTY.READ-LOYALTY
|
|
266
|
+
* @permissionScope Manage Loyalty
|
|
267
|
+
* @permissionScopeId SCOPE.DC-LOYALTY.MANAGE-LOYALTY
|
|
227
268
|
* @permissionId LOYALTY.FOLLOWED_CHANNEL_READ
|
|
228
269
|
* @webhook
|
|
229
270
|
* @eventType wix.loyalty.socialmedia.v1.followed_channel_created
|
|
@@ -260,10 +301,10 @@ export declare function createFollowedChannel(followedChannel: FollowedChannel):
|
|
|
260
301
|
* @public
|
|
261
302
|
* @documentationMaturity preview
|
|
262
303
|
* @permissionId LOYALTY.FOLLOWED_CHANNEL_READ
|
|
263
|
-
* @permissionScope Manage Loyalty
|
|
264
|
-
* @permissionScopeId SCOPE.DC-LOYALTY.MANAGE-LOYALTY
|
|
265
304
|
* @permissionScope Read Loyalty
|
|
266
305
|
* @permissionScopeId SCOPE.DC-LOYALTY.READ-LOYALTY
|
|
306
|
+
* @permissionScope Manage Loyalty
|
|
307
|
+
* @permissionScopeId SCOPE.DC-LOYALTY.MANAGE-LOYALTY
|
|
267
308
|
* @applicableIdentity APP
|
|
268
309
|
* @applicableIdentity MEMBER
|
|
269
310
|
* @fqn wix.loyalty.socialmedia.v1.LoyaltySocialMedia.ListFollowedChannels
|
|
@@ -103,10 +103,10 @@ exports.createFollowedChannel = createFollowedChannel;
|
|
|
103
103
|
* @public
|
|
104
104
|
* @documentationMaturity preview
|
|
105
105
|
* @permissionId LOYALTY.FOLLOWED_CHANNEL_READ
|
|
106
|
-
* @permissionScope Manage Loyalty
|
|
107
|
-
* @permissionScopeId SCOPE.DC-LOYALTY.MANAGE-LOYALTY
|
|
108
106
|
* @permissionScope Read Loyalty
|
|
109
107
|
* @permissionScopeId SCOPE.DC-LOYALTY.READ-LOYALTY
|
|
108
|
+
* @permissionScope Manage Loyalty
|
|
109
|
+
* @permissionScopeId SCOPE.DC-LOYALTY.MANAGE-LOYALTY
|
|
110
110
|
* @applicableIdentity APP
|
|
111
111
|
* @applicableIdentity MEMBER
|
|
112
112
|
* @fqn wix.loyalty.socialmedia.v1.LoyaltySocialMedia.ListFollowedChannels
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"loyalty-socialmedia-v1-followed-channel-social-media.universal.js","sourceRoot":"","sources":["../../../src/loyalty-socialmedia-v1-followed-channel-social-media.universal.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,sEAAuF;AACvF,oFAGiD;AAEjD,iJAAmI;
|
|
1
|
+
{"version":3,"file":"loyalty-socialmedia-v1-followed-channel-social-media.universal.js","sourceRoot":"","sources":["../../../src/loyalty-socialmedia-v1-followed-channel-social-media.universal.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,sEAAuF;AACvF,oFAGiD;AAEjD,iJAAmI;AAwBnI,IAAY,IAaX;AAbD,WAAY,IAAI;IACd,yCAAyC;IACzC,2CAAmC,CAAA;IACnC,qCAAqC;IACrC,6BAAqB,CAAA;IACrB,sCAAsC;IACtC,+BAAuB,CAAA;IACvB,qCAAqC;IACrC,6BAAqB,CAAA;IACrB,8BAA8B;IAC9B,eAAO,CAAA;IACP,mCAAmC;IACnC,yBAAiB,CAAA;AACnB,CAAC,EAbW,IAAI,oBAAJ,IAAI,QAaf;AAuKD,IAAY,mBAMX;AAND,WAAY,mBAAmB;IAC7B,0CAAmB,CAAA;IACnB,8DAAuC,CAAA;IACvC,wCAAiB,CAAA;IACjB,4CAAqB,CAAA;IACrB,kCAAW,CAAA;AACb,CAAC,EANW,mBAAmB,mCAAnB,mBAAmB,QAM9B;AA2FD;;;;;;;;;;;;;;;;;;;GAmBG;AACI,KAAK,UAAU,qBAAqB,CACzC,eAAgC;IAEhC,aAAa;IACb,MAAM,EAAE,UAAU,EAAE,WAAW,EAAE,GAAG,SAAS,CAAC,CAAC,CAG9C,CAAC;IAEF,MAAM,OAAO,GAAG,IAAA,8DAAqC,EAAC;QACpD,eAAe,EAAE,eAAe;KACjC,CAAC,CAAC;IAEH,MAAM,OAAO,GACX,gDAAgD,CAAC,qBAAqB,CACpE,OAAO,CACR,CAAC;IAEJ,WAAW,EAAE,UAAU,EAAE,E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EACH;YACE,sBAAsB,EAAE,EAAE;YAC1B,wBAAwB,EAAE,EAAE;YAC5B,uBAAuB,EAAE,KAAK;SAC/B,EACD,EAAE,CACH,CAAC;QACF,WAAW,EAAE,OAAO,EAAE,CAAC,GAAG,CAAC,CAAC;QAE5B,MAAM,gBAAgB,CAAC;IACzB,CAAC;AACH,CAAC;AApCD,oDAoCC"}
|
|
@@ -2,11 +2,13 @@ export interface FollowedChannel {
|
|
|
2
2
|
/**
|
|
3
3
|
* Followed social media channel ID.
|
|
4
4
|
* @readonly
|
|
5
|
+
* @format GUID
|
|
5
6
|
*/
|
|
6
7
|
id?: string;
|
|
7
8
|
/**
|
|
8
9
|
* ID of the account that has followed a social media channel.
|
|
9
10
|
* @readonly
|
|
11
|
+
* @format GUID
|
|
10
12
|
*/
|
|
11
13
|
accountId?: string;
|
|
12
14
|
/** Followed social media channel type. */
|
|
@@ -42,7 +44,10 @@ export interface CreateFollowedChannelResponse {
|
|
|
42
44
|
export interface ListFollowedChannelsRequest {
|
|
43
45
|
}
|
|
44
46
|
export interface ListFollowedChannelsResponse {
|
|
45
|
-
/**
|
|
47
|
+
/**
|
|
48
|
+
* List of followed social media channels.
|
|
49
|
+
* @maxSize 5
|
|
50
|
+
*/
|
|
46
51
|
followedChannels?: FollowedChannel[];
|
|
47
52
|
}
|
|
48
53
|
export interface DomainEvent extends DomainEventBodyOneOf {
|
|
@@ -120,9 +125,15 @@ export interface ActionEvent {
|
|
|
120
125
|
export interface Empty {
|
|
121
126
|
}
|
|
122
127
|
export interface MessageEnvelope {
|
|
123
|
-
/**
|
|
128
|
+
/**
|
|
129
|
+
* App instance ID.
|
|
130
|
+
* @format GUID
|
|
131
|
+
*/
|
|
124
132
|
instanceId?: string | null;
|
|
125
|
-
/**
|
|
133
|
+
/**
|
|
134
|
+
* Event type.
|
|
135
|
+
* @maxLength 150
|
|
136
|
+
*/
|
|
126
137
|
eventType?: string;
|
|
127
138
|
/** The identification type and identity data. */
|
|
128
139
|
identity?: IdentificationData;
|
|
@@ -130,26 +141,50 @@ export interface MessageEnvelope {
|
|
|
130
141
|
data?: string;
|
|
131
142
|
}
|
|
132
143
|
export interface IdentificationData extends IdentificationDataIdOneOf {
|
|
133
|
-
/**
|
|
144
|
+
/**
|
|
145
|
+
* ID of a site visitor that has not logged in to the site.
|
|
146
|
+
* @format GUID
|
|
147
|
+
*/
|
|
134
148
|
anonymousVisitorId?: string;
|
|
135
|
-
/**
|
|
149
|
+
/**
|
|
150
|
+
* ID of a site visitor that has logged in to the site.
|
|
151
|
+
* @format GUID
|
|
152
|
+
*/
|
|
136
153
|
memberId?: string;
|
|
137
|
-
/**
|
|
154
|
+
/**
|
|
155
|
+
* ID of a Wix user (site owner, contributor, etc.).
|
|
156
|
+
* @format GUID
|
|
157
|
+
*/
|
|
138
158
|
wixUserId?: string;
|
|
139
|
-
/**
|
|
159
|
+
/**
|
|
160
|
+
* ID of an app.
|
|
161
|
+
* @format GUID
|
|
162
|
+
*/
|
|
140
163
|
appId?: string;
|
|
141
164
|
/** @readonly */
|
|
142
165
|
identityType?: WebhookIdentityType;
|
|
143
166
|
}
|
|
144
167
|
/** @oneof */
|
|
145
168
|
export interface IdentificationDataIdOneOf {
|
|
146
|
-
/**
|
|
169
|
+
/**
|
|
170
|
+
* ID of a site visitor that has not logged in to the site.
|
|
171
|
+
* @format GUID
|
|
172
|
+
*/
|
|
147
173
|
anonymousVisitorId?: string;
|
|
148
|
-
/**
|
|
174
|
+
/**
|
|
175
|
+
* ID of a site visitor that has logged in to the site.
|
|
176
|
+
* @format GUID
|
|
177
|
+
*/
|
|
149
178
|
memberId?: string;
|
|
150
|
-
/**
|
|
179
|
+
/**
|
|
180
|
+
* ID of a Wix user (site owner, contributor, etc.).
|
|
181
|
+
* @format GUID
|
|
182
|
+
*/
|
|
151
183
|
wixUserId?: string;
|
|
152
|
-
/**
|
|
184
|
+
/**
|
|
185
|
+
* ID of an app.
|
|
186
|
+
* @format GUID
|
|
187
|
+
*/
|
|
153
188
|
appId?: string;
|
|
154
189
|
}
|
|
155
190
|
export declare enum WebhookIdentityType {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"loyalty-socialmedia-v1-followed-channel-social-media.types.js","sourceRoot":"","sources":["../../../src/loyalty-socialmedia-v1-followed-channel-social-media.types.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"loyalty-socialmedia-v1-followed-channel-social-media.types.js","sourceRoot":"","sources":["../../../src/loyalty-socialmedia-v1-followed-channel-social-media.types.ts"],"names":[],"mappings":"AAsBA,MAAM,CAAN,IAAY,IAaX;AAbD,WAAY,IAAI;IACd,yCAAyC;IACzC,2CAAmC,CAAA;IACnC,qCAAqC;IACrC,6BAAqB,CAAA;IACrB,sCAAsC;IACtC,+BAAuB,CAAA;IACvB,qCAAqC;IACrC,6BAAqB,CAAA;IACrB,8BAA8B;IAC9B,eAAO,CAAA;IACP,mCAAmC;IACnC,yBAAiB,CAAA;AACnB,CAAC,EAbW,IAAI,KAAJ,IAAI,QAaf;AAyKD,MAAM,CAAN,IAAY,mBAMX;AAND,WAAY,mBAAmB;IAC7B,0CAAmB,CAAA;IACnB,8DAAuC,CAAA;IACvC,wCAAiB,CAAA;IACjB,4CAAqB,CAAA;IACrB,kCAAW,CAAA;AACb,CAAC,EANW,mBAAmB,KAAnB,mBAAmB,QAM9B"}
|
|
@@ -2,11 +2,13 @@ export interface FollowedChannel {
|
|
|
2
2
|
/**
|
|
3
3
|
* Followed social media channel ID.
|
|
4
4
|
* @readonly
|
|
5
|
+
* @format GUID
|
|
5
6
|
*/
|
|
6
7
|
_id?: string;
|
|
7
8
|
/**
|
|
8
9
|
* ID of the account that has followed a social media channel.
|
|
9
10
|
* @readonly
|
|
11
|
+
* @format GUID
|
|
10
12
|
*/
|
|
11
13
|
accountId?: string;
|
|
12
14
|
/** Followed social media channel type. */
|
|
@@ -42,7 +44,10 @@ export interface CreateFollowedChannelResponse {
|
|
|
42
44
|
export interface ListFollowedChannelsRequest {
|
|
43
45
|
}
|
|
44
46
|
export interface ListFollowedChannelsResponse {
|
|
45
|
-
/**
|
|
47
|
+
/**
|
|
48
|
+
* List of followed social media channels.
|
|
49
|
+
* @maxSize 5
|
|
50
|
+
*/
|
|
46
51
|
followedChannels?: FollowedChannel[];
|
|
47
52
|
}
|
|
48
53
|
export interface DomainEvent extends DomainEventBodyOneOf {
|
|
@@ -118,9 +123,15 @@ export interface ActionEvent {
|
|
|
118
123
|
export interface Empty {
|
|
119
124
|
}
|
|
120
125
|
export interface MessageEnvelope {
|
|
121
|
-
/**
|
|
126
|
+
/**
|
|
127
|
+
* App instance ID.
|
|
128
|
+
* @format GUID
|
|
129
|
+
*/
|
|
122
130
|
instanceId?: string | null;
|
|
123
|
-
/**
|
|
131
|
+
/**
|
|
132
|
+
* Event type.
|
|
133
|
+
* @maxLength 150
|
|
134
|
+
*/
|
|
124
135
|
eventType?: string;
|
|
125
136
|
/** The identification type and identity data. */
|
|
126
137
|
identity?: IdentificationData;
|
|
@@ -128,26 +139,50 @@ export interface MessageEnvelope {
|
|
|
128
139
|
data?: string;
|
|
129
140
|
}
|
|
130
141
|
export interface IdentificationData extends IdentificationDataIdOneOf {
|
|
131
|
-
/**
|
|
142
|
+
/**
|
|
143
|
+
* ID of a site visitor that has not logged in to the site.
|
|
144
|
+
* @format GUID
|
|
145
|
+
*/
|
|
132
146
|
anonymousVisitorId?: string;
|
|
133
|
-
/**
|
|
147
|
+
/**
|
|
148
|
+
* ID of a site visitor that has logged in to the site.
|
|
149
|
+
* @format GUID
|
|
150
|
+
*/
|
|
134
151
|
memberId?: string;
|
|
135
|
-
/**
|
|
152
|
+
/**
|
|
153
|
+
* ID of a Wix user (site owner, contributor, etc.).
|
|
154
|
+
* @format GUID
|
|
155
|
+
*/
|
|
136
156
|
wixUserId?: string;
|
|
137
|
-
/**
|
|
157
|
+
/**
|
|
158
|
+
* ID of an app.
|
|
159
|
+
* @format GUID
|
|
160
|
+
*/
|
|
138
161
|
appId?: string;
|
|
139
162
|
/** @readonly */
|
|
140
163
|
identityType?: WebhookIdentityType;
|
|
141
164
|
}
|
|
142
165
|
/** @oneof */
|
|
143
166
|
export interface IdentificationDataIdOneOf {
|
|
144
|
-
/**
|
|
167
|
+
/**
|
|
168
|
+
* ID of a site visitor that has not logged in to the site.
|
|
169
|
+
* @format GUID
|
|
170
|
+
*/
|
|
145
171
|
anonymousVisitorId?: string;
|
|
146
|
-
/**
|
|
172
|
+
/**
|
|
173
|
+
* ID of a site visitor that has logged in to the site.
|
|
174
|
+
* @format GUID
|
|
175
|
+
*/
|
|
147
176
|
memberId?: string;
|
|
148
|
-
/**
|
|
177
|
+
/**
|
|
178
|
+
* ID of a Wix user (site owner, contributor, etc.).
|
|
179
|
+
* @format GUID
|
|
180
|
+
*/
|
|
149
181
|
wixUserId?: string;
|
|
150
|
-
/**
|
|
182
|
+
/**
|
|
183
|
+
* ID of an app.
|
|
184
|
+
* @format GUID
|
|
185
|
+
*/
|
|
151
186
|
appId?: string;
|
|
152
187
|
}
|
|
153
188
|
export declare enum WebhookIdentityType {
|
|
@@ -169,9 +204,15 @@ export interface ListFollowedChannelsResponseNonNullableFields {
|
|
|
169
204
|
followedChannels: FollowedChannelNonNullableFields[];
|
|
170
205
|
}
|
|
171
206
|
export interface BaseEventMetadata {
|
|
172
|
-
/**
|
|
207
|
+
/**
|
|
208
|
+
* App instance ID.
|
|
209
|
+
* @format GUID
|
|
210
|
+
*/
|
|
173
211
|
instanceId?: string | null;
|
|
174
|
-
/**
|
|
212
|
+
/**
|
|
213
|
+
* Event type.
|
|
214
|
+
* @maxLength 150
|
|
215
|
+
*/
|
|
175
216
|
eventType?: string;
|
|
176
217
|
/** The identification type and identity data. */
|
|
177
218
|
identity?: IdentificationData;
|
|
@@ -220,10 +261,10 @@ export interface FollowedChannelCreatedEnvelope {
|
|
|
220
261
|
}
|
|
221
262
|
/**
|
|
222
263
|
* Triggered when an account follows a new channel.
|
|
223
|
-
* @permissionScope Manage Loyalty
|
|
224
|
-
* @permissionScopeId SCOPE.DC-LOYALTY.MANAGE-LOYALTY
|
|
225
264
|
* @permissionScope Read Loyalty
|
|
226
265
|
* @permissionScopeId SCOPE.DC-LOYALTY.READ-LOYALTY
|
|
266
|
+
* @permissionScope Manage Loyalty
|
|
267
|
+
* @permissionScopeId SCOPE.DC-LOYALTY.MANAGE-LOYALTY
|
|
227
268
|
* @permissionId LOYALTY.FOLLOWED_CHANNEL_READ
|
|
228
269
|
* @webhook
|
|
229
270
|
* @eventType wix.loyalty.socialmedia.v1.followed_channel_created
|
|
@@ -260,10 +301,10 @@ export declare function createFollowedChannel(followedChannel: FollowedChannel):
|
|
|
260
301
|
* @public
|
|
261
302
|
* @documentationMaturity preview
|
|
262
303
|
* @permissionId LOYALTY.FOLLOWED_CHANNEL_READ
|
|
263
|
-
* @permissionScope Manage Loyalty
|
|
264
|
-
* @permissionScopeId SCOPE.DC-LOYALTY.MANAGE-LOYALTY
|
|
265
304
|
* @permissionScope Read Loyalty
|
|
266
305
|
* @permissionScopeId SCOPE.DC-LOYALTY.READ-LOYALTY
|
|
306
|
+
* @permissionScope Manage Loyalty
|
|
307
|
+
* @permissionScopeId SCOPE.DC-LOYALTY.MANAGE-LOYALTY
|
|
267
308
|
* @applicableIdentity APP
|
|
268
309
|
* @applicableIdentity MEMBER
|
|
269
310
|
* @fqn wix.loyalty.socialmedia.v1.LoyaltySocialMedia.ListFollowedChannels
|
|
@@ -76,10 +76,10 @@ export async function createFollowedChannel(followedChannel) {
|
|
|
76
76
|
* @public
|
|
77
77
|
* @documentationMaturity preview
|
|
78
78
|
* @permissionId LOYALTY.FOLLOWED_CHANNEL_READ
|
|
79
|
-
* @permissionScope Manage Loyalty
|
|
80
|
-
* @permissionScopeId SCOPE.DC-LOYALTY.MANAGE-LOYALTY
|
|
81
79
|
* @permissionScope Read Loyalty
|
|
82
80
|
* @permissionScopeId SCOPE.DC-LOYALTY.READ-LOYALTY
|
|
81
|
+
* @permissionScope Manage Loyalty
|
|
82
|
+
* @permissionScopeId SCOPE.DC-LOYALTY.MANAGE-LOYALTY
|
|
83
83
|
* @applicableIdentity APP
|
|
84
84
|
* @applicableIdentity MEMBER
|
|
85
85
|
* @fqn wix.loyalty.socialmedia.v1.LoyaltySocialMedia.ListFollowedChannels
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"loyalty-socialmedia-v1-followed-channel-social-media.universal.js","sourceRoot":"","sources":["../../../src/loyalty-socialmedia-v1-followed-channel-social-media.universal.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,IAAI,iBAAiB,EAAE,MAAM,kCAAkC,CAAC;AACvF,OAAO,EACL,qCAAqC,EACrC,uCAAuC,GACxC,MAAM,yCAAyC,CAAC;AAEjD,OAAO,KAAK,gDAAgD,MAAM,gEAAgE,CAAC;
|
|
1
|
+
{"version":3,"file":"loyalty-socialmedia-v1-followed-channel-social-media.universal.js","sourceRoot":"","sources":["../../../src/loyalty-socialmedia-v1-followed-channel-social-media.universal.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,IAAI,iBAAiB,EAAE,MAAM,kCAAkC,CAAC;AACvF,OAAO,EACL,qCAAqC,EACrC,uCAAuC,GACxC,MAAM,yCAAyC,CAAC;AAEjD,OAAO,KAAK,gDAAgD,MAAM,gEAAgE,CAAC;AAwBnI,MAAM,CAAN,IAAY,IAaX;AAbD,WAAY,IAAI;IACd,yCAAyC;IACzC,2CAAmC,CAAA;IACnC,qCAAqC;IACrC,6BAAqB,CAAA;IACrB,sCAAsC;IACtC,+BAAuB,CAAA;IACvB,qCAAqC;IACrC,6BAAqB,CAAA;IACrB,8BAA8B;IAC9B,eAAO,CAAA;IACP,mCAAmC;IACnC,yBAAiB,CAAA;AACnB,CAAC,EAbW,IAAI,KAAJ,IAAI,QAaf;AAuKD,MAAM,CAAN,IAAY,mBAMX;AAND,WAAY,mBAAmB;IAC7B,0CAAmB,CAAA;IACnB,8DAAuC,CAAA;IACvC,wCAAiB,CAA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C,CAAC;IAE1D,MAAM,OAAO,GACX,gDAAgD,CAAC,oBAAoB,CACnE,OAAO,CACR,CAAC;IAEJ,WAAW,EAAE,UAAU,EAAE,EAAE,CAAC;IAC5B,IAAI,CAAC;QACH,MAAM,MAAM,GAAG,MAAM,UAAU,CAAC,OAAO,CAAC,OAAO,CAAC,CAAC;QACjD,WAAW,EAAE,SAAS,EAAE,CAAC,MAAM,CAAC,CAAC;QAEjC,OAAO,uCAAuC,CAAC,MAAM,CAAC,IAAI,CAAE,CAAC;IAC/D,CAAC;IAAC,OAAO,GAAQ,EAAE,CAAC;QAClB,MAAM,gBAAgB,GAAG,iBAAiB,CACxC,GAAG,EACH;YACE,sBAAsB,EAAE,EAAE;YAC1B,wBAAwB,EAAE,EAAE;YAC5B,uBAAuB,EAAE,KAAK;SAC/B,EACD,EAAE,CACH,CAAC;QACF,WAAW,EAAE,OAAO,EAAE,CAAC,GAAG,CAAC,CAAC;QAE5B,MAAM,gBAAgB,CAAC;IACzB,CAAC;AACH,CAAC"}
|
package/build/internal/cjs/src/loyalty-socialmedia-v1-followed-channel-social-media.types.d.ts
CHANGED
|
@@ -2,11 +2,13 @@ export interface FollowedChannel {
|
|
|
2
2
|
/**
|
|
3
3
|
* Followed social media channel ID.
|
|
4
4
|
* @readonly
|
|
5
|
+
* @format GUID
|
|
5
6
|
*/
|
|
6
7
|
id?: string;
|
|
7
8
|
/**
|
|
8
9
|
* ID of the account that has followed a social media channel.
|
|
9
10
|
* @readonly
|
|
11
|
+
* @format GUID
|
|
10
12
|
*/
|
|
11
13
|
accountId?: string;
|
|
12
14
|
/** Followed social media channel type. */
|
|
@@ -42,7 +44,10 @@ export interface CreateFollowedChannelResponse {
|
|
|
42
44
|
export interface ListFollowedChannelsRequest {
|
|
43
45
|
}
|
|
44
46
|
export interface ListFollowedChannelsResponse {
|
|
45
|
-
/**
|
|
47
|
+
/**
|
|
48
|
+
* List of followed social media channels.
|
|
49
|
+
* @maxSize 5
|
|
50
|
+
*/
|
|
46
51
|
followedChannels?: FollowedChannel[];
|
|
47
52
|
}
|
|
48
53
|
export interface DomainEvent extends DomainEventBodyOneOf {
|
|
@@ -120,9 +125,15 @@ export interface ActionEvent {
|
|
|
120
125
|
export interface Empty {
|
|
121
126
|
}
|
|
122
127
|
export interface MessageEnvelope {
|
|
123
|
-
/**
|
|
128
|
+
/**
|
|
129
|
+
* App instance ID.
|
|
130
|
+
* @format GUID
|
|
131
|
+
*/
|
|
124
132
|
instanceId?: string | null;
|
|
125
|
-
/**
|
|
133
|
+
/**
|
|
134
|
+
* Event type.
|
|
135
|
+
* @maxLength 150
|
|
136
|
+
*/
|
|
126
137
|
eventType?: string;
|
|
127
138
|
/** The identification type and identity data. */
|
|
128
139
|
identity?: IdentificationData;
|
|
@@ -130,26 +141,50 @@ export interface MessageEnvelope {
|
|
|
130
141
|
data?: string;
|
|
131
142
|
}
|
|
132
143
|
export interface IdentificationData extends IdentificationDataIdOneOf {
|
|
133
|
-
/**
|
|
144
|
+
/**
|
|
145
|
+
* ID of a site visitor that has not logged in to the site.
|
|
146
|
+
* @format GUID
|
|
147
|
+
*/
|
|
134
148
|
anonymousVisitorId?: string;
|
|
135
|
-
/**
|
|
149
|
+
/**
|
|
150
|
+
* ID of a site visitor that has logged in to the site.
|
|
151
|
+
* @format GUID
|
|
152
|
+
*/
|
|
136
153
|
memberId?: string;
|
|
137
|
-
/**
|
|
154
|
+
/**
|
|
155
|
+
* ID of a Wix user (site owner, contributor, etc.).
|
|
156
|
+
* @format GUID
|
|
157
|
+
*/
|
|
138
158
|
wixUserId?: string;
|
|
139
|
-
/**
|
|
159
|
+
/**
|
|
160
|
+
* ID of an app.
|
|
161
|
+
* @format GUID
|
|
162
|
+
*/
|
|
140
163
|
appId?: string;
|
|
141
164
|
/** @readonly */
|
|
142
165
|
identityType?: WebhookIdentityType;
|
|
143
166
|
}
|
|
144
167
|
/** @oneof */
|
|
145
168
|
export interface IdentificationDataIdOneOf {
|
|
146
|
-
/**
|
|
169
|
+
/**
|
|
170
|
+
* ID of a site visitor that has not logged in to the site.
|
|
171
|
+
* @format GUID
|
|
172
|
+
*/
|
|
147
173
|
anonymousVisitorId?: string;
|
|
148
|
-
/**
|
|
174
|
+
/**
|
|
175
|
+
* ID of a site visitor that has logged in to the site.
|
|
176
|
+
* @format GUID
|
|
177
|
+
*/
|
|
149
178
|
memberId?: string;
|
|
150
|
-
/**
|
|
179
|
+
/**
|
|
180
|
+
* ID of a Wix user (site owner, contributor, etc.).
|
|
181
|
+
* @format GUID
|
|
182
|
+
*/
|
|
151
183
|
wixUserId?: string;
|
|
152
|
-
/**
|
|
184
|
+
/**
|
|
185
|
+
* ID of an app.
|
|
186
|
+
* @format GUID
|
|
187
|
+
*/
|
|
153
188
|
appId?: string;
|
|
154
189
|
}
|
|
155
190
|
export declare enum WebhookIdentityType {
|
package/build/internal/cjs/src/loyalty-socialmedia-v1-followed-channel-social-media.types.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"loyalty-socialmedia-v1-followed-channel-social-media.types.js","sourceRoot":"","sources":["../../../../src/loyalty-socialmedia-v1-followed-channel-social-media.types.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"loyalty-socialmedia-v1-followed-channel-social-media.types.js","sourceRoot":"","sources":["../../../../src/loyalty-socialmedia-v1-followed-channel-social-media.types.ts"],"names":[],"mappings":";;;AAsBA,IAAY,IAaX;AAbD,WAAY,IAAI;IACd,yCAAyC;IACzC,2CAAmC,CAAA;IACnC,qCAAqC;IACrC,6BAAqB,CAAA;IACrB,sCAAsC;IACtC,+BAAuB,CAAA;IACvB,qCAAqC;IACrC,6BAAqB,CAAA;IACrB,8BAA8B;IAC9B,eAAO,CAAA;IACP,mCAAmC;IACnC,yBAAiB,CAAA;AACnB,CAAC,EAbW,IAAI,oBAAJ,IAAI,QAaf;AAyKD,IAAY,mBAMX;AAND,WAAY,mBAAmB;IAC7B,0CAAmB,CAAA;IACnB,8DAAuC,CAAA;IACvC,wCAAiB,CAAA;IACjB,4CAAqB,CAAA;IACrB,kCAAW,CAAA;AACb,CAAC,EANW,mBAAmB,mCAAnB,mBAAmB,QAM9B"}
|
package/build/internal/cjs/src/loyalty-socialmedia-v1-followed-channel-social-media.universal.d.ts
CHANGED
|
@@ -2,11 +2,13 @@ export interface FollowedChannel {
|
|
|
2
2
|
/**
|
|
3
3
|
* Followed social media channel ID.
|
|
4
4
|
* @readonly
|
|
5
|
+
* @format GUID
|
|
5
6
|
*/
|
|
6
7
|
_id?: string;
|
|
7
8
|
/**
|
|
8
9
|
* ID of the account that has followed a social media channel.
|
|
9
10
|
* @readonly
|
|
11
|
+
* @format GUID
|
|
10
12
|
*/
|
|
11
13
|
accountId?: string;
|
|
12
14
|
/** Followed social media channel type. */
|
|
@@ -42,7 +44,10 @@ export interface CreateFollowedChannelResponse {
|
|
|
42
44
|
export interface ListFollowedChannelsRequest {
|
|
43
45
|
}
|
|
44
46
|
export interface ListFollowedChannelsResponse {
|
|
45
|
-
/**
|
|
47
|
+
/**
|
|
48
|
+
* List of followed social media channels.
|
|
49
|
+
* @maxSize 5
|
|
50
|
+
*/
|
|
46
51
|
followedChannels?: FollowedChannel[];
|
|
47
52
|
}
|
|
48
53
|
export interface DomainEvent extends DomainEventBodyOneOf {
|
|
@@ -118,9 +123,15 @@ export interface ActionEvent {
|
|
|
118
123
|
export interface Empty {
|
|
119
124
|
}
|
|
120
125
|
export interface MessageEnvelope {
|
|
121
|
-
/**
|
|
126
|
+
/**
|
|
127
|
+
* App instance ID.
|
|
128
|
+
* @format GUID
|
|
129
|
+
*/
|
|
122
130
|
instanceId?: string | null;
|
|
123
|
-
/**
|
|
131
|
+
/**
|
|
132
|
+
* Event type.
|
|
133
|
+
* @maxLength 150
|
|
134
|
+
*/
|
|
124
135
|
eventType?: string;
|
|
125
136
|
/** The identification type and identity data. */
|
|
126
137
|
identity?: IdentificationData;
|
|
@@ -128,26 +139,50 @@ export interface MessageEnvelope {
|
|
|
128
139
|
data?: string;
|
|
129
140
|
}
|
|
130
141
|
export interface IdentificationData extends IdentificationDataIdOneOf {
|
|
131
|
-
/**
|
|
142
|
+
/**
|
|
143
|
+
* ID of a site visitor that has not logged in to the site.
|
|
144
|
+
* @format GUID
|
|
145
|
+
*/
|
|
132
146
|
anonymousVisitorId?: string;
|
|
133
|
-
/**
|
|
147
|
+
/**
|
|
148
|
+
* ID of a site visitor that has logged in to the site.
|
|
149
|
+
* @format GUID
|
|
150
|
+
*/
|
|
134
151
|
memberId?: string;
|
|
135
|
-
/**
|
|
152
|
+
/**
|
|
153
|
+
* ID of a Wix user (site owner, contributor, etc.).
|
|
154
|
+
* @format GUID
|
|
155
|
+
*/
|
|
136
156
|
wixUserId?: string;
|
|
137
|
-
/**
|
|
157
|
+
/**
|
|
158
|
+
* ID of an app.
|
|
159
|
+
* @format GUID
|
|
160
|
+
*/
|
|
138
161
|
appId?: string;
|
|
139
162
|
/** @readonly */
|
|
140
163
|
identityType?: WebhookIdentityType;
|
|
141
164
|
}
|
|
142
165
|
/** @oneof */
|
|
143
166
|
export interface IdentificationDataIdOneOf {
|
|
144
|
-
/**
|
|
167
|
+
/**
|
|
168
|
+
* ID of a site visitor that has not logged in to the site.
|
|
169
|
+
* @format GUID
|
|
170
|
+
*/
|
|
145
171
|
anonymousVisitorId?: string;
|
|
146
|
-
/**
|
|
172
|
+
/**
|
|
173
|
+
* ID of a site visitor that has logged in to the site.
|
|
174
|
+
* @format GUID
|
|
175
|
+
*/
|
|
147
176
|
memberId?: string;
|
|
148
|
-
/**
|
|
177
|
+
/**
|
|
178
|
+
* ID of a Wix user (site owner, contributor, etc.).
|
|
179
|
+
* @format GUID
|
|
180
|
+
*/
|
|
149
181
|
wixUserId?: string;
|
|
150
|
-
/**
|
|
182
|
+
/**
|
|
183
|
+
* ID of an app.
|
|
184
|
+
* @format GUID
|
|
185
|
+
*/
|
|
151
186
|
appId?: string;
|
|
152
187
|
}
|
|
153
188
|
export declare enum WebhookIdentityType {
|
|
@@ -169,9 +204,15 @@ export interface ListFollowedChannelsResponseNonNullableFields {
|
|
|
169
204
|
followedChannels: FollowedChannelNonNullableFields[];
|
|
170
205
|
}
|
|
171
206
|
export interface BaseEventMetadata {
|
|
172
|
-
/**
|
|
207
|
+
/**
|
|
208
|
+
* App instance ID.
|
|
209
|
+
* @format GUID
|
|
210
|
+
*/
|
|
173
211
|
instanceId?: string | null;
|
|
174
|
-
/**
|
|
212
|
+
/**
|
|
213
|
+
* Event type.
|
|
214
|
+
* @maxLength 150
|
|
215
|
+
*/
|
|
175
216
|
eventType?: string;
|
|
176
217
|
/** The identification type and identity data. */
|
|
177
218
|
identity?: IdentificationData;
|
|
@@ -220,10 +261,10 @@ export interface FollowedChannelCreatedEnvelope {
|
|
|
220
261
|
}
|
|
221
262
|
/**
|
|
222
263
|
* Triggered when an account follows a new channel.
|
|
223
|
-
* @permissionScope Manage Loyalty
|
|
224
|
-
* @permissionScopeId SCOPE.DC-LOYALTY.MANAGE-LOYALTY
|
|
225
264
|
* @permissionScope Read Loyalty
|
|
226
265
|
* @permissionScopeId SCOPE.DC-LOYALTY.READ-LOYALTY
|
|
266
|
+
* @permissionScope Manage Loyalty
|
|
267
|
+
* @permissionScopeId SCOPE.DC-LOYALTY.MANAGE-LOYALTY
|
|
227
268
|
* @permissionId LOYALTY.FOLLOWED_CHANNEL_READ
|
|
228
269
|
* @webhook
|
|
229
270
|
* @eventType wix.loyalty.socialmedia.v1.followed_channel_created
|
|
@@ -260,10 +301,10 @@ export declare function createFollowedChannel(followedChannel: FollowedChannel):
|
|
|
260
301
|
* @public
|
|
261
302
|
* @documentationMaturity preview
|
|
262
303
|
* @permissionId LOYALTY.FOLLOWED_CHANNEL_READ
|
|
263
|
-
* @permissionScope Manage Loyalty
|
|
264
|
-
* @permissionScopeId SCOPE.DC-LOYALTY.MANAGE-LOYALTY
|
|
265
304
|
* @permissionScope Read Loyalty
|
|
266
305
|
* @permissionScopeId SCOPE.DC-LOYALTY.READ-LOYALTY
|
|
306
|
+
* @permissionScope Manage Loyalty
|
|
307
|
+
* @permissionScopeId SCOPE.DC-LOYALTY.MANAGE-LOYALTY
|
|
267
308
|
* @applicableIdentity APP
|
|
268
309
|
* @applicableIdentity MEMBER
|
|
269
310
|
* @fqn wix.loyalty.socialmedia.v1.LoyaltySocialMedia.ListFollowedChannels
|
package/build/internal/cjs/src/loyalty-socialmedia-v1-followed-channel-social-media.universal.js
CHANGED
|
@@ -103,10 +103,10 @@ exports.createFollowedChannel = createFollowedChannel;
|
|
|
103
103
|
* @public
|
|
104
104
|
* @documentationMaturity preview
|
|
105
105
|
* @permissionId LOYALTY.FOLLOWED_CHANNEL_READ
|
|
106
|
-
* @permissionScope Manage Loyalty
|
|
107
|
-
* @permissionScopeId SCOPE.DC-LOYALTY.MANAGE-LOYALTY
|
|
108
106
|
* @permissionScope Read Loyalty
|
|
109
107
|
* @permissionScopeId SCOPE.DC-LOYALTY.READ-LOYALTY
|
|
108
|
+
* @permissionScope Manage Loyalty
|
|
109
|
+
* @permissionScopeId SCOPE.DC-LOYALTY.MANAGE-LOYALTY
|
|
110
110
|
* @applicableIdentity APP
|
|
111
111
|
* @applicableIdentity MEMBER
|
|
112
112
|
* @fqn wix.loyalty.socialmedia.v1.LoyaltySocialMedia.ListFollowedChannels
|
package/build/internal/cjs/src/loyalty-socialmedia-v1-followed-channel-social-media.universal.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"loyalty-socialmedia-v1-followed-channel-social-media.universal.js","sourceRoot":"","sources":["../../../../src/loyalty-socialmedia-v1-followed-channel-social-media.universal.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,sEAAuF;AACvF,oFAGiD;AAEjD,iJAAmI;
|
|
1
|
+
{"version":3,"file":"loyalty-socialmedia-v1-followed-channel-social-media.universal.js","sourceRoot":"","sources":["../../../../src/loyalty-socialmedia-v1-followed-channel-social-media.universal.ts"],"names":[],"mappings":";;;;;;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AG,EACH;YACE,sBAAsB,EAAE,EAAE;YAC1B,wBAAwB,EAAE,EAAE,eAAe,EAAE,MAAM,EAAE;YACrD,uBAAuB,EAAE,KAAK;SAC/B,EACD,CAAC,iBAAiB,CAAC,CACpB,CAAC;QACF,WAAW,EAAE,OAAO,EAAE,CAAC,GAAG,CAAC,CAAC;QAE5B,MAAM,gBAAgB,CAAC;IACzB,CAAC;AACH,CAAC;AAvCD,sDAuCC;AAED;;;;;;;;;;;;;;;GAeG;AACI,KAAK,UAAU,oBAAoB;IAGxC,aAAa;IACb,MAAM,EAAE,UAAU,EAAE,WAAW,EAAE,GAAG,SAAS,CAAC,CAAC,CAG9C,CAAC;IAEF,MAAM,OAAO,GAAG,IAAA,8DAAqC,EAAC,EAAE,CAAC,CAAC;IAE1D,MAAM,OAAO,GACX,gDAAgD,CAAC,oBAAoB,CACnE,OAAO,CACR,CAAC;IAEJ,WAAW,EAAE,UAAU,EAAE,EAAE,CAAC;IAC5B,IAAI,CAAC;QACH,MAAM,MAAM,GAAG,MAAM,UAAU,CAAC,OAAO,CAAC,OAAO,CAAC,CAAC;QACjD,WAAW,EAAE,SAAS,EAAE,CAAC,MAAM,CAAC,CAAC;QAEjC,OAAO,IAAA,gEAAuC,EAAC,MAAM,CAAC,IAAI,CAAE,CAAC;IAC/D,CAAC;IAAC,OAAO,GAAQ,EAAE,CAAC;QAClB,MAAM,gBAAgB,GAAG,IAAA,gCAAiB,EACxC,GAAG,EACH;YACE,sBAAsB,EAAE,EAAE;YAC1B,wBAAwB,EAAE,EAAE;YAC5B,uBAAuB,EAAE,KAAK;SAC/B,EACD,EAAE,CACH,CAAC;QACF,WAAW,EAAE,OAAO,EAAE,CAAC,GAAG,CAAC,CAAC;QAE5B,MAAM,gBAAgB,CAAC;IACzB,CAAC;AACH,CAAC;AApCD,oDAoCC"}
|
package/build/internal/es/src/loyalty-socialmedia-v1-followed-channel-social-media.types.d.ts
CHANGED
|
@@ -2,11 +2,13 @@ export interface FollowedChannel {
|
|
|
2
2
|
/**
|
|
3
3
|
* Followed social media channel ID.
|
|
4
4
|
* @readonly
|
|
5
|
+
* @format GUID
|
|
5
6
|
*/
|
|
6
7
|
id?: string;
|
|
7
8
|
/**
|
|
8
9
|
* ID of the account that has followed a social media channel.
|
|
9
10
|
* @readonly
|
|
11
|
+
* @format GUID
|
|
10
12
|
*/
|
|
11
13
|
accountId?: string;
|
|
12
14
|
/** Followed social media channel type. */
|
|
@@ -42,7 +44,10 @@ export interface CreateFollowedChannelResponse {
|
|
|
42
44
|
export interface ListFollowedChannelsRequest {
|
|
43
45
|
}
|
|
44
46
|
export interface ListFollowedChannelsResponse {
|
|
45
|
-
/**
|
|
47
|
+
/**
|
|
48
|
+
* List of followed social media channels.
|
|
49
|
+
* @maxSize 5
|
|
50
|
+
*/
|
|
46
51
|
followedChannels?: FollowedChannel[];
|
|
47
52
|
}
|
|
48
53
|
export interface DomainEvent extends DomainEventBodyOneOf {
|
|
@@ -120,9 +125,15 @@ export interface ActionEvent {
|
|
|
120
125
|
export interface Empty {
|
|
121
126
|
}
|
|
122
127
|
export interface MessageEnvelope {
|
|
123
|
-
/**
|
|
128
|
+
/**
|
|
129
|
+
* App instance ID.
|
|
130
|
+
* @format GUID
|
|
131
|
+
*/
|
|
124
132
|
instanceId?: string | null;
|
|
125
|
-
/**
|
|
133
|
+
/**
|
|
134
|
+
* Event type.
|
|
135
|
+
* @maxLength 150
|
|
136
|
+
*/
|
|
126
137
|
eventType?: string;
|
|
127
138
|
/** The identification type and identity data. */
|
|
128
139
|
identity?: IdentificationData;
|
|
@@ -130,26 +141,50 @@ export interface MessageEnvelope {
|
|
|
130
141
|
data?: string;
|
|
131
142
|
}
|
|
132
143
|
export interface IdentificationData extends IdentificationDataIdOneOf {
|
|
133
|
-
/**
|
|
144
|
+
/**
|
|
145
|
+
* ID of a site visitor that has not logged in to the site.
|
|
146
|
+
* @format GUID
|
|
147
|
+
*/
|
|
134
148
|
anonymousVisitorId?: string;
|
|
135
|
-
/**
|
|
149
|
+
/**
|
|
150
|
+
* ID of a site visitor that has logged in to the site.
|
|
151
|
+
* @format GUID
|
|
152
|
+
*/
|
|
136
153
|
memberId?: string;
|
|
137
|
-
/**
|
|
154
|
+
/**
|
|
155
|
+
* ID of a Wix user (site owner, contributor, etc.).
|
|
156
|
+
* @format GUID
|
|
157
|
+
*/
|
|
138
158
|
wixUserId?: string;
|
|
139
|
-
/**
|
|
159
|
+
/**
|
|
160
|
+
* ID of an app.
|
|
161
|
+
* @format GUID
|
|
162
|
+
*/
|
|
140
163
|
appId?: string;
|
|
141
164
|
/** @readonly */
|
|
142
165
|
identityType?: WebhookIdentityType;
|
|
143
166
|
}
|
|
144
167
|
/** @oneof */
|
|
145
168
|
export interface IdentificationDataIdOneOf {
|
|
146
|
-
/**
|
|
169
|
+
/**
|
|
170
|
+
* ID of a site visitor that has not logged in to the site.
|
|
171
|
+
* @format GUID
|
|
172
|
+
*/
|
|
147
173
|
anonymousVisitorId?: string;
|
|
148
|
-
/**
|
|
174
|
+
/**
|
|
175
|
+
* ID of a site visitor that has logged in to the site.
|
|
176
|
+
* @format GUID
|
|
177
|
+
*/
|
|
149
178
|
memberId?: string;
|
|
150
|
-
/**
|
|
179
|
+
/**
|
|
180
|
+
* ID of a Wix user (site owner, contributor, etc.).
|
|
181
|
+
* @format GUID
|
|
182
|
+
*/
|
|
151
183
|
wixUserId?: string;
|
|
152
|
-
/**
|
|
184
|
+
/**
|
|
185
|
+
* ID of an app.
|
|
186
|
+
* @format GUID
|
|
187
|
+
*/
|
|
153
188
|
appId?: string;
|
|
154
189
|
}
|
|
155
190
|
export declare enum WebhookIdentityType {
|
package/build/internal/es/src/loyalty-socialmedia-v1-followed-channel-social-media.types.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"loyalty-socialmedia-v1-followed-channel-social-media.types.js","sourceRoot":"","sources":["../../../../src/loyalty-socialmedia-v1-followed-channel-social-media.types.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"loyalty-socialmedia-v1-followed-channel-social-media.types.js","sourceRoot":"","sources":["../../../../src/loyalty-socialmedia-v1-followed-channel-social-media.types.ts"],"names":[],"mappings":"AAsBA,MAAM,CAAN,IAAY,IAaX;AAbD,WAAY,IAAI;IACd,yCAAyC;IACzC,2CAAmC,CAAA;IACnC,qCAAqC;IACrC,6BAAqB,CAAA;IACrB,sCAAsC;IACtC,+BAAuB,CAAA;IACvB,qCAAqC;IACrC,6BAAqB,CAAA;IACrB,8BAA8B;IAC9B,eAAO,CAAA;IACP,mCAAmC;IACnC,yBAAiB,CAAA;AACnB,CAAC,EAbW,IAAI,KAAJ,IAAI,QAaf;AAyKD,MAAM,CAAN,IAAY,mBAMX;AAND,WAAY,mBAAmB;IAC7B,0CAAmB,CAAA;IACnB,8DAAuC,CAAA;IACvC,wCAAiB,CAAA;IACjB,4CAAqB,CAAA;IACrB,kCAAW,CAAA;AACb,CAAC,EANW,mBAAmB,KAAnB,mBAAmB,QAM9B"}
|
package/build/internal/es/src/loyalty-socialmedia-v1-followed-channel-social-media.universal.d.ts
CHANGED
|
@@ -2,11 +2,13 @@ export interface FollowedChannel {
|
|
|
2
2
|
/**
|
|
3
3
|
* Followed social media channel ID.
|
|
4
4
|
* @readonly
|
|
5
|
+
* @format GUID
|
|
5
6
|
*/
|
|
6
7
|
_id?: string;
|
|
7
8
|
/**
|
|
8
9
|
* ID of the account that has followed a social media channel.
|
|
9
10
|
* @readonly
|
|
11
|
+
* @format GUID
|
|
10
12
|
*/
|
|
11
13
|
accountId?: string;
|
|
12
14
|
/** Followed social media channel type. */
|
|
@@ -42,7 +44,10 @@ export interface CreateFollowedChannelResponse {
|
|
|
42
44
|
export interface ListFollowedChannelsRequest {
|
|
43
45
|
}
|
|
44
46
|
export interface ListFollowedChannelsResponse {
|
|
45
|
-
/**
|
|
47
|
+
/**
|
|
48
|
+
* List of followed social media channels.
|
|
49
|
+
* @maxSize 5
|
|
50
|
+
*/
|
|
46
51
|
followedChannels?: FollowedChannel[];
|
|
47
52
|
}
|
|
48
53
|
export interface DomainEvent extends DomainEventBodyOneOf {
|
|
@@ -118,9 +123,15 @@ export interface ActionEvent {
|
|
|
118
123
|
export interface Empty {
|
|
119
124
|
}
|
|
120
125
|
export interface MessageEnvelope {
|
|
121
|
-
/**
|
|
126
|
+
/**
|
|
127
|
+
* App instance ID.
|
|
128
|
+
* @format GUID
|
|
129
|
+
*/
|
|
122
130
|
instanceId?: string | null;
|
|
123
|
-
/**
|
|
131
|
+
/**
|
|
132
|
+
* Event type.
|
|
133
|
+
* @maxLength 150
|
|
134
|
+
*/
|
|
124
135
|
eventType?: string;
|
|
125
136
|
/** The identification type and identity data. */
|
|
126
137
|
identity?: IdentificationData;
|
|
@@ -128,26 +139,50 @@ export interface MessageEnvelope {
|
|
|
128
139
|
data?: string;
|
|
129
140
|
}
|
|
130
141
|
export interface IdentificationData extends IdentificationDataIdOneOf {
|
|
131
|
-
/**
|
|
142
|
+
/**
|
|
143
|
+
* ID of a site visitor that has not logged in to the site.
|
|
144
|
+
* @format GUID
|
|
145
|
+
*/
|
|
132
146
|
anonymousVisitorId?: string;
|
|
133
|
-
/**
|
|
147
|
+
/**
|
|
148
|
+
* ID of a site visitor that has logged in to the site.
|
|
149
|
+
* @format GUID
|
|
150
|
+
*/
|
|
134
151
|
memberId?: string;
|
|
135
|
-
/**
|
|
152
|
+
/**
|
|
153
|
+
* ID of a Wix user (site owner, contributor, etc.).
|
|
154
|
+
* @format GUID
|
|
155
|
+
*/
|
|
136
156
|
wixUserId?: string;
|
|
137
|
-
/**
|
|
157
|
+
/**
|
|
158
|
+
* ID of an app.
|
|
159
|
+
* @format GUID
|
|
160
|
+
*/
|
|
138
161
|
appId?: string;
|
|
139
162
|
/** @readonly */
|
|
140
163
|
identityType?: WebhookIdentityType;
|
|
141
164
|
}
|
|
142
165
|
/** @oneof */
|
|
143
166
|
export interface IdentificationDataIdOneOf {
|
|
144
|
-
/**
|
|
167
|
+
/**
|
|
168
|
+
* ID of a site visitor that has not logged in to the site.
|
|
169
|
+
* @format GUID
|
|
170
|
+
*/
|
|
145
171
|
anonymousVisitorId?: string;
|
|
146
|
-
/**
|
|
172
|
+
/**
|
|
173
|
+
* ID of a site visitor that has logged in to the site.
|
|
174
|
+
* @format GUID
|
|
175
|
+
*/
|
|
147
176
|
memberId?: string;
|
|
148
|
-
/**
|
|
177
|
+
/**
|
|
178
|
+
* ID of a Wix user (site owner, contributor, etc.).
|
|
179
|
+
* @format GUID
|
|
180
|
+
*/
|
|
149
181
|
wixUserId?: string;
|
|
150
|
-
/**
|
|
182
|
+
/**
|
|
183
|
+
* ID of an app.
|
|
184
|
+
* @format GUID
|
|
185
|
+
*/
|
|
151
186
|
appId?: string;
|
|
152
187
|
}
|
|
153
188
|
export declare enum WebhookIdentityType {
|
|
@@ -169,9 +204,15 @@ export interface ListFollowedChannelsResponseNonNullableFields {
|
|
|
169
204
|
followedChannels: FollowedChannelNonNullableFields[];
|
|
170
205
|
}
|
|
171
206
|
export interface BaseEventMetadata {
|
|
172
|
-
/**
|
|
207
|
+
/**
|
|
208
|
+
* App instance ID.
|
|
209
|
+
* @format GUID
|
|
210
|
+
*/
|
|
173
211
|
instanceId?: string | null;
|
|
174
|
-
/**
|
|
212
|
+
/**
|
|
213
|
+
* Event type.
|
|
214
|
+
* @maxLength 150
|
|
215
|
+
*/
|
|
175
216
|
eventType?: string;
|
|
176
217
|
/** The identification type and identity data. */
|
|
177
218
|
identity?: IdentificationData;
|
|
@@ -220,10 +261,10 @@ export interface FollowedChannelCreatedEnvelope {
|
|
|
220
261
|
}
|
|
221
262
|
/**
|
|
222
263
|
* Triggered when an account follows a new channel.
|
|
223
|
-
* @permissionScope Manage Loyalty
|
|
224
|
-
* @permissionScopeId SCOPE.DC-LOYALTY.MANAGE-LOYALTY
|
|
225
264
|
* @permissionScope Read Loyalty
|
|
226
265
|
* @permissionScopeId SCOPE.DC-LOYALTY.READ-LOYALTY
|
|
266
|
+
* @permissionScope Manage Loyalty
|
|
267
|
+
* @permissionScopeId SCOPE.DC-LOYALTY.MANAGE-LOYALTY
|
|
227
268
|
* @permissionId LOYALTY.FOLLOWED_CHANNEL_READ
|
|
228
269
|
* @webhook
|
|
229
270
|
* @eventType wix.loyalty.socialmedia.v1.followed_channel_created
|
|
@@ -260,10 +301,10 @@ export declare function createFollowedChannel(followedChannel: FollowedChannel):
|
|
|
260
301
|
* @public
|
|
261
302
|
* @documentationMaturity preview
|
|
262
303
|
* @permissionId LOYALTY.FOLLOWED_CHANNEL_READ
|
|
263
|
-
* @permissionScope Manage Loyalty
|
|
264
|
-
* @permissionScopeId SCOPE.DC-LOYALTY.MANAGE-LOYALTY
|
|
265
304
|
* @permissionScope Read Loyalty
|
|
266
305
|
* @permissionScopeId SCOPE.DC-LOYALTY.READ-LOYALTY
|
|
306
|
+
* @permissionScope Manage Loyalty
|
|
307
|
+
* @permissionScopeId SCOPE.DC-LOYALTY.MANAGE-LOYALTY
|
|
267
308
|
* @applicableIdentity APP
|
|
268
309
|
* @applicableIdentity MEMBER
|
|
269
310
|
* @fqn wix.loyalty.socialmedia.v1.LoyaltySocialMedia.ListFollowedChannels
|
package/build/internal/es/src/loyalty-socialmedia-v1-followed-channel-social-media.universal.js
CHANGED
|
@@ -76,10 +76,10 @@ export async function createFollowedChannel(followedChannel) {
|
|
|
76
76
|
* @public
|
|
77
77
|
* @documentationMaturity preview
|
|
78
78
|
* @permissionId LOYALTY.FOLLOWED_CHANNEL_READ
|
|
79
|
-
* @permissionScope Manage Loyalty
|
|
80
|
-
* @permissionScopeId SCOPE.DC-LOYALTY.MANAGE-LOYALTY
|
|
81
79
|
* @permissionScope Read Loyalty
|
|
82
80
|
* @permissionScopeId SCOPE.DC-LOYALTY.READ-LOYALTY
|
|
81
|
+
* @permissionScope Manage Loyalty
|
|
82
|
+
* @permissionScopeId SCOPE.DC-LOYALTY.MANAGE-LOYALTY
|
|
83
83
|
* @applicableIdentity APP
|
|
84
84
|
* @applicableIdentity MEMBER
|
|
85
85
|
* @fqn wix.loyalty.socialmedia.v1.LoyaltySocialMedia.ListFollowedChannels
|
package/build/internal/es/src/loyalty-socialmedia-v1-followed-channel-social-media.universal.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"loyalty-socialmedia-v1-followed-channel-social-media.universal.js","sourceRoot":"","sources":["../../../../src/loyalty-socialmedia-v1-followed-channel-social-media.universal.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,IAAI,iBAAiB,EAAE,MAAM,kCAAkC,CAAC;AACvF,OAAO,EACL,qCAAqC,EACrC,uCAAuC,GACxC,MAAM,yCAAyC,CAAC;AAEjD,OAAO,KAAK,gDAAgD,MAAM,gEAAgE,CAAC;
|
|
1
|
+
{"version":3,"file":"loyalty-socialmedia-v1-followed-channel-social-media.universal.js","sourceRoot":"","sources":["../../../../src/loyalty-socialmedia-v1-followed-channel-social-media.universal.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,IAAI,iBAAiB,EAAE,MAAM,kCAAkC,CAAC;AACvF,OAAO,EACL,qCAAqC,EACrC,uCAAuC,GACxC,MAAM,yCAAyC,CAAC;AAEjD,OAAO,KAAK,gDAAgD,MAAM,gEAAgE,CAAC;AAwBnI,MAAM,CAAN,IAAY,IAaX;AAbD,WAAY,IAAI;IACd,yCAAyC;IACzC,2CAAmC,CAAA;IACnC,qCAAqC;IACrC,6BAAqB,CAAA;IACrB,sCAAsC;IACtC,+BAAuB,CAAA;IACvB,qCAAqC;IACrC,6BAAqB,CAAA;IACrB,8BAA8B;IAC9B,eAAO,CAAA;IACP,mCAAmC;IACnC,yBAAiB,CAAA;AACnB,CAAC,EAbW,IAAI,KAAJ,IAAI,QAaf;AAuKD,MAAM,CAAN,IAAY,mBAMX;AAND,WAAY,mBAAmB;IAC7B,0CAAmB,CAAA;IACnB,8DAAuC,CAAA;IACvC,wCAAiB,CAAA;IACjB,4CAAqB,CAAA;IACrB,kCAAW,CAA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,CAAC,oBAAoB,CACnE,OAAO,CACR,CAAC;IAEJ,WAAW,EAAE,UAAU,EAAE,EAAE,CAAC;IAC5B,IAAI,CAAC;QACH,MAAM,MAAM,GAAG,MAAM,UAAU,CAAC,OAAO,CAAC,OAAO,CAAC,CAAC;QACjD,WAAW,EAAE,SAAS,EAAE,CAAC,MAAM,CAAC,CAAC;QAEjC,OAAO,uCAAuC,CAAC,MAAM,CAAC,IAAI,CAAE,CAAC;IAC/D,CAAC;IAAC,OAAO,GAAQ,EAAE,CAAC;QAClB,MAAM,gBAAgB,GAAG,iBAAiB,CACxC,GAAG,EACH;YACE,sBAAsB,EAAE,EAAE;YAC1B,wBAAwB,EAAE,EAAE;YAC5B,uBAAuB,EAAE,KAAK;SAC/B,EACD,EAAE,CACH,CAAC;QACF,WAAW,EAAE,OAAO,EAAE,CAAC,GAAG,CAAC,CAAC;QAE5B,MAAM,gBAAgB,CAAC;IACzB,CAAC;AACH,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wix/auto_sdk_loyalty_social-media",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.2",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"registry": "https://registry.npmjs.org/",
|
|
6
6
|
"access": "public"
|
|
@@ -48,5 +48,5 @@
|
|
|
48
48
|
"fqdn": "wix.loyalty.socialmedia.v1.followed_channel"
|
|
49
49
|
}
|
|
50
50
|
},
|
|
51
|
-
"falconPackageHash": "
|
|
51
|
+
"falconPackageHash": "a68de054b094b4d23b58f417ac5fa1aa4a48ee97a835eb6a6534499f"
|
|
52
52
|
}
|