whop_sdk 0.0.4 → 0.0.5

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.
Files changed (185) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +25 -0
  3. data/README.md +1 -1
  4. data/lib/whop_sdk/client.rb +4 -0
  5. data/lib/whop_sdk/internal/transport/base_client.rb +7 -1
  6. data/lib/whop_sdk/internal/transport/pooled_net_requester.rb +6 -2
  7. data/lib/whop_sdk/models/access_level.rb +1 -1
  8. data/lib/whop_sdk/models/access_pass_type.rb +2 -1
  9. data/lib/whop_sdk/models/access_token_create_params.rb +67 -0
  10. data/lib/whop_sdk/models/access_token_create_response.rb +27 -0
  11. data/lib/whop_sdk/models/checkout_configuration_create_params.rb +4 -4
  12. data/lib/whop_sdk/models/course.rb +18 -1
  13. data/lib/whop_sdk/models/course_create_params.rb +20 -1
  14. data/lib/whop_sdk/models/course_lesson_create_params.rb +77 -1
  15. data/lib/whop_sdk/models/course_lesson_list_response.rb +43 -1
  16. data/lib/whop_sdk/models/course_lesson_update_params.rb +77 -1
  17. data/lib/whop_sdk/models/course_list_response.rb +18 -1
  18. data/lib/whop_sdk/models/course_update_params.rb +19 -1
  19. data/lib/whop_sdk/models/course_visibilities.rb +17 -0
  20. data/lib/whop_sdk/models/embed_type.rb +16 -0
  21. data/lib/whop_sdk/models/entry.rb +3 -3
  22. data/lib/whop_sdk/models/entry_list_response.rb +3 -3
  23. data/lib/whop_sdk/models/experience.rb +5 -6
  24. data/lib/whop_sdk/models/forum_post.rb +2 -2
  25. data/lib/whop_sdk/models/forum_post_list_response.rb +2 -2
  26. data/lib/whop_sdk/models/global_affiliate_status.rb +1 -1
  27. data/lib/whop_sdk/models/invoice_create_params.rb +2 -2
  28. data/lib/whop_sdk/models/invoice_list_params.rb +27 -40
  29. data/lib/whop_sdk/models/lesson.rb +43 -1
  30. data/lib/whop_sdk/models/member_list_params.rb +11 -11
  31. data/lib/whop_sdk/models/member_list_response.rb +3 -3
  32. data/lib/whop_sdk/models/member_retrieve_response.rb +3 -3
  33. data/lib/whop_sdk/models/membership_list_params.rb +9 -9
  34. data/lib/whop_sdk/models/message.rb +2 -2
  35. data/lib/whop_sdk/models/message_list_response.rb +2 -2
  36. data/lib/whop_sdk/models/payment.rb +3 -3
  37. data/lib/whop_sdk/models/payment_list_response.rb +3 -3
  38. data/lib/whop_sdk/models/plan.rb +6 -4
  39. data/lib/whop_sdk/models/plan_create_params.rb +2 -2
  40. data/lib/whop_sdk/models/plan_list_response.rb +6 -4
  41. data/lib/whop_sdk/models/plan_type.rb +1 -1
  42. data/lib/whop_sdk/models/product.rb +1 -1
  43. data/lib/whop_sdk/models/product_create_params.rb +6 -6
  44. data/lib/whop_sdk/models/product_list_item.rb +1 -1
  45. data/lib/whop_sdk/models/product_update_params.rb +4 -4
  46. data/lib/whop_sdk/models/promo_code.rb +3 -3
  47. data/lib/whop_sdk/models/promo_code_list_response.rb +3 -3
  48. data/lib/whop_sdk/models.rb +6 -0
  49. data/lib/whop_sdk/resources/access_tokens.rb +46 -0
  50. data/lib/whop_sdk/resources/app_builds.rb +4 -2
  51. data/lib/whop_sdk/resources/apps.rb +3 -2
  52. data/lib/whop_sdk/resources/authorized_users.rb +2 -1
  53. data/lib/whop_sdk/resources/chat_channels.rb +9 -2
  54. data/lib/whop_sdk/resources/checkout_configurations.rb +2 -1
  55. data/lib/whop_sdk/resources/companies.rb +2 -1
  56. data/lib/whop_sdk/resources/course_chapters.rb +5 -3
  57. data/lib/whop_sdk/resources/course_lesson_interactions.rb +2 -1
  58. data/lib/whop_sdk/resources/course_lessons.rb +19 -5
  59. data/lib/whop_sdk/resources/course_students.rb +2 -1
  60. data/lib/whop_sdk/resources/courses.rb +15 -5
  61. data/lib/whop_sdk/resources/entries.rb +6 -3
  62. data/lib/whop_sdk/resources/experiences.rb +8 -6
  63. data/lib/whop_sdk/resources/forum_posts.rb +3 -2
  64. data/lib/whop_sdk/resources/forums.rb +3 -2
  65. data/lib/whop_sdk/resources/invoices.rb +11 -5
  66. data/lib/whop_sdk/resources/ledger_accounts.rb +6 -2
  67. data/lib/whop_sdk/resources/members.rb +6 -5
  68. data/lib/whop_sdk/resources/memberships.rb +10 -8
  69. data/lib/whop_sdk/resources/messages.rb +3 -2
  70. data/lib/whop_sdk/resources/payments.rb +7 -4
  71. data/lib/whop_sdk/resources/plans.rb +6 -4
  72. data/lib/whop_sdk/resources/products.rb +9 -7
  73. data/lib/whop_sdk/resources/promo_codes.rb +4 -2
  74. data/lib/whop_sdk/resources/reactions.rb +2 -1
  75. data/lib/whop_sdk/resources/reviews.rb +2 -1
  76. data/lib/whop_sdk/resources/shipments.rb +2 -1
  77. data/lib/whop_sdk/resources/support_channels.rb +2 -1
  78. data/lib/whop_sdk/resources/transfers.rb +2 -1
  79. data/lib/whop_sdk/resources/users.rb +9 -3
  80. data/lib/whop_sdk/version.rb +1 -1
  81. data/lib/whop_sdk.rb +6 -0
  82. data/manifest.yaml +1 -0
  83. data/rbi/whop_sdk/client.rbi +3 -0
  84. data/rbi/whop_sdk/internal/transport/base_client.rbi +5 -0
  85. data/rbi/whop_sdk/internal/transport/pooled_net_requester.rbi +6 -2
  86. data/rbi/whop_sdk/internal/type/base_model.rbi +8 -4
  87. data/rbi/whop_sdk/models/access_level.rbi +1 -1
  88. data/rbi/whop_sdk/models/access_pass_type.rbi +2 -1
  89. data/rbi/whop_sdk/models/access_token_create_params.rbi +126 -0
  90. data/rbi/whop_sdk/models/access_token_create_response.rbi +37 -0
  91. data/rbi/whop_sdk/models/checkout_configuration_create_params.rbi +4 -4
  92. data/rbi/whop_sdk/models/course.rbi +21 -3
  93. data/rbi/whop_sdk/models/course_create_params.rbi +22 -0
  94. data/rbi/whop_sdk/models/course_lesson_create_params.rbi +126 -0
  95. data/rbi/whop_sdk/models/course_lesson_list_response.rbi +68 -0
  96. data/rbi/whop_sdk/models/course_lesson_update_params.rbi +126 -0
  97. data/rbi/whop_sdk/models/course_list_response.rbi +21 -3
  98. data/rbi/whop_sdk/models/course_update_params.rbi +20 -0
  99. data/rbi/whop_sdk/models/course_visibilities.rbi +23 -0
  100. data/rbi/whop_sdk/models/embed_type.rbi +20 -0
  101. data/rbi/whop_sdk/models/entry.rbi +3 -3
  102. data/rbi/whop_sdk/models/entry_list_response.rbi +3 -3
  103. data/rbi/whop_sdk/models/experience.rbi +7 -9
  104. data/rbi/whop_sdk/models/forum_post.rbi +2 -2
  105. data/rbi/whop_sdk/models/forum_post_list_response.rbi +2 -2
  106. data/rbi/whop_sdk/models/global_affiliate_status.rbi +1 -1
  107. data/rbi/whop_sdk/models/invoice_create_params.rbi +2 -2
  108. data/rbi/whop_sdk/models/invoice_list_params.rbi +26 -71
  109. data/rbi/whop_sdk/models/lesson.rbi +54 -0
  110. data/rbi/whop_sdk/models/member_list_params.rbi +10 -10
  111. data/rbi/whop_sdk/models/member_list_response.rbi +6 -6
  112. data/rbi/whop_sdk/models/member_retrieve_response.rbi +6 -6
  113. data/rbi/whop_sdk/models/membership_list_params.rbi +8 -8
  114. data/rbi/whop_sdk/models/message.rbi +2 -2
  115. data/rbi/whop_sdk/models/message_list_response.rbi +2 -2
  116. data/rbi/whop_sdk/models/payment.rbi +3 -3
  117. data/rbi/whop_sdk/models/payment_list_response.rbi +3 -3
  118. data/rbi/whop_sdk/models/plan.rbi +6 -4
  119. data/rbi/whop_sdk/models/plan_create_params.rbi +2 -2
  120. data/rbi/whop_sdk/models/plan_list_response.rbi +6 -4
  121. data/rbi/whop_sdk/models/plan_type.rbi +1 -1
  122. data/rbi/whop_sdk/models/product.rbi +1 -1
  123. data/rbi/whop_sdk/models/product_create_params.rbi +6 -6
  124. data/rbi/whop_sdk/models/product_list_item.rbi +1 -1
  125. data/rbi/whop_sdk/models/product_update_params.rbi +4 -4
  126. data/rbi/whop_sdk/models/promo_code.rbi +3 -3
  127. data/rbi/whop_sdk/models/promo_code_list_response.rbi +3 -3
  128. data/rbi/whop_sdk/models.rbi +6 -0
  129. data/rbi/whop_sdk/resources/access_tokens.rbi +41 -0
  130. data/rbi/whop_sdk/resources/app_builds.rbi +10 -2
  131. data/rbi/whop_sdk/resources/apps.rbi +6 -1
  132. data/rbi/whop_sdk/resources/authorized_users.rbi +5 -1
  133. data/rbi/whop_sdk/resources/chat_channels.rbi +8 -1
  134. data/rbi/whop_sdk/resources/checkout_configurations.rbi +5 -1
  135. data/rbi/whop_sdk/resources/companies.rbi +5 -1
  136. data/rbi/whop_sdk/resources/course_chapters.rbi +11 -2
  137. data/rbi/whop_sdk/resources/course_lesson_interactions.rbi +5 -1
  138. data/rbi/whop_sdk/resources/course_lessons.rbi +41 -2
  139. data/rbi/whop_sdk/resources/course_students.rbi +5 -1
  140. data/rbi/whop_sdk/resources/courses.rbi +28 -2
  141. data/rbi/whop_sdk/resources/entries.rbi +15 -3
  142. data/rbi/whop_sdk/resources/experiences.rbi +14 -2
  143. data/rbi/whop_sdk/resources/forum_posts.rbi +6 -1
  144. data/rbi/whop_sdk/resources/forums.rbi +6 -1
  145. data/rbi/whop_sdk/resources/invoices.rbi +20 -5
  146. data/rbi/whop_sdk/resources/ledger_accounts.rbi +7 -2
  147. data/rbi/whop_sdk/resources/members.rbi +9 -5
  148. data/rbi/whop_sdk/resources/memberships.rbi +16 -5
  149. data/rbi/whop_sdk/resources/messages.rbi +6 -1
  150. data/rbi/whop_sdk/resources/payments.rbi +16 -3
  151. data/rbi/whop_sdk/resources/plans.rbi +12 -3
  152. data/rbi/whop_sdk/resources/products.rbi +15 -6
  153. data/rbi/whop_sdk/resources/promo_codes.rbi +10 -2
  154. data/rbi/whop_sdk/resources/reactions.rbi +5 -1
  155. data/rbi/whop_sdk/resources/reviews.rbi +5 -1
  156. data/rbi/whop_sdk/resources/shipments.rbi +5 -1
  157. data/rbi/whop_sdk/resources/support_channels.rbi +5 -1
  158. data/rbi/whop_sdk/resources/transfers.rbi +5 -1
  159. data/rbi/whop_sdk/resources/users.rbi +13 -2
  160. data/sig/whop_sdk/client.rbs +2 -0
  161. data/sig/whop_sdk/internal/transport/base_client.rbs +2 -0
  162. data/sig/whop_sdk/internal/transport/pooled_net_requester.rbs +4 -1
  163. data/sig/whop_sdk/models/access_token_create_params.rbs +56 -0
  164. data/sig/whop_sdk/models/access_token_create_response.rbs +15 -0
  165. data/sig/whop_sdk/models/course.rbs +13 -3
  166. data/sig/whop_sdk/models/course_create_params.rbs +11 -1
  167. data/sig/whop_sdk/models/course_lesson_create_params.rbs +46 -0
  168. data/sig/whop_sdk/models/course_lesson_list_response.rbs +25 -0
  169. data/sig/whop_sdk/models/course_lesson_update_params.rbs +46 -0
  170. data/sig/whop_sdk/models/course_list_response.rbs +13 -3
  171. data/sig/whop_sdk/models/course_update_params.rbs +11 -1
  172. data/sig/whop_sdk/models/course_visibilities.rbs +14 -0
  173. data/sig/whop_sdk/models/embed_type.rbs +14 -0
  174. data/sig/whop_sdk/models/invoice_list_params.rbs +16 -33
  175. data/sig/whop_sdk/models/lesson.rbs +25 -0
  176. data/sig/whop_sdk/models/member_list_params.rbs +5 -5
  177. data/sig/whop_sdk/models/membership_list_params.rbs +5 -5
  178. data/sig/whop_sdk/models.rbs +6 -0
  179. data/sig/whop_sdk/resources/access_tokens.rbs +15 -0
  180. data/sig/whop_sdk/resources/course_lessons.rbs +6 -0
  181. data/sig/whop_sdk/resources/courses.rbs +4 -0
  182. data/sig/whop_sdk/resources/invoices.rbs +3 -1
  183. data/sig/whop_sdk/resources/members.rbs +1 -1
  184. data/sig/whop_sdk/resources/memberships.rbs +1 -1
  185. metadata +17 -2
