@@ -280,8 +280,6 @@ typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4)));
280280#if __has_warning("-Watimport-in-framework-header")
281281#pragma clang diagnostic ignored "-Watimport-in-framework-header"
282282#endif
283- @import Foundation;
284- @import ObjectiveC;
285283#endif
286284
287285#endif
@@ -303,110 +301,6 @@ typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4)));
303301#endif
304302
305303#if defined(__OBJC__)
306-
307- SWIFT_CLASS_NAMED("DefaultGuideKitBuilder")
308- @interface ZDKDefaultGuideKitBuilder : NSObject
309- - (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER;
310- @end
311-
312-
313-
314- @class NSString;
315- @class ZDKGuideArticleAttachment;
316-
317- SWIFT_CLASS_NAMED("GuideArticle")
318- @interface ZDKGuideArticle : NSObject
319- /// Unique identifier of the article.
320- @property (nonatomic, readonly) uint64_t id;
321- /// The locale of the article
322- @property (nonatomic, readonly, copy) NSString * _Nullable locale;
323- /// URL of the article in HTML format.
324- @property (nonatomic, readonly, copy) NSString * _Nonnull url;
325- /// Title of the article.
326- @property (nonatomic, readonly, copy) NSString * _Nullable title;
327- /// HTML content of the article.
328- @property (nonatomic, readonly, copy) NSString * _Nonnull body;
329- /// List of attachments associated with the article.
330- @property (nonatomic, readonly, copy) NSArray<ZDKGuideArticleAttachment *> * _Nonnull attachments;
331- - (nonnull instancetype)initWithId:(uint64_t)id locale:(NSString * _Nullable)locale url:(NSString * _Nonnull)url title:(NSString * _Nullable)title body:(NSString * _Nonnull)body attachments:(NSArray<ZDKGuideArticleAttachment *> * _Nonnull)attachments OBJC_DESIGNATED_INITIALIZER;
332- /// Returns a Boolean value that indicates whether the receiver and a given object are equal.
333- /// \param object the object to compare against
334- ///
335- - (BOOL)isEqual:(id _Nullable)object SWIFT_WARN_UNUSED_RESULT;
336- - (nonnull instancetype)init SWIFT_UNAVAILABLE;
337- + (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
338- @end
339-
340-
341- SWIFT_CLASS_NAMED("GuideArticleAttachment")
342- @interface ZDKGuideArticleAttachment : NSObject
343- /// Unique identifier of the attachment.
344- @property (nonatomic, readonly) uint64_t id;
345- /// Name of the attachment file.
346- @property (nonatomic, readonly, copy) NSString * _Nonnull title;
347- @property (nonatomic, readonly, copy) NSString * _Nonnull type;
348- /// URL of the attachment content.
349- @property (nonatomic, readonly, copy) NSString * _Nonnull url;
350- /// Returns a Boolean value that indicates whether the receiver and a given object are equal.
351- /// \param object the object to compare against
352- ///
353- - (BOOL)isEqual:(id _Nullable)object SWIFT_WARN_UNUSED_RESULT;
354- - (nonnull instancetype)init SWIFT_UNAVAILABLE;
355- + (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
356- @end
357-
358- @class ZDKGuideLocale;
359-
360- SWIFT_CLASS_NAMED("GuideArticleUrl")
361- @interface ZDKGuideArticleUrl : NSObject
362- /// The full URL of the guide article.
363- @property (nonatomic, readonly, copy) NSString * _Nonnull url;
364- /// The identifier of the guide article.
365- @property (nonatomic, readonly, copy) NSString * _Nonnull articleId;
366- /// The locale of the guide page.
367- @property (nonatomic, readonly, strong) ZDKGuideLocale * _Nonnull locale;
368- - (BOOL)isEqual:(id _Nullable)object SWIFT_WARN_UNUSED_RESULT;
369- - (nonnull instancetype)init SWIFT_UNAVAILABLE;
370- + (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
371- @end
372-
373- typedef SWIFT_ENUM_NAMED(NSInteger, ZDKGuideArticleVote, "GuideArticleVote", open) {
374- ZDKGuideArticleVoteUpVoted = 0,
375- ZDKGuideArticleVoteDownVoted = 1,
376- ZDKGuideArticleVoteNotVoted = 2,
377- };
378-
379-
380- SWIFT_CLASS_NAMED("GuideKitSettings")
381- @interface ZDKGuideKitSettings : NSObject
382- @property (nonatomic, readonly, copy) NSString * _Nonnull baseURL;
383- @property (nonatomic, readonly, copy) NSString * _Nonnull channelId;
384- - (nonnull instancetype)initWithBaseURL:(NSString * _Nonnull)baseURL channelId:(NSString * _Nonnull)channelId OBJC_DESIGNATED_INITIALIZER;
385- - (nonnull instancetype)init SWIFT_UNAVAILABLE;
386- + (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
387- @end
388-
389-
390- SWIFT_PROTOCOL("_TtP18ZendeskSDKGuideKit14GuideKitShared_")
391- @protocol GuideKitShared
392- /// Checks if the provided URL string is a valid guide URL.
393- /// \param url The URL string to validate.
394- ///
395- ///
396- /// returns:
397- /// <code>true</code> if the URL string is a valid guide URL, <code>false</code> otherwise.
398- - (BOOL)isValidGuideUrlWithUrl:(NSString * _Nonnull)url SWIFT_WARN_UNUSED_RESULT;
399- @end
400-
401-
402- SWIFT_CLASS_NAMED("GuideLocale")
403- @interface ZDKGuideLocale : NSObject
404- - (nonnull instancetype)initWithLocale:(NSString * _Nonnull)locale OBJC_DESIGNATED_INITIALIZER;
405- - (BOOL)isEqual:(id _Nullable)object SWIFT_WARN_UNUSED_RESULT;
406- - (nonnull instancetype)init SWIFT_UNAVAILABLE;
407- + (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
408- @end
409-
410304#endif
411305#if __has_attribute(external_source_symbol)
412306# pragma clang attribute pop
0 commit comments