zsgf_client 1.0.24 → 1.0.25
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.
- checksums.yaml +4 -4
- data/docs/AccessTokenApi.md +14 -14
- data/docs/AccessTokenPutRequest.md +2 -2
- data/docs/AppUserListResponse.md +12 -12
- data/docs/AppUserResetEmailRequest.md +20 -0
- data/docs/AppUserResetPhoneRequest.md +20 -0
- data/docs/AppUserResetPwdRequest.md +4 -8
- data/docs/CommonFriendModel.md +3 -3
- data/docs/EmailSignInRequest.md +3 -3
- data/docs/EmailSignUpRequest.md +5 -5
- data/docs/FileApi.md +4 -4
- data/docs/FollowerModel.md +12 -12
- data/docs/FollowerPutModel.md +6 -6
- data/docs/GeoLocation.md +62 -0
- data/docs/GeoLocationModel.md +4 -4
- data/docs/GeoLocationResponseModel.md +4 -4
- data/docs/GetUserProfileResult.md +24 -0
- data/docs/{UserFollowingResultApiResponse.md → GetUserProfileResultApiResponse.md} +3 -3
- data/docs/MySqlGeometry.md +26 -0
- data/docs/OAuthAccountSignInRequest.md +3 -3
- data/docs/PhoneSignInRequest.md +3 -3
- data/docs/PhoneSignUpRequest.md +7 -7
- data/docs/QRCodePreSignInRequest.md +3 -3
- data/docs/QRCodeScanRequest.md +1 -1
- data/docs/QRCodeSignInRequest.md +1 -1
- data/docs/QRCodeSignUpRequest.md +8 -8
- data/docs/RecommendFriend.md +21 -11
- data/docs/SendEmailCodeRequest.md +2 -2
- data/docs/SendSMSCodeRequest.md +2 -2
- data/docs/SignInRequest.md +3 -3
- data/docs/SignUpRequest.md +8 -8
- data/docs/StorageApi.md +86 -6
- data/docs/UnionIDSignInRequest.md +3 -3
- data/docs/UnionIDSignUpRequest.md +10 -10
- data/docs/UpdateProfileRequest.md +27 -15
- data/docs/UserApi.md +358 -54
- data/docs/UserFriendsNearByResult.md +3 -3
- data/docs/UserProfileResult.md +2 -28
- data/docs/WechatApi.md +86 -12
- data/lib/zsgf_client/api/access_token_api.rb +14 -14
- data/lib/zsgf_client/api/file_api.rb +3 -3
- data/lib/zsgf_client/api/storage_api.rb +105 -6
- data/lib/zsgf_client/api/user_api.rb +349 -60
- data/lib/zsgf_client/api/wechat_api.rb +88 -18
- data/lib/zsgf_client/models/access_token_put_request.rb +3 -27
- data/lib/zsgf_client/models/app_user_list_response.rb +12 -0
- data/lib/zsgf_client/models/app_user_reset_email_request.rb +269 -0
- data/lib/zsgf_client/models/app_user_reset_phone_request.rb +269 -0
- data/lib/zsgf_client/models/app_user_reset_pwd_request.rb +52 -70
- data/lib/zsgf_client/models/common_friend_model.rb +3 -0
- data/lib/zsgf_client/models/email_sign_in_request.rb +38 -1
- data/lib/zsgf_client/models/email_sign_up_request.rb +30 -8
- data/lib/zsgf_client/models/follower_model.rb +12 -0
- data/lib/zsgf_client/models/follower_put_model.rb +6 -0
- data/lib/zsgf_client/models/geo_location.rb +750 -0
- data/lib/zsgf_client/models/geo_location_model.rb +262 -12
- data/lib/zsgf_client/models/geo_location_response_model.rb +262 -12
- data/lib/zsgf_client/models/{user_following_result.rb → get_user_profile_result.rb} +37 -18
- data/lib/zsgf_client/models/{user_following_result_api_response.rb → get_user_profile_result_api_response.rb} +4 -4
- data/lib/zsgf_client/models/my_sql_geometry.rb +260 -0
- data/lib/zsgf_client/models/o_auth_account_sign_in_request.rb +78 -1
- data/lib/zsgf_client/models/phone_sign_in_request.rb +49 -1
- data/lib/zsgf_client/models/phone_sign_up_request.rb +29 -24
- data/lib/zsgf_client/models/qr_code_pre_sign_in_request.rb +97 -0
- data/lib/zsgf_client/models/qr_code_scan_request.rb +1 -0
- data/lib/zsgf_client/models/qr_code_sign_in_request.rb +1 -0
- data/lib/zsgf_client/models/qr_code_sign_up_request.rb +38 -33
- data/lib/zsgf_client/models/recommend_friend.rb +69 -4
- data/lib/zsgf_client/models/send_email_code_request.rb +2 -1
- data/lib/zsgf_client/models/send_sms_code_request.rb +2 -2
- data/lib/zsgf_client/models/sign_in_request.rb +77 -11
- data/lib/zsgf_client/models/sign_up_request.rb +47 -35
- data/lib/zsgf_client/models/union_id_sign_in_request.rb +78 -1
- data/lib/zsgf_client/models/union_id_sign_up_request.rb +92 -45
- data/lib/zsgf_client/models/update_profile_request.rb +99 -24
- data/lib/zsgf_client/models/user_friends_near_by_result.rb +10 -7
- data/lib/zsgf_client/models/user_profile_result.rb +7 -133
- data/lib/zsgf_client/version.rb +1 -1
- data/lib/zsgf_client.rb +6 -2
- data/spec/api/access_token_api_spec.rb +7 -7
- data/spec/api/file_api_spec.rb +1 -1
- data/spec/api/storage_api_spec.rb +17 -1
- data/spec/api/user_api_spec.rb +81 -23
- data/spec/api/wechat_api_spec.rb +19 -6
- data/spec/models/{user_following_result_spec.rb → app_user_reset_email_request_spec.rb} +8 -8
- data/spec/models/app_user_reset_phone_request_spec.rb +42 -0
- data/spec/models/app_user_reset_pwd_request_spec.rb +2 -14
- data/spec/models/geo_location_model_spec.rb +3 -3
- data/spec/models/geo_location_response_model_spec.rb +3 -3
- data/spec/models/geo_location_spec.rb +168 -0
- data/spec/models/{user_following_result_api_response_spec.rb → get_user_profile_result_api_response_spec.rb} +6 -6
- data/spec/models/get_user_profile_result_spec.rb +54 -0
- data/spec/models/my_sql_geometry_spec.rb +60 -0
- data/spec/models/recommend_friend_spec.rb +30 -0
- data/spec/models/update_profile_request_spec.rb +36 -0
- data/spec/models/user_friends_near_by_result_spec.rb +1 -1
- data/spec/models/user_profile_result_spec.rb +1 -79
- metadata +215 -199
- data/docs/UserFollowingResult.md +0 -20
data/spec/api/user_api_spec.rb
CHANGED
|
@@ -72,6 +72,18 @@ describe 'UserApi' do
|
|
|
72
72
|
end
|
|
73
73
|
end
|
|
74
74
|
|
|
75
|
+
# unit tests for user_deactivate_hard
|
|
76
|
+
# 注销账号
|
|
77
|
+
# 清除用户所有附属数据,并注销账号
|
|
78
|
+
# @param app_key
|
|
79
|
+
# @param [Hash] opts the optional parameters
|
|
80
|
+
# @return [BooleanApiResponse]
|
|
81
|
+
describe 'user_deactivate_hard test' do
|
|
82
|
+
it 'should work' do
|
|
83
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
84
|
+
end
|
|
85
|
+
end
|
|
86
|
+
|
|
75
87
|
# unit tests for user_delete
|
|
76
88
|
# 删除用户
|
|
77
89
|
# 根据用户ID删除用户
|
|
@@ -157,6 +169,7 @@ describe 'UserApi' do
|
|
|
157
169
|
# @param [Hash] opts the optional parameters
|
|
158
170
|
# @option opts [String] :tag 标签
|
|
159
171
|
# @option opts [String] :status 状态
|
|
172
|
+
# @option opts [Integer] :target_user_id 指定用户的粉丝
|
|
160
173
|
# @option opts [Integer] :skip 跳过的记录数
|
|
161
174
|
# @option opts [Integer] :take 获取的记录数
|
|
162
175
|
# @return [UserFollowersResultApiResponse]
|
|
@@ -167,15 +180,18 @@ describe 'UserApi' do
|
|
|
167
180
|
end
|
|
168
181
|
|
|
169
182
|
# unit tests for user_following
|
|
170
|
-
#
|
|
171
|
-
#
|
|
183
|
+
# 获取当前用户的关注列表,或者判断是否关注某个特定用户。
|
|
184
|
+
# 根据条件获取我的关注列表,或判断是否关注某个用户
|
|
172
185
|
# @param app_key
|
|
173
186
|
# @param [Hash] opts the optional parameters
|
|
174
|
-
# @option opts [String] :tag
|
|
175
|
-
# @option opts [String] :status
|
|
176
|
-
# @option opts [Integer] :
|
|
177
|
-
# @option opts [Integer] :
|
|
178
|
-
# @
|
|
187
|
+
# @option opts [String] :tag 用于过滤关注列表的标签(可选)。
|
|
188
|
+
# @option opts [String] :status 用于过滤关注列表的状态(可选)。
|
|
189
|
+
# @option opts [Integer] :target_user_id 指定用户的关注记录,如果不提供则默认为当前用户的关注。
|
|
190
|
+
# @option opts [Integer] :skip 跳过的记录数,用于分页(默认0)。
|
|
191
|
+
# @option opts [Integer] :take 获取的记录数,用于分页(默认10)。
|
|
192
|
+
# @option opts [Integer] :check_user_id 要判断是否关注的目标用户ID。如果提供此参数,方法将返回一个布尔值,表示当前用户是否关注该目标用户。
|
|
193
|
+
# @option opts [Boolean] :only_ids 是否只返回关注用户的ID集合,默认为false(即返回完整的关注用户信息)。
|
|
194
|
+
# @return [BooleanApiResponse]
|
|
179
195
|
describe 'user_following test' do
|
|
180
196
|
it 'should work' do
|
|
181
197
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
@@ -183,20 +199,23 @@ describe 'UserApi' do
|
|
|
183
199
|
end
|
|
184
200
|
|
|
185
201
|
# unit tests for user_friends_near_by
|
|
186
|
-
#
|
|
187
|
-
#
|
|
188
|
-
# @param
|
|
189
|
-
# @param
|
|
190
|
-
# @param
|
|
191
|
-
# @param
|
|
192
|
-
# @
|
|
193
|
-
# @option opts [String] :
|
|
194
|
-
# @option opts [
|
|
195
|
-
# @option opts [
|
|
196
|
-
# @option opts [String] :
|
|
197
|
-
# @option opts [
|
|
198
|
-
# @option opts [Integer] :
|
|
199
|
-
# @option opts [
|
|
202
|
+
# 获取附近的用户推荐列表
|
|
203
|
+
# 根据地理位置坐标和多种筛选条件,查询附近满足条件的用户列表,支持分页和按距离排序。 地理位置查询使用MySQL的ST_Distance_Sphere函数计算球面距离。 注意:longitude为经度(X轴),latitude为纬度(Y轴),参数顺序与常规坐标系一致
|
|
204
|
+
# @param longitude 当前用户经度坐标(WGS84坐标系)
|
|
205
|
+
# @param latitude 当前用户纬度坐标(WGS84坐标系)
|
|
206
|
+
# @param app_key
|
|
207
|
+
# @param [Hash] opts the optional parameters
|
|
208
|
+
# @option opts [String] :country 国家过滤条件(精确匹配)
|
|
209
|
+
# @option opts [String] :state 省份过滤条件(精确匹配)
|
|
210
|
+
# @option opts [String] :city 城市过滤条件(精确匹配)
|
|
211
|
+
# @option opts [String] :district 区县过滤条件(精确匹配)
|
|
212
|
+
# @option opts [String] :gender 性别过滤条件(可选值示例:Male/Female/Other)
|
|
213
|
+
# @option opts [Integer] :age_s 年龄起始范围(包含,0表示不限制)
|
|
214
|
+
# @option opts [Integer] :age_e 年龄结束范围(包含,0表示不限制)
|
|
215
|
+
# @option opts [String] :tag 兴趣标签过滤(支持模糊匹配,如:\"运动\")
|
|
216
|
+
# @option opts [Integer] :distance 搜索半径(单位:米,0表示不限制距离)
|
|
217
|
+
# @option opts [Integer] :skip 跳过的记录数(分页起始位置,默认0)
|
|
218
|
+
# @option opts [Integer] :take 获取的记录数(分页大小,默认10,最大100)
|
|
200
219
|
# @return [UserFriendsNearByResultApiResponse]
|
|
201
220
|
describe 'user_friends_near_by test' do
|
|
202
221
|
it 'should work' do
|
|
@@ -259,7 +278,7 @@ describe 'UserApi' do
|
|
|
259
278
|
|
|
260
279
|
# unit tests for user_location_put
|
|
261
280
|
# 更新位置
|
|
262
|
-
#
|
|
281
|
+
# 此方法用于更新指定位置ID的位置信息。如果位置不存在,则创建一个新的位置。
|
|
263
282
|
# @param id 位置ID
|
|
264
283
|
# @param app_key
|
|
265
284
|
# @param [Hash] opts the optional parameters
|
|
@@ -319,7 +338,7 @@ describe 'UserApi' do
|
|
|
319
338
|
end
|
|
320
339
|
|
|
321
340
|
# unit tests for user_o_auth_account_bind
|
|
322
|
-
# 外部账号
|
|
341
|
+
# 外部账号 绑定,如果已存在绑定则直接返回成功
|
|
323
342
|
# 绑定外部账号
|
|
324
343
|
# @param app_key
|
|
325
344
|
# @param [Hash] opts the optional parameters
|
|
@@ -421,6 +440,19 @@ describe 'UserApi' do
|
|
|
421
440
|
end
|
|
422
441
|
end
|
|
423
442
|
|
|
443
|
+
# unit tests for user_profile_by_id
|
|
444
|
+
# 获取指定用户资料
|
|
445
|
+
# 用于他人主页展示
|
|
446
|
+
# @param user_id 用户ID
|
|
447
|
+
# @param app_key
|
|
448
|
+
# @param [Hash] opts the optional parameters
|
|
449
|
+
# @return [GetUserProfileResultApiResponse]
|
|
450
|
+
describe 'user_profile_by_id test' do
|
|
451
|
+
it 'should work' do
|
|
452
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
453
|
+
end
|
|
454
|
+
end
|
|
455
|
+
|
|
424
456
|
# unit tests for user_put
|
|
425
457
|
# 更新用户信息
|
|
426
458
|
# 根据用户ID更新用户信息
|
|
@@ -487,6 +519,32 @@ describe 'UserApi' do
|
|
|
487
519
|
end
|
|
488
520
|
end
|
|
489
521
|
|
|
522
|
+
# unit tests for user_reset_email
|
|
523
|
+
# 重置邮箱
|
|
524
|
+
# 通过邮箱验证码重置邮箱
|
|
525
|
+
# @param app_key
|
|
526
|
+
# @param [Hash] opts the optional parameters
|
|
527
|
+
# @option opts [AppUserResetEmailRequest] :app_user_reset_email_request 重置邮箱的请求参数
|
|
528
|
+
# @return [BooleanApiResponse]
|
|
529
|
+
describe 'user_reset_email test' do
|
|
530
|
+
it 'should work' do
|
|
531
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
532
|
+
end
|
|
533
|
+
end
|
|
534
|
+
|
|
535
|
+
# unit tests for user_reset_phone
|
|
536
|
+
# 重置手机号
|
|
537
|
+
# 通过手机号验证码重置手机号
|
|
538
|
+
# @param app_key
|
|
539
|
+
# @param [Hash] opts the optional parameters
|
|
540
|
+
# @option opts [AppUserResetPhoneRequest] :app_user_reset_phone_request 重置手机号的请求参数
|
|
541
|
+
# @return [BooleanApiResponse]
|
|
542
|
+
describe 'user_reset_phone test' do
|
|
543
|
+
it 'should work' do
|
|
544
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
545
|
+
end
|
|
546
|
+
end
|
|
547
|
+
|
|
490
548
|
# unit tests for user_reset_pwd
|
|
491
549
|
# 重置密码
|
|
492
550
|
# 通过手机号或邮箱重置密码
|
data/spec/api/wechat_api_spec.rb
CHANGED
|
@@ -52,7 +52,7 @@ describe 'WechatApi' do
|
|
|
52
52
|
# 生成小程序的scheme码
|
|
53
53
|
# @param app_key
|
|
54
54
|
# @param [Hash] opts the optional parameters
|
|
55
|
-
# @option opts [Object] :
|
|
55
|
+
# @option opts [Array<Object>] :request_body scheme码数据,开发参考:https://developers.weixin.qq.com/miniprogram/dev/OpenApiDoc/qrcode-link/url-scheme/generateScheme.html
|
|
56
56
|
# @return [StringApiResponse]
|
|
57
57
|
describe 'wechat_generate_scheme test' do
|
|
58
58
|
it 'should work' do
|
|
@@ -86,12 +86,25 @@ describe 'WechatApi' do
|
|
|
86
86
|
end
|
|
87
87
|
end
|
|
88
88
|
|
|
89
|
+
# unit tests for wechat_msg_sec_check
|
|
90
|
+
# 小程序-消息内容安全检测
|
|
91
|
+
# 检测消息内容是否含有违法违规信息
|
|
92
|
+
# @param app_key
|
|
93
|
+
# @param [Hash] opts the optional parameters
|
|
94
|
+
# @option opts [Array<Object>] :request_body 消息内容数据,开发参考:https://developers.weixin.qq.com/miniprogram/dev/OpenApiDoc/sec-center/sec-check/msgSecCheck.html
|
|
95
|
+
# @return [Object]
|
|
96
|
+
describe 'wechat_msg_sec_check test' do
|
|
97
|
+
it 'should work' do
|
|
98
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
99
|
+
end
|
|
100
|
+
end
|
|
101
|
+
|
|
89
102
|
# unit tests for wechat_subscribe_msg
|
|
90
103
|
# 公众号H5-发送一次性订阅消息
|
|
91
104
|
# 发送公众号H5一次性订阅消息
|
|
92
105
|
# @param app_key
|
|
93
106
|
# @param [Hash] opts the optional parameters
|
|
94
|
-
# @option opts [Object] :
|
|
107
|
+
# @option opts [Array<Object>] :request_body 订阅消息数据,开发参考:https://dwz.cn/IXptek5n
|
|
95
108
|
# @return [StringApiResponse]
|
|
96
109
|
describe 'wechat_subscribe_msg test' do
|
|
97
110
|
it 'should work' do
|
|
@@ -104,7 +117,7 @@ describe 'WechatApi' do
|
|
|
104
117
|
# 发送小程序订阅消息
|
|
105
118
|
# @param app_key
|
|
106
119
|
# @param [Hash] opts the optional parameters
|
|
107
|
-
# @option opts [Object] :
|
|
120
|
+
# @option opts [Array<Object>] :request_body 订阅消息数据,开发参考:https://dwz.cn/bohXaCnp
|
|
108
121
|
# @return [StringApiResponse]
|
|
109
122
|
describe 'wechat_subscribe_send test' do
|
|
110
123
|
it 'should work' do
|
|
@@ -117,7 +130,7 @@ describe 'WechatApi' do
|
|
|
117
130
|
# 生成小程序的网页跳转地址
|
|
118
131
|
# @param app_key
|
|
119
132
|
# @param [Hash] opts the optional parameters
|
|
120
|
-
# @option opts [Object] :
|
|
133
|
+
# @option opts [Array<Object>] :request_body 跳转地址数据,开发参考:https://developers.weixin.qq.com/miniprogram/dev/api-backend/open-api/url-link/urllink.generate.html
|
|
121
134
|
# @return [StringApiResponse]
|
|
122
135
|
describe 'wechat_url_link_generate test' do
|
|
123
136
|
it 'should work' do
|
|
@@ -143,7 +156,7 @@ describe 'WechatApi' do
|
|
|
143
156
|
# 获取小程序码
|
|
144
157
|
# @param app_key
|
|
145
158
|
# @param [Hash] opts the optional parameters
|
|
146
|
-
# @option opts [Object] :
|
|
159
|
+
# @option opts [Array<Object>] :request_body 小程序码数据,开发参考:https://developers.weixin.qq.com/miniprogram/dev/api-backend/open-api/qr-code/wxacode.get.html
|
|
147
160
|
# @return [File]
|
|
148
161
|
describe 'wechat_wxa_code_get test' do
|
|
149
162
|
it 'should work' do
|
|
@@ -156,7 +169,7 @@ describe 'WechatApi' do
|
|
|
156
169
|
# 获取无限制的小程序码
|
|
157
170
|
# @param app_key
|
|
158
171
|
# @param [Hash] opts the optional parameters
|
|
159
|
-
# @option opts [Object] :
|
|
172
|
+
# @option opts [Array<Object>] :request_body 小程序码数据,开发参考:https://developers.weixin.qq.com/miniprogram/dev/api-backend/open-api/qr-code/wxacode.getUnlimited.html
|
|
160
173
|
# @return [File]
|
|
161
174
|
describe 'wechat_wxa_code_get_unlimited test' do
|
|
162
175
|
it 'should work' do
|
|
@@ -14,26 +14,26 @@ require 'spec_helper'
|
|
|
14
14
|
require 'json'
|
|
15
15
|
require 'date'
|
|
16
16
|
|
|
17
|
-
# Unit tests for ZSGFClient::
|
|
17
|
+
# Unit tests for ZSGFClient::AppUserResetEmailRequest
|
|
18
18
|
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
19
|
# Please update as you see appropriate
|
|
20
|
-
describe ZSGFClient::
|
|
21
|
-
let(:instance) { ZSGFClient::
|
|
20
|
+
describe ZSGFClient::AppUserResetEmailRequest do
|
|
21
|
+
let(:instance) { ZSGFClient::AppUserResetEmailRequest.new }
|
|
22
22
|
|
|
23
|
-
describe 'test an instance of
|
|
24
|
-
it 'should create an instance of
|
|
23
|
+
describe 'test an instance of AppUserResetEmailRequest' do
|
|
24
|
+
it 'should create an instance of AppUserResetEmailRequest' do
|
|
25
25
|
# uncomment below to test the instance creation
|
|
26
|
-
#expect(instance).to be_instance_of(ZSGFClient::
|
|
26
|
+
#expect(instance).to be_instance_of(ZSGFClient::AppUserResetEmailRequest)
|
|
27
27
|
end
|
|
28
28
|
end
|
|
29
29
|
|
|
30
|
-
describe 'test attribute "
|
|
30
|
+
describe 'test attribute "email"' do
|
|
31
31
|
it 'should work' do
|
|
32
32
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
33
33
|
end
|
|
34
34
|
end
|
|
35
35
|
|
|
36
|
-
describe 'test attribute "
|
|
36
|
+
describe 'test attribute "code"' do
|
|
37
37
|
it 'should work' do
|
|
38
38
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
39
39
|
end
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
=begin
|
|
2
|
+
#全部 API 文档
|
|
3
|
+
|
|
4
|
+
#No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
5
|
+
|
|
6
|
+
The version of the OpenAPI document: v1
|
|
7
|
+
|
|
8
|
+
Generated by: https://openapi-generator.tech
|
|
9
|
+
Generator version: 7.13.0-SNAPSHOT
|
|
10
|
+
|
|
11
|
+
=end
|
|
12
|
+
|
|
13
|
+
require 'spec_helper'
|
|
14
|
+
require 'json'
|
|
15
|
+
require 'date'
|
|
16
|
+
|
|
17
|
+
# Unit tests for ZSGFClient::AppUserResetPhoneRequest
|
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
|
+
# Please update as you see appropriate
|
|
20
|
+
describe ZSGFClient::AppUserResetPhoneRequest do
|
|
21
|
+
let(:instance) { ZSGFClient::AppUserResetPhoneRequest.new }
|
|
22
|
+
|
|
23
|
+
describe 'test an instance of AppUserResetPhoneRequest' do
|
|
24
|
+
it 'should create an instance of AppUserResetPhoneRequest' do
|
|
25
|
+
# uncomment below to test the instance creation
|
|
26
|
+
#expect(instance).to be_instance_of(ZSGFClient::AppUserResetPhoneRequest)
|
|
27
|
+
end
|
|
28
|
+
end
|
|
29
|
+
|
|
30
|
+
describe 'test attribute "phone"' do
|
|
31
|
+
it 'should work' do
|
|
32
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
33
|
+
end
|
|
34
|
+
end
|
|
35
|
+
|
|
36
|
+
describe 'test attribute "code"' do
|
|
37
|
+
it 'should work' do
|
|
38
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
39
|
+
end
|
|
40
|
+
end
|
|
41
|
+
|
|
42
|
+
end
|
|
@@ -27,25 +27,13 @@ describe ZSGFClient::AppUserResetPwdRequest do
|
|
|
27
27
|
end
|
|
28
28
|
end
|
|
29
29
|
|
|
30
|
-
describe 'test attribute "
|
|
31
|
-
it 'should work' do
|
|
32
|
-
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
33
|
-
end
|
|
34
|
-
end
|
|
35
|
-
|
|
36
|
-
describe 'test attribute "email"' do
|
|
37
|
-
it 'should work' do
|
|
38
|
-
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
39
|
-
end
|
|
40
|
-
end
|
|
41
|
-
|
|
42
|
-
describe 'test attribute "code"' do
|
|
30
|
+
describe 'test attribute "pwd"' do
|
|
43
31
|
it 'should work' do
|
|
44
32
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
45
33
|
end
|
|
46
34
|
end
|
|
47
35
|
|
|
48
|
-
describe 'test attribute "
|
|
36
|
+
describe 'test attribute "oldpwd"' do
|
|
49
37
|
it 'should work' do
|
|
50
38
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
51
39
|
end
|
|
@@ -27,19 +27,19 @@ describe ZSGFClient::GeoLocationModel do
|
|
|
27
27
|
end
|
|
28
28
|
end
|
|
29
29
|
|
|
30
|
-
describe 'test attribute "
|
|
30
|
+
describe 'test attribute "location_name"' do
|
|
31
31
|
it 'should work' do
|
|
32
32
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
33
33
|
end
|
|
34
34
|
end
|
|
35
35
|
|
|
36
|
-
describe 'test attribute "
|
|
36
|
+
describe 'test attribute "latitude"' do
|
|
37
37
|
it 'should work' do
|
|
38
38
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
39
39
|
end
|
|
40
40
|
end
|
|
41
41
|
|
|
42
|
-
describe 'test attribute "
|
|
42
|
+
describe 'test attribute "longitude"' do
|
|
43
43
|
it 'should work' do
|
|
44
44
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
45
45
|
end
|
|
@@ -27,19 +27,19 @@ describe ZSGFClient::GeoLocationResponseModel do
|
|
|
27
27
|
end
|
|
28
28
|
end
|
|
29
29
|
|
|
30
|
-
describe 'test attribute "
|
|
30
|
+
describe 'test attribute "location_name"' do
|
|
31
31
|
it 'should work' do
|
|
32
32
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
33
33
|
end
|
|
34
34
|
end
|
|
35
35
|
|
|
36
|
-
describe 'test attribute "
|
|
36
|
+
describe 'test attribute "latitude"' do
|
|
37
37
|
it 'should work' do
|
|
38
38
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
39
39
|
end
|
|
40
40
|
end
|
|
41
41
|
|
|
42
|
-
describe 'test attribute "
|
|
42
|
+
describe 'test attribute "longitude"' do
|
|
43
43
|
it 'should work' do
|
|
44
44
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
45
45
|
end
|
|
@@ -0,0 +1,168 @@
|
|
|
1
|
+
=begin
|
|
2
|
+
#全部 API 文档
|
|
3
|
+
|
|
4
|
+
#No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
5
|
+
|
|
6
|
+
The version of the OpenAPI document: v1
|
|
7
|
+
|
|
8
|
+
Generated by: https://openapi-generator.tech
|
|
9
|
+
Generator version: 7.13.0-SNAPSHOT
|
|
10
|
+
|
|
11
|
+
=end
|
|
12
|
+
|
|
13
|
+
require 'spec_helper'
|
|
14
|
+
require 'json'
|
|
15
|
+
require 'date'
|
|
16
|
+
|
|
17
|
+
# Unit tests for ZSGFClient::GeoLocation
|
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
|
+
# Please update as you see appropriate
|
|
20
|
+
describe ZSGFClient::GeoLocation do
|
|
21
|
+
let(:instance) { ZSGFClient::GeoLocation.new }
|
|
22
|
+
|
|
23
|
+
describe 'test an instance of GeoLocation' do
|
|
24
|
+
it 'should create an instance of GeoLocation' do
|
|
25
|
+
# uncomment below to test the instance creation
|
|
26
|
+
#expect(instance).to be_instance_of(ZSGFClient::GeoLocation)
|
|
27
|
+
end
|
|
28
|
+
end
|
|
29
|
+
|
|
30
|
+
describe 'test attribute "id"' do
|
|
31
|
+
it 'should work' do
|
|
32
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
33
|
+
end
|
|
34
|
+
end
|
|
35
|
+
|
|
36
|
+
describe 'test attribute "biz_code"' do
|
|
37
|
+
it 'should work' do
|
|
38
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
39
|
+
end
|
|
40
|
+
end
|
|
41
|
+
|
|
42
|
+
describe 'test attribute "biz_id"' do
|
|
43
|
+
it 'should work' do
|
|
44
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
45
|
+
end
|
|
46
|
+
end
|
|
47
|
+
|
|
48
|
+
describe 'test attribute "coordinates"' do
|
|
49
|
+
it 'should work' do
|
|
50
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
51
|
+
end
|
|
52
|
+
end
|
|
53
|
+
|
|
54
|
+
describe 'test attribute "location_name"' do
|
|
55
|
+
it 'should work' do
|
|
56
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
57
|
+
end
|
|
58
|
+
end
|
|
59
|
+
|
|
60
|
+
describe 'test attribute "location_type"' do
|
|
61
|
+
it 'should work' do
|
|
62
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
63
|
+
end
|
|
64
|
+
end
|
|
65
|
+
|
|
66
|
+
describe 'test attribute "recipient_name"' do
|
|
67
|
+
it 'should work' do
|
|
68
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
69
|
+
end
|
|
70
|
+
end
|
|
71
|
+
|
|
72
|
+
describe 'test attribute "phone_number"' do
|
|
73
|
+
it 'should work' do
|
|
74
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
75
|
+
end
|
|
76
|
+
end
|
|
77
|
+
|
|
78
|
+
describe 'test attribute "email"' do
|
|
79
|
+
it 'should work' do
|
|
80
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
81
|
+
end
|
|
82
|
+
end
|
|
83
|
+
|
|
84
|
+
describe 'test attribute "country"' do
|
|
85
|
+
it 'should work' do
|
|
86
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
87
|
+
end
|
|
88
|
+
end
|
|
89
|
+
|
|
90
|
+
describe 'test attribute "state"' do
|
|
91
|
+
it 'should work' do
|
|
92
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
93
|
+
end
|
|
94
|
+
end
|
|
95
|
+
|
|
96
|
+
describe 'test attribute "city"' do
|
|
97
|
+
it 'should work' do
|
|
98
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
99
|
+
end
|
|
100
|
+
end
|
|
101
|
+
|
|
102
|
+
describe 'test attribute "district"' do
|
|
103
|
+
it 'should work' do
|
|
104
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
105
|
+
end
|
|
106
|
+
end
|
|
107
|
+
|
|
108
|
+
describe 'test attribute "street"' do
|
|
109
|
+
it 'should work' do
|
|
110
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
111
|
+
end
|
|
112
|
+
end
|
|
113
|
+
|
|
114
|
+
describe 'test attribute "zip_code"' do
|
|
115
|
+
it 'should work' do
|
|
116
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
117
|
+
end
|
|
118
|
+
end
|
|
119
|
+
|
|
120
|
+
describe 'test attribute "address"' do
|
|
121
|
+
it 'should work' do
|
|
122
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
123
|
+
end
|
|
124
|
+
end
|
|
125
|
+
|
|
126
|
+
describe 'test attribute "map_type"' do
|
|
127
|
+
it 'should work' do
|
|
128
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
129
|
+
end
|
|
130
|
+
end
|
|
131
|
+
|
|
132
|
+
describe 'test attribute "remark"' do
|
|
133
|
+
it 'should work' do
|
|
134
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
135
|
+
end
|
|
136
|
+
end
|
|
137
|
+
|
|
138
|
+
describe 'test attribute "tags"' do
|
|
139
|
+
it 'should work' do
|
|
140
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
141
|
+
end
|
|
142
|
+
end
|
|
143
|
+
|
|
144
|
+
describe 'test attribute "enable"' do
|
|
145
|
+
it 'should work' do
|
|
146
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
147
|
+
end
|
|
148
|
+
end
|
|
149
|
+
|
|
150
|
+
describe 'test attribute "show_index"' do
|
|
151
|
+
it 'should work' do
|
|
152
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
153
|
+
end
|
|
154
|
+
end
|
|
155
|
+
|
|
156
|
+
describe 'test attribute "create_date"' do
|
|
157
|
+
it 'should work' do
|
|
158
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
159
|
+
end
|
|
160
|
+
end
|
|
161
|
+
|
|
162
|
+
describe 'test attribute "last_update"' do
|
|
163
|
+
it 'should work' do
|
|
164
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
165
|
+
end
|
|
166
|
+
end
|
|
167
|
+
|
|
168
|
+
end
|
|
@@ -14,16 +14,16 @@ require 'spec_helper'
|
|
|
14
14
|
require 'json'
|
|
15
15
|
require 'date'
|
|
16
16
|
|
|
17
|
-
# Unit tests for ZSGFClient::
|
|
17
|
+
# Unit tests for ZSGFClient::GetUserProfileResultApiResponse
|
|
18
18
|
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
19
|
# Please update as you see appropriate
|
|
20
|
-
describe ZSGFClient::
|
|
21
|
-
let(:instance) { ZSGFClient::
|
|
20
|
+
describe ZSGFClient::GetUserProfileResultApiResponse do
|
|
21
|
+
let(:instance) { ZSGFClient::GetUserProfileResultApiResponse.new }
|
|
22
22
|
|
|
23
|
-
describe 'test an instance of
|
|
24
|
-
it 'should create an instance of
|
|
23
|
+
describe 'test an instance of GetUserProfileResultApiResponse' do
|
|
24
|
+
it 'should create an instance of GetUserProfileResultApiResponse' do
|
|
25
25
|
# uncomment below to test the instance creation
|
|
26
|
-
#expect(instance).to be_instance_of(ZSGFClient::
|
|
26
|
+
#expect(instance).to be_instance_of(ZSGFClient::GetUserProfileResultApiResponse)
|
|
27
27
|
end
|
|
28
28
|
end
|
|
29
29
|
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
=begin
|
|
2
|
+
#全部 API 文档
|
|
3
|
+
|
|
4
|
+
#No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
5
|
+
|
|
6
|
+
The version of the OpenAPI document: v1
|
|
7
|
+
|
|
8
|
+
Generated by: https://openapi-generator.tech
|
|
9
|
+
Generator version: 7.13.0-SNAPSHOT
|
|
10
|
+
|
|
11
|
+
=end
|
|
12
|
+
|
|
13
|
+
require 'spec_helper'
|
|
14
|
+
require 'json'
|
|
15
|
+
require 'date'
|
|
16
|
+
|
|
17
|
+
# Unit tests for ZSGFClient::GetUserProfileResult
|
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
|
+
# Please update as you see appropriate
|
|
20
|
+
describe ZSGFClient::GetUserProfileResult do
|
|
21
|
+
let(:instance) { ZSGFClient::GetUserProfileResult.new }
|
|
22
|
+
|
|
23
|
+
describe 'test an instance of GetUserProfileResult' do
|
|
24
|
+
it 'should create an instance of GetUserProfileResult' do
|
|
25
|
+
# uncomment below to test the instance creation
|
|
26
|
+
#expect(instance).to be_instance_of(ZSGFClient::GetUserProfileResult)
|
|
27
|
+
end
|
|
28
|
+
end
|
|
29
|
+
|
|
30
|
+
describe 'test attribute "user"' do
|
|
31
|
+
it 'should work' do
|
|
32
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
33
|
+
end
|
|
34
|
+
end
|
|
35
|
+
|
|
36
|
+
describe 'test attribute "currencies"' do
|
|
37
|
+
it 'should work' do
|
|
38
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
39
|
+
end
|
|
40
|
+
end
|
|
41
|
+
|
|
42
|
+
describe 'test attribute "role"' do
|
|
43
|
+
it 'should work' do
|
|
44
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
45
|
+
end
|
|
46
|
+
end
|
|
47
|
+
|
|
48
|
+
describe 'test attribute "location"' do
|
|
49
|
+
it 'should work' do
|
|
50
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
51
|
+
end
|
|
52
|
+
end
|
|
53
|
+
|
|
54
|
+
end
|