@@ -9,7 +9,7 @@ module WhopSDK
9
9
  #
10
10
  # - `courses:update`
11
11
  #
12
- # @overload create(chapter_id:, lesson_type:, content: nil, days_from_course_start_until_unlock: nil, title: nil, request_options: {})
12
+ # @overload create(chapter_id:, lesson_type:, content: nil, days_from_course_start_until_unlock: nil, embed_id: nil, embed_type: nil, thumbnail: nil, title: nil, request_options: {})
13
13
  #
14
14
  # @param chapter_id [String] The ID of the chapter to create the lesson in
15
15
  #
@@ -19,6 +19,12 @@ module WhopSDK
19
19
  #
20
20
  # @param days_from_course_start_until_unlock [Integer, nil] Days from course start until unlock
21
21
  #
22
+ # @param embed_id [String, nil] ID for the embed (YouTube video ID or Loom share ID)
23
+ #
24
+ # @param embed_type [Symbol, WhopSDK::Models::EmbedType, nil] The type of embed for a lesson
25
+ #
26
+ # @param thumbnail [WhopSDK::Models::CourseLessonCreateParams::Thumbnail::AttachmentInputWithDirectUploadID, WhopSDK::Models::CourseLessonCreateParams::Thumbnail::AttachmentInputWithID, nil] The thumbnail for the lesson in png, jpeg, or gif format
27
+ #
22
28
  # @param title [String, nil] The title of the lesson
23
29
  #
24
30
  # @param request_options [WhopSDK::RequestOptions, Hash{Symbol=>Object}, nil]
@@ -45,7 +51,8 @@ module WhopSDK
45
51
  #
46
52
  # @overload retrieve(id, request_options: {})
47
53
  #
48
- # @param id [String]
54
+ # @param id [String] The ID of the lesson
55
+ #
49
56
  # @param request_options [WhopSDK::RequestOptions, Hash{Symbol=>Object}, nil]
50
57
  #
51
58
  # @return [WhopSDK::Models::Lesson]
@@ -69,9 +76,9 @@ module WhopSDK
69
76
  #
70
77
  # - `courses:update`
71
78
  #
72
- # @overload update(id, assessment_completion_requirement: nil, assessment_questions: nil, attachments: nil, content: nil, days_from_course_start_until_unlock: nil, lesson_type: nil, main_pdf: nil, max_attempts: nil, mux_asset_id: nil, title: nil, visibility: nil, request_options: {})
79
+ # @overload update(id, assessment_completion_requirement: nil, assessment_questions: nil, attachments: nil, content: nil, days_from_course_start_until_unlock: nil, embed_id: nil, embed_type: nil, lesson_type: nil, main_pdf: nil, max_attempts: nil, mux_asset_id: nil, thumbnail: nil, title: nil, visibility: nil, request_options: {})
73
80
  #
74
- # @param id [String]
81
+ # @param id [String] The ID of the lesson to update
75
82
  #
76
83
  # @param assessment_completion_requirement [WhopSDK::Models::CourseLessonUpdateParams::AssessmentCompletionRequirement, nil] Completion requirements for quiz/knowledge check lessons
77
84
  #
@@ -83,6 +90,10 @@ module WhopSDK
83
90
  #
84
91
  # @param days_from_course_start_until_unlock [Integer, nil] Days from course start until unlock
85
92
  #
93
+ # @param embed_id [String, nil] ID for the embed (YouTube video ID or Loom share ID)
94
+ #
95
+ # @param embed_type [Symbol, WhopSDK::Models::EmbedType, nil] The type of embed for a lesson
96
+ #
86
97
  # @param lesson_type [Symbol, WhopSDK::Models::LessonTypes, nil] The available types for a lesson
87
98
  #
88
99
  # @param main_pdf [WhopSDK::Models::CourseLessonUpdateParams::MainPdf::AttachmentInputWithDirectUploadID, WhopSDK::Models::CourseLessonUpdateParams::MainPdf::AttachmentInputWithID, nil] The main PDF file for this lesson
@@ -91,6 +102,8 @@ module WhopSDK
91
102
  #
92
103
  # @param mux_asset_id [String, nil] The ID of the Mux asset to attach to this lesson for video lessons
93
104
  #
105
+ # @param thumbnail [WhopSDK::Models::CourseLessonUpdateParams::Thumbnail::AttachmentInputWithDirectUploadID, WhopSDK::Models::CourseLessonUpdateParams::Thumbnail::AttachmentInputWithID, nil] The thumbnail for the lesson in png, jpeg, or gif format
106
+ #
94
107
  # @param title [String, nil] The title of the lesson
95
108
  #
96
109
  # @param visibility [Symbol, WhopSDK::Models::LessonVisibilities, nil] The available visibilities for a lesson. Determines how / whether a lesson is vi
@@ -156,7 +169,8 @@ module WhopSDK
156
169
  #
157
170
  # @overload delete(id, request_options: {})
158
171
  #
159
- # @param id [String]
172
+ # @param id [String] The ID of the lesson to delete
173
+ #
160
174
  # @param request_options [WhopSDK::RequestOptions, Hash{Symbol=>Object}, nil]
161
175
  #
162
176
  # @return [Boolean]
@@ -12,7 +12,8 @@ module WhopSDK
12
12
  #
13
13
  # @overload retrieve(id, request_options: {})
14
14
  #
15
- # @param id [String]
15
+ # @param id [String] The ID of the course student interaction
16
+ #
16
17
  # @param request_options [WhopSDK::RequestOptions, Hash{Symbol=>Object}, nil]
17
18
  #
18
19
  # @return [WhopSDK::Models::CourseStudentRetrieveResponse]
@@ -12,7 +12,7 @@ module WhopSDK
12
12
  #
13
13
  # - `courses:update`
14
14
  #
15
- # @overload create(experience_id:, title:, certificate_after_completion_enabled: nil, cover_image: nil, require_completing_lessons_in_order: nil, tagline: nil, thumbnail: nil, request_options: {})
15
+ # @overload create(experience_id:, title:, certificate_after_completion_enabled: nil, cover_image: nil, order: nil, require_completing_lessons_in_order: nil, tagline: nil, thumbnail: nil, visibility: nil, request_options: {})
16
16
  #
17
17
  # @param experience_id [String] The ID of the experience to create the course in
18
18
  #
@@ -22,12 +22,16 @@ module WhopSDK
22
22
  #
23
23
  # @param cover_image [String, nil] The cover image URL of the course
24
24
  #
25
+ # @param order [String, nil] The decimal order position of the course within its experience. If not provided,
26
+ #
25
27
  # @param require_completing_lessons_in_order [Boolean, nil] Whether the course requires students to complete the previous lesson before movi
26
28
  #
27
29
  # @param tagline [String, nil] The tagline of the course
28
30
  #
29
31
  # @param thumbnail [WhopSDK::Models::CourseCreateParams::Thumbnail::AttachmentInputWithDirectUploadID, WhopSDK::Models::CourseCreateParams::Thumbnail::AttachmentInputWithID, nil] The thumbnail for the course in png, jpeg, or gif format
30
32
  #
33
+ # @param visibility [Symbol, WhopSDK::Models::CourseVisibilities, nil] The available visibilities for a course. Determines how / whether a course is vi
34
+ #
31
35
  # @param request_options [WhopSDK::RequestOptions, Hash{Symbol=>Object}, nil]
32
36
  #
33
37
  # @return [WhopSDK::Models::Course]
@@ -52,7 +56,8 @@ module WhopSDK
52
56
  #
53
57
  # @overload retrieve(id, request_options: {})
54
58
  #
55
- # @param id [String]
59
+ # @param id [String] The ID of the course
60
+ #
56
61
  # @param request_options [WhopSDK::RequestOptions, Hash{Symbol=>Object}, nil]
57
62
  #
58
63
  # @return [WhopSDK::Models::Course]
@@ -76,9 +81,9 @@ module WhopSDK
76
81
  #
77
82
  # - `courses:update`
78
83
  #
79
- # @overload update(id, certificate_after_completion_enabled: nil, chapters: nil, cover_image: nil, description: nil, language: nil, require_completing_lessons_in_order: nil, tagline: nil, thumbnail: nil, title: nil, request_options: {})
84
+ # @overload update(id, certificate_after_completion_enabled: nil, chapters: nil, cover_image: nil, description: nil, language: nil, order: nil, require_completing_lessons_in_order: nil, tagline: nil, thumbnail: nil, title: nil, visibility: nil, request_options: {})
80
85
  #
81
- # @param id [String]
86
+ # @param id [String] The ID of the course to update
82
87
  #
83
88
  # @param certificate_after_completion_enabled [Boolean, nil] Whether the course will award its students a PDF certificate after completing al
84
89
  #
@@ -90,6 +95,8 @@ module WhopSDK
90
95
  #
91
96
  # @param language [Symbol, WhopSDK::Models::Languages, nil] The available languages for a course
92
97
  #
98
+ # @param order [String, nil] The decimal order position of the course within its experience. Use fractional v
99
+ #
93
100
  # @param require_completing_lessons_in_order [Boolean, nil] Whether the course requires students to complete the previous lesson before movi
94
101
  #
95
102
  # @param tagline [String, nil] A short tagline for the course
@@ -98,6 +105,8 @@ module WhopSDK
98
105
  #
99
106
  # @param title [String, nil] The title of the course
100
107
  #
108
+ # @param visibility [Symbol, WhopSDK::Models::CourseVisibilities, nil] The available visibilities for a course. Determines how / whether a course is vi
109
+ #
101
110
  # @param request_options [WhopSDK::RequestOptions, Hash{Symbol=>Object}, nil]
102
111
  #
103
112
  # @return [WhopSDK::Models::Course]
@@ -159,7 +168,8 @@ module WhopSDK
159
168
  #
160
169
  # @overload delete(id, request_options: {})
161
170
  #
162
- # @param id [String]
171
+ # @param id [String] The ID of the course to delete
172
+ #
163
173
  # @param request_options [WhopSDK::RequestOptions, Hash{Symbol=>Object}, nil]
164
174
  #
165
175
  # @return [Boolean]
@@ -12,7 +12,8 @@ module WhopSDK
12
12
  #
13
13
  # @overload retrieve(id, request_options: {})
14
14
  #
15
- # @param id [String]
15
+ # @param id [String] The ID of the entry
16
+ #
16
17
  # @param request_options [WhopSDK::RequestOptions, Hash{Symbol=>Object}, nil]
17
18
  #
18
19
  # @return [WhopSDK::Models::Entry]
@@ -81,7 +82,8 @@ module WhopSDK
81
82
  #
82
83
  # @overload approve(id, request_options: {})
83
84
  #
84
- # @param id [String]
85
+ # @param id [String] The ID of the entry to approve.
86
+ #
85
87
  # @param request_options [WhopSDK::RequestOptions, Hash{Symbol=>Object}, nil]
86
88
  #
87
89
  # @return [WhopSDK::Models::EntryApproveResponse]
@@ -106,7 +108,8 @@ module WhopSDK
106
108
  #
107
109
  # @overload deny(id, request_options: {})
108
110
  #
109
- # @param id [String]
111
+ # @param id [String] The ID of the entry
112
+ #
110
113
  # @param request_options [WhopSDK::RequestOptions, Hash{Symbol=>Object}, nil]
111
114
  #
112
115
  # @return [WhopSDK::Models::Entry]
@@ -37,7 +37,8 @@ module WhopSDK
37
37
  #
38
38
  # @overload retrieve(id, request_options: {})
39
39
  #
40
- # @param id [String]
40
+ # @param id [String] The ID of the experience
41
+ #
41
42
  # @param request_options [WhopSDK::RequestOptions, Hash{Symbol=>Object}, nil]
42
43
  #
43
44
  # @return [WhopSDK::Models::Experience]
@@ -58,7 +59,7 @@ module WhopSDK
58
59
  #
59
60
  # @overload update(id, access_level: nil, logo: nil, name: nil, order: nil, section_id: nil, request_options: {})
60
61
  #
61
- # @param id [String]
62
+ # @param id [String] The id of the experience to update.
62
63
  #
63
64
  # @param access_level [Symbol, WhopSDK::Models::ExperienceUpdateParams::AccessLevel, nil] The different access levels for experiences (PUBLIC IS NEVER USED ANYMORE).
64
65
  #
@@ -131,7 +132,8 @@ module WhopSDK
131
132
  #
132
133
  # @overload delete(id, request_options: {})
133
134
  #
134
- # @param id [String]
135
+ # @param id [String] The internal ID of the experience to delete.
136
+ #
135
137
  # @param request_options [WhopSDK::RequestOptions, Hash{Symbol=>Object}, nil]
136
138
  #
137
139
  # @return [Boolean]
@@ -155,7 +157,7 @@ module WhopSDK
155
157
  #
156
158
  # @overload attach(id, product_id:, request_options: {})
157
159
  #
158
- # @param id [String]
160
+ # @param id [String] The ID of the Experience to be added to an Access Pass.
159
161
  #
160
162
  # @param product_id [String] The ID of the Access Pass to add the Experience to.
161
163
  #
@@ -184,7 +186,7 @@ module WhopSDK
184
186
  #
185
187
  # @overload detach(id, product_id:, request_options: {})
186
188
  #
187
- # @param id [String]
189
+ # @param id [String] The ID of the Experience to be added to an Access Pass.
188
190
  #
189
191
  # @param product_id [String] The ID of the Access Pass to add the Experience to.
190
192
  #
@@ -217,7 +219,7 @@ module WhopSDK
217
219
  #
218
220
  # @overload duplicate(id, name: nil, request_options: {})
219
221
  #
220
- # @param id [String]
222
+ # @param id [String] The ID of the experience to duplicate
221
223
  #
222
224
  # @param name [String, nil] The name of the new experience
223
225
  #
@@ -58,7 +58,8 @@ module WhopSDK
58
58
  #
59
59
  # @overload retrieve(id, request_options: {})
60
60
  #
61
- # @param id [String]
61
+ # @param id [String] The ID of the forum post
62
+ #
62
63
  # @param request_options [WhopSDK::RequestOptions, Hash{Symbol=>Object}, nil]
63
64
  #
64
65
  # @return [WhopSDK::Models::ForumPost]
@@ -80,7 +81,7 @@ module WhopSDK
80
81
  #
81
82
  # @overload update(id, attachments: nil, content: nil, is_pinned: nil, title: nil, request_options: {})
82
83
  #
83
- # @param id [String]
84
+ # @param id [String] The ID of the forum post to update
84
85
  #
85
86
  # @param attachments [Array<WhopSDK::Models::ForumPostUpdateParams::Attachment::AttachmentInputWithDirectUploadID, WhopSDK::Models::ForumPostUpdateParams::Attachment::AttachmentInputWithID>, nil] The attachments for this post
86
87
  #
@@ -11,7 +11,8 @@ module WhopSDK
11
11
  #
12
12
  # @overload retrieve(id, request_options: {})
13
13
  #
14
- # @param id [String]
14
+ # @param id [String] The ID of the forum to fetch, it can be an experience ID or a forum ID
15
+ #
15
16
  # @param request_options [WhopSDK::RequestOptions, Hash{Symbol=>Object}, nil]
16
17
  #
17
18
  # @return [WhopSDK::Models::Forum]
@@ -34,7 +35,7 @@ module WhopSDK
34
35
  #
35
36
  # @overload update(id, email_notification_preference: nil, who_can_comment: nil, who_can_post: nil, request_options: {})
36
37
  #
37
- # @param id [String]
38
+ # @param id [String] Experience ID (exp\_\*) or Forum external ID
38
39
  #
39
40
  # @param email_notification_preference [Symbol, WhopSDK::Models::EmailNotificationPreferences, nil] Email notification preference option for a forum feed
40
41
  #
@@ -62,7 +62,8 @@ module WhopSDK
62
62
  #
63
63
  # @overload retrieve(id, request_options: {})
64
64
  #
65
- # @param id [String]
65
+ # @param id [String] The ID of the invoice or a token
66
+ #
66
67
  # @param request_options [WhopSDK::RequestOptions, Hash{Symbol=>Object}, nil]
67
68
  #
68
69
  # @return [WhopSDK::Models::Invoice]
@@ -84,7 +85,7 @@ module WhopSDK
84
85
  # - `invoice:basic:read`
85
86
  # - `plan:basic:read`
86
87
  #
87
- # @overload list(company_id:, after: nil, before: nil, direction: nil, filters: nil, first: nil, last: nil, order: nil, request_options: {})
88
+ # @overload list(company_id:, after: nil, before: nil, collection_methods: nil, direction: nil, first: nil, last: nil, order: nil, product_ids: nil, statuses: nil, request_options: {})
88
89
  #
89
90
  # @param company_id [String] The ID of the company to list invoices for
90
91
  #
@@ -92,9 +93,9 @@ module WhopSDK
92
93
  #
93
94
  # @param before [String, nil] Returns the elements in the list that come before the specified cursor.
94
95
  #
95
- # @param direction [Symbol, WhopSDK::Models::Direction, nil] The direction of the sort.
96
+ # @param collection_methods [Array<Symbol, WhopSDK::Models::CollectionMethod>, nil] Filter invoices by their collection method
96
97
  #
97
- # @param filters [WhopSDK::Models::InvoiceListParams::Filters, nil] The filters to apply to the invoices
98
+ # @param direction [Symbol, WhopSDK::Models::Direction, nil] The direction of the sort.
98
99
  #
99
100
  # @param first [Integer, nil] Returns the first _n_ elements from the list.
100
101
  #
@@ -102,6 +103,10 @@ module WhopSDK
102
103
  #
103
104
  # @param order [Symbol, WhopSDK::Models::InvoiceListParams::Order, nil] Which columns can be used to sort.
104
105
  #
106
+ # @param product_ids [Array<String>, nil] Return only invoices created for these specific product ids
107
+ #
108
+ # @param statuses [Array<Symbol, WhopSDK::Models::InvoiceStatus>, nil] The statuses to filter the invoices by
109
+ #
105
110
  # @param request_options [WhopSDK::RequestOptions, Hash{Symbol=>Object}, nil]
106
111
  #
107
112
  # @return [WhopSDK::Internal::CursorPage<WhopSDK::Models::InvoiceListItem>]
@@ -127,7 +132,8 @@ module WhopSDK
127
132
  #
128
133
  # @overload void(id, request_options: {})
129
134
  #
130
- # @param id [String]
135
+ # @param id [String] The ID of the invoice to void
136
+ #
131
137
  # @param request_options [WhopSDK::RequestOptions, Hash{Symbol=>Object}, nil]
132
138
  #
133
139
  # @return [Boolean]
@@ -3,7 +3,10 @@
3
3
  module WhopSDK
4
4
  module Resources
5
5
  class LedgerAccounts
6
- # Retrieves a ledger account by ID
6
+ # Some parameter documentations has been truncated, see
7
+ # {WhopSDK::Models::LedgerAccountRetrieveParams} for more details.
8
+ #
9
+ # Retrieves a ledger account by its ID, company ID or user ID
7
10
  #
8
11
  # Required permissions:
9
12
  #
@@ -11,7 +14,8 @@ module WhopSDK
11
14
  #
12
15
  # @overload retrieve(id, request_options: {})
13
16
  #
14
- # @param id [String]
17
+ # @param id [String] Either a User ID, Company ID, or LedgerAccount ID (user_xxx, biz_xxx, or ldgr_xx
18
+ #
15
19
  # @param request_options [WhopSDK::RequestOptions, Hash{Symbol=>Object}, nil]
16
20
  #
17
21
  # @return [WhopSDK::Models::LedgerAccountRetrieveResponse]
@@ -13,7 +13,8 @@ module WhopSDK
13
13
  #
14
14
  # @overload retrieve(id, request_options: {})
15
15
  #
16
- # @param id [String]
16
+ # @param id [String] The ID of the member
17
+ #
17
18
  # @param request_options [WhopSDK::RequestOptions, Hash{Symbol=>Object}, nil]
18
19
  #
19
20
  # @return [WhopSDK::Models::MemberRetrieveResponse]
@@ -39,13 +40,11 @@ module WhopSDK
39
40
  # - `member:email:read`
40
41
  # - `member:phone:read`
41
42
  #
42
- # @overload list(company_id:, access_level: nil, access_pass_ids: nil, after: nil, before: nil, created_after: nil, created_before: nil, direction: nil, first: nil, last: nil, most_recent_actions: nil, order: nil, plan_ids: nil, promo_code_ids: nil, query: nil, statuses: nil, user_ids: nil, request_options: {})
43
+ # @overload list(company_id:, access_level: nil, after: nil, before: nil, created_after: nil, created_before: nil, direction: nil, first: nil, last: nil, most_recent_actions: nil, order: nil, plan_ids: nil, product_ids: nil, promo_code_ids: nil, query: nil, statuses: nil, user_ids: nil, request_options: {})
43
44
  #
44
45
  # @param company_id [String] The ID of the company to list members for
45
46
  #
46
- # @param access_level [Symbol, WhopSDK::Models::AccessLevel, nil] The access level a given user (or company) has to an access pass or company.
47
- #
48
- # @param access_pass_ids [Array<String>, nil] The access pass IDs to filter the members by
47
+ # @param access_level [Symbol, WhopSDK::Models::AccessLevel, nil] The access level a given user (or company) has to a product or company.
49
48
  #
50
49
  # @param after [String, nil] Returns the elements in the list that come after the specified cursor.
51
50
  #
@@ -67,6 +66,8 @@ module WhopSDK
67
66
  #
68
67
  # @param plan_ids [Array<String>, nil] The plan IDs to filter the members by
69
68
  #
69
+ # @param product_ids [Array<String>, nil] The product IDs to filter the members by
70
+ #
70
71
  # @param promo_code_ids [Array<String>, nil] The promo code IDs to filter the members by
71
72
  #
72
73
  # @param query [String, nil] The name, username, or email to filter the members by. The email filter will onl
@@ -11,7 +11,8 @@ module WhopSDK
11
11
  #
12
12
  # @overload retrieve(id, request_options: {})
13
13
  #
14
- # @param id [String]
14
+ # @param id [String] The ID of the membership or a license key
15
+ #
15
16
  # @param request_options [WhopSDK::RequestOptions, Hash{Symbol=>Object}, nil]
16
17
  #
17
18
  # @return [WhopSDK::Models::Membership]
@@ -35,7 +36,7 @@ module WhopSDK
35
36
  #
36
37
  # @overload update(id, metadata: nil, request_options: {})
37
38
  #
38
- # @param id [String]
39
+ # @param id [String] The ID of the membership.
39
40
  #
40
41
  # @param metadata [Hash{Symbol=>Object}, nil] The metadata to update the membership with.
41
42
  #
@@ -61,9 +62,7 @@ module WhopSDK
61
62
  #
62
63
  # - `member:basic:read`
63
64
  #
64
- # @overload list(access_pass_ids: nil, after: nil, before: nil, cancel_options: nil, company_id: nil, created_after: nil, created_before: nil, direction: nil, first: nil, last: nil, order: nil, plan_ids: nil, promo_code_ids: nil, statuses: nil, user_ids: nil, request_options: {})
65
- #
66
- # @param access_pass_ids [Array<String>, nil] The access pass IDs to filter the memberships by
65
+ # @overload list(after: nil, before: nil, cancel_options: nil, company_id: nil, created_after: nil, created_before: nil, direction: nil, first: nil, last: nil, order: nil, plan_ids: nil, product_ids: nil, promo_code_ids: nil, statuses: nil, user_ids: nil, request_options: {})
67
66
  #
68
67
  # @param after [String, nil] Returns the elements in the list that come after the specified cursor.
69
68
  #
@@ -87,6 +86,8 @@ module WhopSDK
87
86
  #
88
87
  # @param plan_ids [Array<String>, nil] The plan IDs to filter the memberships by
89
88
  #
89
+ # @param product_ids [Array<String>, nil] The product IDs to filter the memberships by
90
+ #
90
91
  # @param promo_code_ids [Array<String>, nil] The promo code IDs to filter the memberships by
91
92
  #
92
93
  # @param statuses [Array<Symbol, WhopSDK::Models::MembershipStatus>, nil] The membership status to filter the memberships by
@@ -120,7 +121,7 @@ module WhopSDK
120
121
  #
121
122
  # @overload cancel(id, cancellation_mode: nil, request_options: {})
122
123
  #
123
- # @param id [String]
124
+ # @param id [String] The ID of the membership.
124
125
  #
125
126
  # @param cancellation_mode [Symbol, WhopSDK::Models::MembershipCancelParams::CancellationMode, nil] The mode of cancellation for a membership
126
127
  #
@@ -152,7 +153,7 @@ module WhopSDK
152
153
  #
153
154
  # @overload pause(id, void_payments: nil, request_options: {})
154
155
  #
155
- # @param id [String]
156
+ # @param id [String] The ID of the membership you want to pause.
156
157
  #
157
158
  # @param void_payments [Boolean, nil] Whether to void past_due payments associated with the membership to prevent futu
158
159
  #
@@ -181,7 +182,8 @@ module WhopSDK
181
182
  #
182
183
  # @overload resume(id, request_options: {})
183
184
  #
184
- # @param id [String]
185
+ # @param id [String] The ID of the membership you want to resume.
186
+ #
185
187
  # @param request_options [WhopSDK::RequestOptions, Hash{Symbol=>Object}, nil]
186
188
  #
187
189
  # @return [WhopSDK::Models::Membership]
@@ -43,7 +43,8 @@ module WhopSDK
43
43
  #
44
44
  # @overload retrieve(id, request_options: {})
45
45
  #
46
- # @param id [String]
46
+ # @param id [String] The ID of the message
47
+ #
47
48
  # @param request_options [WhopSDK::RequestOptions, Hash{Symbol=>Object}, nil]
48
49
  #
49
50
  # @return [WhopSDK::Models::Message]
@@ -62,7 +63,7 @@ module WhopSDK
62
63
  #
63
64
  # @overload update(id, attachments: nil, content: nil, is_pinned: nil, request_options: {})
64
65
  #
65
- # @param id [String]
66
+ # @param id [String] The ID of the message to update
66
67
  #
67
68
  # @param attachments [Array<WhopSDK::Models::MessageUpdateParams::Attachment::AttachmentInputWithDirectUploadID, WhopSDK::Models::MessageUpdateParams::Attachment::AttachmentInputWithID>, nil] The attachments for this message
68
69
  #
@@ -17,7 +17,8 @@ module WhopSDK
17
17
  #
18
18
  # @overload retrieve(id, request_options: {})
19
19
  #
20
- # @param id [String]
20
+ # @param id [String] The ID of the payment
21
+ #
21
22
  # @param request_options [WhopSDK::RequestOptions, Hash{Symbol=>Object}, nil]
22
23
  #
23
24
  # @return [WhopSDK::Models::Payment]
@@ -109,7 +110,7 @@ module WhopSDK
109
110
  #
110
111
  # @overload refund(id, partial_amount: nil, request_options: {})
111
112
  #
112
- # @param id [String]
113
+ # @param id [String] The ID of the payment you want to update or take action upon.
113
114
  #
114
115
  # @param partial_amount [Float, nil] An amount if the refund is supposed to be partial.
115
116
  #
@@ -143,7 +144,8 @@ module WhopSDK
143
144
  #
144
145
  # @overload retry_(id, request_options: {})
145
146
  #
146
- # @param id [String]
147
+ # @param id [String] The ID of the payment
148
+ #
147
149
  # @param request_options [WhopSDK::RequestOptions, Hash{Symbol=>Object}, nil]
148
150
  #
149
151
  # @return [WhopSDK::Models::Payment]
@@ -172,7 +174,8 @@ module WhopSDK
172
174
  #
173
175
  # @overload void(id, request_options: {})
174
176
  #
175
- # @param id [String]
177
+ # @param id [String] The ID of the payment you want to void.
178
+ #
176
179
  # @param request_options [WhopSDK::RequestOptions, Hash{Symbol=>Object}, nil]
177
180
  #
178
181
  # @return [WhopSDK::Models::Payment]
@@ -40,7 +40,7 @@ module WhopSDK
40
40
  #
41
41
  # @param payment_method_configuration [WhopSDK::Models::PlanCreateParams::PaymentMethodConfiguration, nil] The explicit payment method configuration for the plan. If not provided, the pla
42
42
  #
43
- # @param plan_type [Symbol, WhopSDK::Models::PlanType, nil] The type of plan that can be attached to an access pass
43
+ # @param plan_type [Symbol, WhopSDK::Models::PlanType, nil] The type of plan that can be attached to a product
44
44
  #
45
45
  # @param release_method [Symbol, WhopSDK::Models::ReleaseMethod, nil] The methods of how a plan can be released.
46
46
  #
@@ -78,7 +78,8 @@ module WhopSDK
78
78
  #
79
79
  # @overload retrieve(id, request_options: {})
80
80
  #
81
- # @param id [String]
81
+ # @param id [String] The ID of the plan
82
+ #
82
83
  # @param request_options [WhopSDK::RequestOptions, Hash{Symbol=>Object}, nil]
83
84
  #
84
85
  # @return [WhopSDK::Models::Plan]
@@ -106,7 +107,7 @@ module WhopSDK
106
107
  #
107
108
  # @overload update(id, billing_period: nil, currency: nil, custom_fields: nil, description: nil, expiration_days: nil, image: nil, initial_price: nil, internal_notes: nil, offer_cancel_discount: nil, override_tax_type: nil, payment_method_configuration: nil, renewal_price: nil, stock: nil, strike_through_initial_price: nil, strike_through_renewal_price: nil, title: nil, trial_period_days: nil, unlimited_stock: nil, visibility: nil, request_options: {})
108
109
  #
109
- # @param id [String]
110
+ # @param id [String] The ID
110
111
  #
111
112
  # @param billing_period [Integer, nil] The interval at which the plan charges (renewal plans).
112
113
  #
@@ -217,7 +218,8 @@ module WhopSDK
217
218
  #
218
219
  # @overload delete(id, request_options: {})
219
220
  #
220
- # @param id [String]
221
+ # @param id [String] The ID of the plan to delete.
222
+ #
221
223
  # @param request_options [WhopSDK::RequestOptions, Hash{Symbol=>Object}, nil]
222
224
  #
223
225
  # @return [Boolean]
@@ -36,7 +36,7 @@ module WhopSDK
36
36
  #
37
37
  # @param global_affiliate_percentage [Float, nil] The percentage of the revenue that goes to the global affiliate program.
38
38
  #
39
- # @param global_affiliate_status [Symbol, WhopSDK::Models::GlobalAffiliateStatus, nil] The different statuses of the global affiliate program for an access pass.
39
+ # @param global_affiliate_status [Symbol, WhopSDK::Models::GlobalAffiliateStatus, nil] The different statuses of the global affiliate program for a product.
40
40
  #
41
41
  # @param headline [String, nil] The headline of the product.
42
42
  #
@@ -44,7 +44,7 @@ module WhopSDK
44
44
  #
45
45
  # @param member_affiliate_percentage [Float, nil] The percentage of the revenue that goes to the member affiliate program.
46
46
  #
47
- # @param member_affiliate_status [Symbol, WhopSDK::Models::GlobalAffiliateStatus, nil] The different statuses of the global affiliate program for an access pass.
47
+ # @param member_affiliate_status [Symbol, WhopSDK::Models::GlobalAffiliateStatus, nil] The different statuses of the global affiliate program for a product.
48
48
  #
49
49
  # @param plan_options [WhopSDK::Models::ProductCreateParams::PlanOptions, nil] The details to assign an autogenerated plan.
50
50
  #
@@ -82,7 +82,8 @@ module WhopSDK
82
82
  #
83
83
  # @overload retrieve(id, request_options: {})
84
84
  #
85
- # @param id [String]
85
+ # @param id [String] The ID or route of the product
86
+ #
86
87
  # @param request_options [WhopSDK::RequestOptions, Hash{Symbol=>Object}, nil]
87
88
  #
88
89
  # @return [WhopSDK::Models::Product]
@@ -109,7 +110,7 @@ module WhopSDK
109
110
  #
110
111
  # @overload update(id, banner_image: nil, business_type: nil, collect_shipping_address: nil, custom_cta: nil, custom_cta_url: nil, custom_statement_descriptor: nil, description: nil, global_affiliate_percentage: nil, global_affiliate_status: nil, headline: nil, industry_type: nil, member_affiliate_percentage: nil, member_affiliate_status: nil, product_tax_code_id: nil, redirect_purchase_url: nil, route: nil, store_page_config: nil, title: nil, visibility: nil, request_options: {})
111
112
  #
112
- # @param id [String]
113
+ # @param id [String] The ID (tag) of the product
113
114
  #
114
115
  # @param banner_image [WhopSDK::Models::ProductUpdateParams::BannerImage::AttachmentInputWithDirectUploadID, WhopSDK::Models::ProductUpdateParams::BannerImage::AttachmentInputWithID, nil] A banner image for the product in png, jpeg format
115
116
  #
@@ -128,7 +129,7 @@ module WhopSDK
128
129
  #
129
130
  # @param global_affiliate_percentage [Float, nil] The percentage of the revenue that goes to the global affiliate program.
130
131
  #
131
- # @param global_affiliate_status [Symbol, WhopSDK::Models::GlobalAffiliateStatus, nil] The different statuses of the global affiliate program for an access pass.
132
+ # @param global_affiliate_status [Symbol, WhopSDK::Models::GlobalAffiliateStatus, nil] The different statuses of the global affiliate program for a product.
132
133
  #
133
134
  # @param headline [String, nil] The headline of the product.
134
135
  #
@@ -136,7 +137,7 @@ module WhopSDK
136
137
  #
137
138
  # @param member_affiliate_percentage [Float, nil] The percentage of the revenue that goes to the member affiliate program.
138
139
  #
139
- # @param member_affiliate_status [Symbol, WhopSDK::Models::GlobalAffiliateStatus, nil] The different statuses of the global affiliate program for an access pass.
140
+ # @param member_affiliate_status [Symbol, WhopSDK::Models::GlobalAffiliateStatus, nil] The different statuses of the global affiliate program for a product.
140
141
  #
141
142
  # @param product_tax_code_id [String, nil] The ID of the product tax code to apply to this product.
142
143
  #
@@ -217,7 +218,8 @@ module WhopSDK
217
218
  #
218
219
  # @overload delete(id, request_options: {})
219
220
  #
220
- # @param id [String]
221
+ # @param id [String] The internal ID (tag) of the product to delete.
222
+ #
221
223
  # @param request_options [WhopSDK::RequestOptions, Hash{Symbol=>Object}, nil]
222
224
  #
223
225
  # @return [Boolean]
@@ -70,7 +70,8 @@ module WhopSDK
70
70
  #
71
71
  # @overload retrieve(id, request_options: {})
72
72
  #
73
- # @param id [String]
73
+ # @param id [String] The ID of the promo code to retrieve
74
+ #
74
75
  # @param request_options [WhopSDK::RequestOptions, Hash{Symbol=>Object}, nil]
75
76
  #
76
77
  # @return [WhopSDK::Models::PromoCode]
@@ -135,7 +136,8 @@ module WhopSDK
135
136
  #
136
137
  # @overload delete(id, request_options: {})
137
138
  #
138
- # @param id [String]
139
+ # @param id [String] The internal ID of the promo code to archive.
140
+ #
139
141
  # @param request_options [WhopSDK::RequestOptions, Hash{Symbol=>Object}, nil]
140
142
  #
141
143
  # @return [Boolean]
@@ -42,7 +42,8 @@ module WhopSDK
42
42
  #
43
43
  # @overload retrieve(id, request_options: {})
44
44
  #
45
- # @param id [String]
45
+ # @param id [String] The ID of the reaction
46
+ #
46
47
  # @param request_options [WhopSDK::RequestOptions, Hash{Symbol=>Object}, nil]
47
48
  #
48
49
  # @return [WhopSDK::Models::Reaction]
@@ -7,7 +7,8 @@ module WhopSDK
7
7
  #
8
8
  # @overload retrieve(id, request_options: {})
9
9
  #
10
- # @param id [String]
10
+ # @param id [String] The ID of the review
11
+ #
11
12
  # @param request_options [WhopSDK::RequestOptions, Hash{Symbol=>Object}, nil]
12
13
  #
13
14
  # @return [WhopSDK::Models::ReviewRetrieveResponse]