stackone_client 0.2.34 → 0.2.35

Sign up to get free protection for your applications and to get access to all the features.
Files changed (24) hide show
  1. checksums.yaml +4 -4
  2. data/lib/stack_one/ats.rb +114 -0
  3. data/lib/stack_one/marketing.rb +21 -21
  4. data/lib/stack_one/models/operations/ats_get_application_scheduled_interview_request.rb +39 -0
  5. data/lib/stack_one/models/operations/ats_get_application_scheduled_interview_response.rb +33 -0
  6. data/lib/stack_one/models/operations/ats_get_assessments_request_request.rb +36 -0
  7. data/lib/stack_one/models/operations/ats_get_assessments_request_response.rb +33 -0
  8. data/lib/stack_one/models/operations/ats_list_applications_scheduled_interviews_queryparam_filter.rb +24 -0
  9. data/lib/stack_one/models/operations/ats_list_applications_scheduled_interviews_request.rb +60 -0
  10. data/lib/stack_one/models/operations/ats_list_applications_scheduled_interviews_response.rb +33 -0
  11. data/lib/stack_one/models/operations/marketing_get_in_app_template_response.rb +1 -1
  12. data/lib/stack_one/models/operations/marketing_list_in_app_templates_response.rb +1 -1
  13. data/lib/stack_one/models/operations.rb +7 -0
  14. data/lib/stack_one/models/shared/atsupdateapplicationrequestdto.rb +5 -2
  15. data/lib/stack_one/models/shared/scheduledinterview.rb +72 -0
  16. data/lib/stack_one/models/shared/scheduledinterview_interview_stage.rb +39 -0
  17. data/lib/stack_one/models/shared/scheduledinterview_interview_status.rb +27 -0
  18. data/lib/stack_one/models/shared/scheduledinterview_value.rb +23 -0
  19. data/lib/stack_one/models/shared/scheduledinterviewspaginated.rb +33 -0
  20. data/lib/stack_one/models/shared/scheduledinterviewsresult.rb +27 -0
  21. data/lib/stack_one/models/shared/security.rb +3 -3
  22. data/lib/stack_one/models/shared.rb +10 -4
  23. data/lib/stack_one/sdkconfiguration.rb +4 -4
  24. metadata +15 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 44b78b0e5588236f03d836fad1e0ad2c415638351b5bd2f155cf23d02c872a68
4
- data.tar.gz: 98aab3970efbcb411ecbef342f6f1ad0d0055ea077246583c0976846a5ff421a
3
+ metadata.gz: 4c6a923b191b4c5fd6e6bc367a2c548840d5f15d66633071c966dd89f70ce296
4
+ data.tar.gz: 6dd446438d3c551cd41e6f3f18bf59e376ff46efa861812cbd45dbfc7fb07f5e
5
5
  SHA512:
6
- metadata.gz: a24051ab883c670bdc71ab7a36e59141ab992f7f705ac4bdf97850dae8c7b00791e61e1f1ff2c6b34ac41158ce4e87154a636bf4c20c69ee26e75f1c20f1ea10
7
- data.tar.gz: c79857ac316443ab84192eec068236ceb9ec35107d12dbe703f9d475fd4cb9d2e3c113d71d903f4b161dd8d1c889d6b83df69b76024a2074c3fd579af6936e0a
6
+ metadata.gz: df3425f19189eab13d16ef8db9f3b9aa6b1232680ef7f3682fa325a6e914bff69ec9b2f859465a4a6de9de4989bb835d747b725356bcefa77a6201fc9d2632fc
7
+ data.tar.gz: 3304fc4de6ab8c6f5e4b80e3c5b720a9484205afd8855bb61550675521d4d6de6a3e1a6f31b9af4aa93c5c55f34f4426a6d83227b1bbe5560cd76d07b71414a7
data/lib/stack_one/ats.rb CHANGED
@@ -366,6 +366,44 @@ module StackOne
366
366
  end
367
367
 
368
368
 
369
+ sig { params(request: T.nilable(::StackOne::Operations::AtsGetApplicationScheduledInterviewRequest)).returns(::StackOne::Operations::AtsGetApplicationScheduledInterviewResponse) }
370
+ def get_application_scheduled_interview(request)
371
+ # get_application_scheduled_interview - Get Applications scheduled interview
372
+ url, params = @sdk_configuration.get_server_details
373
+ base_url = Utils.template_url(url, params)
374
+ url = Utils.generate_url(
375
+ ::StackOne::Operations::AtsGetApplicationScheduledInterviewRequest,
376
+ base_url,
377
+ '/unified/ats/applications/{id}/scheduled_interviews/{subResourceId}',
378
+ request
379
+ )
380
+ headers = Utils.get_headers(request)
381
+ query_params = Utils.get_query_params(::StackOne::Operations::AtsGetApplicationScheduledInterviewRequest, request)
382
+ headers['Accept'] = 'application/json'
383
+ headers['user-agent'] = @sdk_configuration.user_agent
384
+
385
+ r = @sdk_configuration.client.get(url) do |req|
386
+ req.headers = headers
387
+ req.params = query_params
388
+ Utils.configure_request_security(req, @sdk_configuration.security) if !@sdk_configuration.nil? && !@sdk_configuration.security.nil?
389
+ end
390
+
391
+ content_type = r.headers.fetch('Content-Type', 'application/octet-stream')
392
+
393
+ res = ::StackOne::Operations::AtsGetApplicationScheduledInterviewResponse.new(
394
+ status_code: r.status, content_type: content_type, raw_response: r
395
+ )
396
+ if r.status == 200
397
+ if Utils.match_content_type(content_type, 'application/json')
398
+ out = Utils.unmarshal_complex(r.env.response_body, ::StackOne::Shared::ScheduledInterviewsResult)
399
+ res.scheduled_interviews_result = out
400
+ end
401
+ elsif [400, 403, 412, 429, 500, 501].include?(r.status)
402
+ end
403
+ res
404
+ end
405
+
406
+
369
407
  sig { params(request: T.nilable(::StackOne::Operations::AtsGetApplicationScorecardRequest)).returns(::StackOne::Operations::AtsGetApplicationScorecardResponse) }
370
408
  def get_application_scorecard(request)
371
409
  # get_application_scorecard - Get Application Scorecard
@@ -442,6 +480,44 @@ module StackOne
442
480
  end
443
481
 
444
482
 
483
+ sig { params(request: T.nilable(::StackOne::Operations::AtsGetAssessmentsRequestRequest)).returns(::StackOne::Operations::AtsGetAssessmentsRequestResponse) }
484
+ def get_assessments_request(request)
485
+ # get_assessments_request - Get Assessments Requests
486
+ url, params = @sdk_configuration.get_server_details
487
+ base_url = Utils.template_url(url, params)
488
+ url = Utils.generate_url(
489
+ ::StackOne::Operations::AtsGetAssessmentsRequestRequest,
490
+ base_url,
491
+ '/unified/ats/assessments/orders/{id}',
492
+ request
493
+ )
494
+ headers = Utils.get_headers(request)
495
+ query_params = Utils.get_query_params(::StackOne::Operations::AtsGetAssessmentsRequestRequest, request)
496
+ headers['Accept'] = 'application/json'
497
+ headers['user-agent'] = @sdk_configuration.user_agent
498
+
499
+ r = @sdk_configuration.client.get(url) do |req|
500
+ req.headers = headers
501
+ req.params = query_params
502
+ Utils.configure_request_security(req, @sdk_configuration.security) if !@sdk_configuration.nil? && !@sdk_configuration.security.nil?
503
+ end
504
+
505
+ content_type = r.headers.fetch('Content-Type', 'application/octet-stream')
506
+
507
+ res = ::StackOne::Operations::AtsGetAssessmentsRequestResponse.new(
508
+ status_code: r.status, content_type: content_type, raw_response: r
509
+ )
510
+ if r.status == 200
511
+ if Utils.match_content_type(content_type, 'application/json')
512
+ out = Utils.unmarshal_complex(r.env.response_body, ::StackOne::Shared::AssessmentsResultsResult)
513
+ res.assessments_results_result = out
514
+ end
515
+ elsif [400, 403, 412, 429, 500, 501].include?(r.status)
516
+ end
517
+ res
518
+ end
519
+
520
+
445
521
  sig { params(request: T.nilable(::StackOne::Operations::AtsGetAssessmentsResultRequest)).returns(::StackOne::Operations::AtsGetAssessmentsResultResponse) }
446
522
  def get_assessments_result(request)
447
523
  # get_assessments_result - Get Assessments Results
@@ -1116,6 +1192,44 @@ module StackOne
1116
1192
  end
1117
1193
 
1118
1194
 
1195
+ sig { params(request: T.nilable(::StackOne::Operations::AtsListApplicationsScheduledInterviewsRequest)).returns(::StackOne::Operations::AtsListApplicationsScheduledInterviewsResponse) }
1196
+ def list_applications_scheduled_interviews(request)
1197
+ # list_applications_scheduled_interviews - List Applications scheduled interviews
1198
+ url, params = @sdk_configuration.get_server_details
1199
+ base_url = Utils.template_url(url, params)
1200
+ url = Utils.generate_url(
1201
+ ::StackOne::Operations::AtsListApplicationsScheduledInterviewsRequest,
1202
+ base_url,
1203
+ '/unified/ats/applications/{id}/scheduled_interviews',
1204
+ request
1205
+ )
1206
+ headers = Utils.get_headers(request)
1207
+ query_params = Utils.get_query_params(::StackOne::Operations::AtsListApplicationsScheduledInterviewsRequest, request)
1208
+ headers['Accept'] = 'application/json'
1209
+ headers['user-agent'] = @sdk_configuration.user_agent
1210
+
1211
+ r = @sdk_configuration.client.get(url) do |req|
1212
+ req.headers = headers
1213
+ req.params = query_params
1214
+ Utils.configure_request_security(req, @sdk_configuration.security) if !@sdk_configuration.nil? && !@sdk_configuration.security.nil?
1215
+ end
1216
+
1217
+ content_type = r.headers.fetch('Content-Type', 'application/octet-stream')
1218
+
1219
+ res = ::StackOne::Operations::AtsListApplicationsScheduledInterviewsResponse.new(
1220
+ status_code: r.status, content_type: content_type, raw_response: r
1221
+ )
1222
+ if r.status == 200
1223
+ if Utils.match_content_type(content_type, 'application/json')
1224
+ out = Utils.unmarshal_complex(r.env.response_body, ::StackOne::Shared::ScheduledInterviewsPaginated)
1225
+ res.scheduled_interviews_paginated = out
1226
+ end
1227
+ elsif [400, 403, 412, 429, 500, 501].include?(r.status)
1228
+ end
1229
+ res
1230
+ end
1231
+
1232
+
1119
1233
  sig { params(request: T.nilable(::StackOne::Operations::AtsListAssessmentsPackagesRequest)).returns(::StackOne::Operations::AtsListAssessmentsPackagesResponse) }
1120
1234
  def list_assessments_packages(request)
1121
1235
  # list_assessments_packages - List Assessments Packages
@@ -67,7 +67,7 @@ module StackOne
67
67
 
68
68
  sig { params(marketing_create_email_template_request_dto: ::StackOne::Shared::MarketingCreateEmailTemplateRequestDto, x_account_id: ::String).returns(::StackOne::Operations::MarketingCreateEmailTemplateResponse) }
69
69
  def create_email_template(marketing_create_email_template_request_dto, x_account_id)
70
- # create_email_template - Create email template
70
+ # create_email_template - Create Email Templates
71
71
  request = ::StackOne::Operations::MarketingCreateEmailTemplateRequest.new(
72
72
 
73
73
  marketing_create_email_template_request_dto: marketing_create_email_template_request_dto,
@@ -113,7 +113,7 @@ module StackOne
113
113
 
114
114
  sig { params(marketing_create_in_app_template_request_dto: ::StackOne::Shared::MarketingCreateInAppTemplateRequestDto, x_account_id: ::String).returns(::StackOne::Operations::MarketingCreateInAppTemplateResponse) }
115
115
  def create_in_app_template(marketing_create_in_app_template_request_dto, x_account_id)
116
- # create_in_app_template - Create in_app template
116
+ # create_in_app_template - Create In-App Template
117
117
  request = ::StackOne::Operations::MarketingCreateInAppTemplateRequest.new(
118
118
 
119
119
  marketing_create_in_app_template_request_dto: marketing_create_in_app_template_request_dto,
@@ -159,7 +159,7 @@ module StackOne
159
159
 
160
160
  sig { params(marketing_create_template_request_dto: ::StackOne::Shared::MarketingCreateTemplateRequestDto, x_account_id: ::String).returns(::StackOne::Operations::MarketingCreateOmniChannelTemplateResponse) }
161
161
  def create_omni_channel_template(marketing_create_template_request_dto, x_account_id)
162
- # create_omni_channel_template - Create omni-channel template
162
+ # create_omni_channel_template - Create Omni-Channel Template
163
163
  #
164
164
  # @deprecated method: This will be removed in a future release, please migrate away from it as soon as possible.
165
165
  request = ::StackOne::Operations::MarketingCreateOmniChannelTemplateRequest.new(
@@ -207,7 +207,7 @@ module StackOne
207
207
 
208
208
  sig { params(marketing_create_push_template_request_dto: ::StackOne::Shared::MarketingCreatePushTemplateRequestDto, x_account_id: ::String).returns(::StackOne::Operations::MarketingCreatePushTemplateResponse) }
209
209
  def create_push_template(marketing_create_push_template_request_dto, x_account_id)
210
- # create_push_template - Create push template
210
+ # create_push_template - Create Push Template
211
211
  request = ::StackOne::Operations::MarketingCreatePushTemplateRequest.new(
212
212
 
213
213
  marketing_create_push_template_request_dto: marketing_create_push_template_request_dto,
@@ -253,7 +253,7 @@ module StackOne
253
253
 
254
254
  sig { params(marketing_create_sms_template_request_dto: ::StackOne::Shared::MarketingCreateSmsTemplateRequestDto, x_account_id: ::String).returns(::StackOne::Operations::MarketingCreateSmsTemplateResponse) }
255
255
  def create_sms_template(marketing_create_sms_template_request_dto, x_account_id)
256
- # create_sms_template - Create sms template
256
+ # create_sms_template - Create SMS Template
257
257
  request = ::StackOne::Operations::MarketingCreateSmsTemplateRequest.new(
258
258
 
259
259
  marketing_create_sms_template_request_dto: marketing_create_sms_template_request_dto,
@@ -375,7 +375,7 @@ module StackOne
375
375
 
376
376
  sig { params(request: T.nilable(::StackOne::Operations::MarketingGetEmailTemplateRequest)).returns(::StackOne::Operations::MarketingGetEmailTemplateResponse) }
377
377
  def get_email_template(request)
378
- # get_email_template - Get email template
378
+ # get_email_template - Get Email Templates
379
379
  url, params = @sdk_configuration.get_server_details
380
380
  base_url = Utils.template_url(url, params)
381
381
  url = Utils.generate_url(
@@ -413,7 +413,7 @@ module StackOne
413
413
 
414
414
  sig { params(request: T.nilable(::StackOne::Operations::MarketingGetInAppTemplateRequest)).returns(::StackOne::Operations::MarketingGetInAppTemplateResponse) }
415
415
  def get_in_app_template(request)
416
- # get_in_app_template - Get in_app template
416
+ # get_in_app_template - Get In-App Template
417
417
  url, params = @sdk_configuration.get_server_details
418
418
  base_url = Utils.template_url(url, params)
419
419
  url = Utils.generate_url(
@@ -451,7 +451,7 @@ module StackOne
451
451
 
452
452
  sig { params(request: T.nilable(::StackOne::Operations::MarketingGetOmniChannelTemplateRequest)).returns(::StackOne::Operations::MarketingGetOmniChannelTemplateResponse) }
453
453
  def get_omni_channel_template(request)
454
- # get_omni_channel_template - Get omni-channel template
454
+ # get_omni_channel_template - Get Omni-Channel Template
455
455
  #
456
456
  # @deprecated method: This will be removed in a future release, please migrate away from it as soon as possible.
457
457
  url, params = @sdk_configuration.get_server_details
@@ -491,7 +491,7 @@ module StackOne
491
491
 
492
492
  sig { params(request: T.nilable(::StackOne::Operations::MarketingGetPushTemplateRequest)).returns(::StackOne::Operations::MarketingGetPushTemplateResponse) }
493
493
  def get_push_template(request)
494
- # get_push_template - Get push template
494
+ # get_push_template - Get Push Template
495
495
  url, params = @sdk_configuration.get_server_details
496
496
  base_url = Utils.template_url(url, params)
497
497
  url = Utils.generate_url(
@@ -529,7 +529,7 @@ module StackOne
529
529
 
530
530
  sig { params(request: T.nilable(::StackOne::Operations::MarketingGetSmsTemplateRequest)).returns(::StackOne::Operations::MarketingGetSmsTemplateResponse) }
531
531
  def get_sms_template(request)
532
- # get_sms_template - Get sms template
532
+ # get_sms_template - Get SMS Template
533
533
  url, params = @sdk_configuration.get_server_details
534
534
  base_url = Utils.template_url(url, params)
535
535
  url = Utils.generate_url(
@@ -633,7 +633,7 @@ module StackOne
633
633
 
634
634
  sig { params(request: T.nilable(::StackOne::Operations::MarketingListEmailTemplatesRequest)).returns(::StackOne::Operations::MarketingListEmailTemplatesResponse) }
635
635
  def list_email_templates(request)
636
- # list_email_templates - List email templates
636
+ # list_email_templates - List Email Templates
637
637
  url, params = @sdk_configuration.get_server_details
638
638
  base_url = Utils.template_url(url, params)
639
639
  url = "#{base_url}/unified/marketing/templates/email"
@@ -666,7 +666,7 @@ module StackOne
666
666
 
667
667
  sig { params(request: T.nilable(::StackOne::Operations::MarketingListInAppTemplatesRequest)).returns(::StackOne::Operations::MarketingListInAppTemplatesResponse) }
668
668
  def list_in_app_templates(request)
669
- # list_in_app_templates - List in_app templates
669
+ # list_in_app_templates - List In-App Templates
670
670
  url, params = @sdk_configuration.get_server_details
671
671
  base_url = Utils.template_url(url, params)
672
672
  url = "#{base_url}/unified/marketing/templates/in_app"
@@ -699,7 +699,7 @@ module StackOne
699
699
 
700
700
  sig { params(request: T.nilable(::StackOne::Operations::MarketingListOmniChannelTemplatesRequest)).returns(::StackOne::Operations::MarketingListOmniChannelTemplatesResponse) }
701
701
  def list_omni_channel_templates(request)
702
- # list_omni_channel_templates - List omni-channel templates
702
+ # list_omni_channel_templates - List Omni-Channel Templates
703
703
  #
704
704
  # @deprecated method: This will be removed in a future release, please migrate away from it as soon as possible.
705
705
  url, params = @sdk_configuration.get_server_details
@@ -734,7 +734,7 @@ module StackOne
734
734
 
735
735
  sig { params(request: T.nilable(::StackOne::Operations::MarketingListPushTemplatesRequest)).returns(::StackOne::Operations::MarketingListPushTemplatesResponse) }
736
736
  def list_push_templates(request)
737
- # list_push_templates - List push templates
737
+ # list_push_templates - List Push Templates
738
738
  url, params = @sdk_configuration.get_server_details
739
739
  base_url = Utils.template_url(url, params)
740
740
  url = "#{base_url}/unified/marketing/templates/push"
@@ -767,7 +767,7 @@ module StackOne
767
767
 
768
768
  sig { params(request: T.nilable(::StackOne::Operations::MarketingListSmsTemplatesRequest)).returns(::StackOne::Operations::MarketingListSmsTemplatesResponse) }
769
769
  def list_sms_templates(request)
770
- # list_sms_templates - List sms templates
770
+ # list_sms_templates - List SMS Templates
771
771
  url, params = @sdk_configuration.get_server_details
772
772
  base_url = Utils.template_url(url, params)
773
773
  url = "#{base_url}/unified/marketing/templates/sms"
@@ -800,7 +800,7 @@ module StackOne
800
800
 
801
801
  sig { params(marketing_create_content_blocks_request_dto: ::StackOne::Shared::MarketingCreateContentBlocksRequestDto, id: ::String, x_account_id: ::String).returns(::StackOne::Operations::MarketingUpdateContentBlockResponse) }
802
802
  def update_content_block(marketing_create_content_blocks_request_dto, id, x_account_id)
803
- # update_content_block - Update email template
803
+ # update_content_block - Update Content Block
804
804
  request = ::StackOne::Operations::MarketingUpdateContentBlockRequest.new(
805
805
 
806
806
  marketing_create_content_blocks_request_dto: marketing_create_content_blocks_request_dto,
@@ -852,7 +852,7 @@ module StackOne
852
852
 
853
853
  sig { params(marketing_create_email_template_request_dto: ::StackOne::Shared::MarketingCreateEmailTemplateRequestDto, id: ::String, x_account_id: ::String).returns(::StackOne::Operations::MarketingUpdateEmailTemplateResponse) }
854
854
  def update_email_template(marketing_create_email_template_request_dto, id, x_account_id)
855
- # update_email_template - Update email template
855
+ # update_email_template - Update Email Templates
856
856
  request = ::StackOne::Operations::MarketingUpdateEmailTemplateRequest.new(
857
857
 
858
858
  marketing_create_email_template_request_dto: marketing_create_email_template_request_dto,
@@ -904,7 +904,7 @@ module StackOne
904
904
 
905
905
  sig { params(marketing_create_in_app_template_request_dto: ::StackOne::Shared::MarketingCreateInAppTemplateRequestDto, id: ::String, x_account_id: ::String).returns(::StackOne::Operations::MarketingUpdateInAppTemplateResponse) }
906
906
  def update_in_app_template(marketing_create_in_app_template_request_dto, id, x_account_id)
907
- # update_in_app_template - Update in_app template
907
+ # update_in_app_template - Update In-App Template
908
908
  request = ::StackOne::Operations::MarketingUpdateInAppTemplateRequest.new(
909
909
 
910
910
  marketing_create_in_app_template_request_dto: marketing_create_in_app_template_request_dto,
@@ -956,7 +956,7 @@ module StackOne
956
956
 
957
957
  sig { params(marketing_create_template_request_dto: ::StackOne::Shared::MarketingCreateTemplateRequestDto, id: ::String, x_account_id: ::String).returns(::StackOne::Operations::MarketingUpdateOmniChannelTemplateResponse) }
958
958
  def update_omni_channel_template(marketing_create_template_request_dto, id, x_account_id)
959
- # update_omni_channel_template - Update omni-channel template
959
+ # update_omni_channel_template - Update Omni-Channel Template
960
960
  #
961
961
  # @deprecated method: This will be removed in a future release, please migrate away from it as soon as possible.
962
962
  request = ::StackOne::Operations::MarketingUpdateOmniChannelTemplateRequest.new(
@@ -1010,7 +1010,7 @@ module StackOne
1010
1010
 
1011
1011
  sig { params(marketing_create_push_template_request_dto: ::StackOne::Shared::MarketingCreatePushTemplateRequestDto, id: ::String, x_account_id: ::String).returns(::StackOne::Operations::MarketingUpdatePushTemplateResponse) }
1012
1012
  def update_push_template(marketing_create_push_template_request_dto, id, x_account_id)
1013
- # update_push_template - Update push template
1013
+ # update_push_template - Update Push Template
1014
1014
  request = ::StackOne::Operations::MarketingUpdatePushTemplateRequest.new(
1015
1015
 
1016
1016
  marketing_create_push_template_request_dto: marketing_create_push_template_request_dto,
@@ -1062,7 +1062,7 @@ module StackOne
1062
1062
 
1063
1063
  sig { params(marketing_create_sms_template_request_dto: ::StackOne::Shared::MarketingCreateSmsTemplateRequestDto, id: ::String, x_account_id: ::String).returns(::StackOne::Operations::MarketingUpdateSmsTemplateResponse) }
1064
1064
  def update_sms_template(marketing_create_sms_template_request_dto, id, x_account_id)
1065
- # update_sms_template - Update sms template
1065
+ # update_sms_template - Update SMS Template
1066
1066
  request = ::StackOne::Operations::MarketingUpdateSmsTemplateRequest.new(
1067
1067
 
1068
1068
  marketing_create_sms_template_request_dto: marketing_create_sms_template_request_dto,
@@ -0,0 +1,39 @@
1
+ # Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
2
+
3
+ # typed: true
4
+ # frozen_string_literal: true
5
+
6
+
7
+ module StackOne
8
+ module Operations
9
+
10
+
11
+ class AtsGetApplicationScheduledInterviewRequest < ::StackOne::Utils::FieldAugmented
12
+ extend T::Sig
13
+
14
+
15
+ field :id, ::String, { 'path_param': { 'field_name': 'id', 'style': 'simple', 'explode': false } }
16
+
17
+ field :sub_resource_id, ::String, { 'path_param': { 'field_name': 'subResourceId', 'style': 'simple', 'explode': false } }
18
+ # The account identifier
19
+ field :x_account_id, ::String, { 'header': { 'field_name': 'x-account-id', 'style': 'simple', 'explode': false } }
20
+ # The comma separated list of fields that will be returned in the response (if empty, all fields are returned)
21
+ field :fields_, T.nilable(::String), { 'query_param': { 'field_name': 'fields', 'style': 'form', 'explode': true } }
22
+ # Query parameters that can be used to pass through parameters to the underlying provider request by surrounding them with 'proxy' key
23
+ field :proxy, T.nilable(T::Hash[Symbol, ::Object]), { 'query_param': { 'field_name': 'proxy', 'style': 'deepObject', 'explode': true } }
24
+ # Indicates that the raw request result is returned
25
+ field :raw, T.nilable(T::Boolean), { 'query_param': { 'field_name': 'raw', 'style': 'form', 'explode': true } }
26
+
27
+
28
+ sig { params(id: ::String, sub_resource_id: ::String, x_account_id: ::String, fields_: T.nilable(::String), proxy: T.nilable(T::Hash[Symbol, ::Object]), raw: T.nilable(T::Boolean)).void }
29
+ def initialize(id: nil, sub_resource_id: nil, x_account_id: nil, fields_: nil, proxy: nil, raw: nil)
30
+ @id = id
31
+ @sub_resource_id = sub_resource_id
32
+ @x_account_id = x_account_id
33
+ @fields_ = fields_
34
+ @proxy = proxy
35
+ @raw = raw
36
+ end
37
+ end
38
+ end
39
+ end
@@ -0,0 +1,33 @@
1
+ # Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
2
+
3
+ # typed: true
4
+ # frozen_string_literal: true
5
+
6
+
7
+ module StackOne
8
+ module Operations
9
+
10
+
11
+ class AtsGetApplicationScheduledInterviewResponse < ::StackOne::Utils::FieldAugmented
12
+ extend T::Sig
13
+
14
+ # HTTP response content type for this operation
15
+ field :content_type, ::String
16
+ # Raw HTTP response; suitable for custom response parsing
17
+ field :raw_response, ::Faraday::Response
18
+ # HTTP response status code for this operation
19
+ field :status_code, ::Integer
20
+ # The applications scheduled interview with the given identifier was retrieved.
21
+ field :scheduled_interviews_result, T.nilable(::StackOne::Shared::ScheduledInterviewsResult)
22
+
23
+
24
+ sig { params(content_type: ::String, raw_response: ::Faraday::Response, status_code: ::Integer, scheduled_interviews_result: T.nilable(::StackOne::Shared::ScheduledInterviewsResult)).void }
25
+ def initialize(content_type: nil, raw_response: nil, status_code: nil, scheduled_interviews_result: nil)
26
+ @content_type = content_type
27
+ @raw_response = raw_response
28
+ @status_code = status_code
29
+ @scheduled_interviews_result = scheduled_interviews_result
30
+ end
31
+ end
32
+ end
33
+ end
@@ -0,0 +1,36 @@
1
+ # Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
2
+
3
+ # typed: true
4
+ # frozen_string_literal: true
5
+
6
+
7
+ module StackOne
8
+ module Operations
9
+
10
+
11
+ class AtsGetAssessmentsRequestRequest < ::StackOne::Utils::FieldAugmented
12
+ extend T::Sig
13
+
14
+
15
+ field :id, ::String, { 'path_param': { 'field_name': 'id', 'style': 'simple', 'explode': false } }
16
+ # The account identifier
17
+ field :x_account_id, ::String, { 'header': { 'field_name': 'x-account-id', 'style': 'simple', 'explode': false } }
18
+ # The comma separated list of fields to return in the response (if empty, all fields are returned)
19
+ field :fields_, T.nilable(::String), { 'query_param': { 'field_name': 'fields', 'style': 'form', 'explode': true } }
20
+ # Query parameters that can be used to pass through parameters to the underlying provider request by surrounding them with 'proxy' key
21
+ field :proxy, T.nilable(T::Hash[Symbol, ::Object]), { 'query_param': { 'field_name': 'proxy', 'style': 'deepObject', 'explode': true } }
22
+ # Indicates that the raw request result is returned
23
+ field :raw, T.nilable(T::Boolean), { 'query_param': { 'field_name': 'raw', 'style': 'form', 'explode': true } }
24
+
25
+
26
+ sig { params(id: ::String, x_account_id: ::String, fields_: T.nilable(::String), proxy: T.nilable(T::Hash[Symbol, ::Object]), raw: T.nilable(T::Boolean)).void }
27
+ def initialize(id: nil, x_account_id: nil, fields_: nil, proxy: nil, raw: nil)
28
+ @id = id
29
+ @x_account_id = x_account_id
30
+ @fields_ = fields_
31
+ @proxy = proxy
32
+ @raw = raw
33
+ end
34
+ end
35
+ end
36
+ end
@@ -0,0 +1,33 @@
1
+ # Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
2
+
3
+ # typed: true
4
+ # frozen_string_literal: true
5
+
6
+
7
+ module StackOne
8
+ module Operations
9
+
10
+
11
+ class AtsGetAssessmentsRequestResponse < ::StackOne::Utils::FieldAugmented
12
+ extend T::Sig
13
+
14
+ # HTTP response content type for this operation
15
+ field :content_type, ::String
16
+ # Raw HTTP response; suitable for custom response parsing
17
+ field :raw_response, ::Faraday::Response
18
+ # HTTP response status code for this operation
19
+ field :status_code, ::Integer
20
+ # The assessments order with the given identifier was retrieved.
21
+ field :assessments_results_result, T.nilable(::StackOne::Shared::AssessmentsResultsResult)
22
+
23
+
24
+ sig { params(content_type: ::String, raw_response: ::Faraday::Response, status_code: ::Integer, assessments_results_result: T.nilable(::StackOne::Shared::AssessmentsResultsResult)).void }
25
+ def initialize(content_type: nil, raw_response: nil, status_code: nil, assessments_results_result: nil)
26
+ @content_type = content_type
27
+ @raw_response = raw_response
28
+ @status_code = status_code
29
+ @assessments_results_result = assessments_results_result
30
+ end
31
+ end
32
+ end
33
+ end
@@ -0,0 +1,24 @@
1
+ # Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
2
+
3
+ # typed: true
4
+ # frozen_string_literal: true
5
+
6
+
7
+ module StackOne
8
+ module Operations
9
+
10
+ # Filter parameters that allow greater customisation of the list response
11
+ class AtsListApplicationsScheduledInterviewsQueryParamFilter < ::StackOne::Utils::FieldAugmented
12
+ extend T::Sig
13
+
14
+ # Use a string with a date to only select results updated after that given date
15
+ field :updated_after, T.nilable(::String), { 'query_param': { 'field_name': 'updated_after' } }
16
+
17
+
18
+ sig { params(updated_after: T.nilable(::String)).void }
19
+ def initialize(updated_after: nil)
20
+ @updated_after = updated_after
21
+ end
22
+ end
23
+ end
24
+ end
@@ -0,0 +1,60 @@
1
+ # Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
2
+
3
+ # typed: true
4
+ # frozen_string_literal: true
5
+
6
+
7
+ module StackOne
8
+ module Operations
9
+
10
+
11
+ class AtsListApplicationsScheduledInterviewsRequest < ::StackOne::Utils::FieldAugmented
12
+ extend T::Sig
13
+
14
+
15
+ field :id, ::String, { 'path_param': { 'field_name': 'id', 'style': 'simple', 'explode': false } }
16
+ # The account identifier
17
+ field :x_account_id, ::String, { 'header': { 'field_name': 'x-account-id', 'style': 'simple', 'explode': false } }
18
+ # The comma separated list of fields that will be returned in the response (if empty, all fields are returned)
19
+ field :fields_, T.nilable(::String), { 'query_param': { 'field_name': 'fields', 'style': 'form', 'explode': true } }
20
+ # Filter parameters that allow greater customisation of the list response
21
+ field :filter, T.nilable(::StackOne::Operations::AtsListApplicationsScheduledInterviewsQueryParamFilter), { 'query_param': { 'field_name': 'filter', 'style': 'deepObject', 'explode': true } }
22
+ # The unified cursor
23
+ field :next_, T.nilable(::String), { 'query_param': { 'field_name': 'next', 'style': 'form', 'explode': true } }
24
+ # The page number of the results to fetch
25
+ #
26
+ # @deprecated true: This will be removed in a future release, please migrate away from it as soon as possible.
27
+ field :page, T.nilable(::String), { 'query_param': { 'field_name': 'page', 'style': 'form', 'explode': true } }
28
+ # The number of results per page
29
+ field :page_size, T.nilable(::String), { 'query_param': { 'field_name': 'page_size', 'style': 'form', 'explode': true } }
30
+ # Query parameters that can be used to pass through parameters to the underlying provider request by surrounding them with 'proxy' key
31
+ field :proxy, T.nilable(T::Hash[Symbol, ::Object]), { 'query_param': { 'field_name': 'proxy', 'style': 'deepObject', 'explode': true } }
32
+ # Indicates that the raw request result is returned
33
+ field :raw, T.nilable(T::Boolean), { 'query_param': { 'field_name': 'raw', 'style': 'form', 'explode': true } }
34
+ # The sync token to select the only updated results
35
+ #
36
+ # @deprecated true: This will be removed in a future release, please migrate away from it as soon as possible.
37
+ field :sync_token, T.nilable(::String), { 'query_param': { 'field_name': 'sync_token', 'style': 'form', 'explode': true } }
38
+ # Use a string with a date to only select results updated after that given date
39
+ #
40
+ # @deprecated true: This will be removed in a future release, please migrate away from it as soon as possible.
41
+ field :updated_after, T.nilable(::String), { 'query_param': { 'field_name': 'updated_after', 'style': 'form', 'explode': true } }
42
+
43
+
44
+ sig { params(id: ::String, x_account_id: ::String, fields_: T.nilable(::String), filter: T.nilable(::StackOne::Operations::AtsListApplicationsScheduledInterviewsQueryParamFilter), next_: T.nilable(::String), page: T.nilable(::String), page_size: T.nilable(::String), proxy: T.nilable(T::Hash[Symbol, ::Object]), raw: T.nilable(T::Boolean), sync_token: T.nilable(::String), updated_after: T.nilable(::String)).void }
45
+ def initialize(id: nil, x_account_id: nil, fields_: nil, filter: nil, next_: nil, page: nil, page_size: nil, proxy: nil, raw: nil, sync_token: nil, updated_after: nil)
46
+ @id = id
47
+ @x_account_id = x_account_id
48
+ @fields_ = fields_
49
+ @filter = filter
50
+ @next_ = next_
51
+ @page = page
52
+ @page_size = page_size
53
+ @proxy = proxy
54
+ @raw = raw
55
+ @sync_token = sync_token
56
+ @updated_after = updated_after
57
+ end
58
+ end
59
+ end
60
+ end
@@ -0,0 +1,33 @@
1
+ # Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
2
+
3
+ # typed: true
4
+ # frozen_string_literal: true
5
+
6
+
7
+ module StackOne
8
+ module Operations
9
+
10
+
11
+ class AtsListApplicationsScheduledInterviewsResponse < ::StackOne::Utils::FieldAugmented
12
+ extend T::Sig
13
+
14
+ # HTTP response content type for this operation
15
+ field :content_type, ::String
16
+ # Raw HTTP response; suitable for custom response parsing
17
+ field :raw_response, ::Faraday::Response
18
+ # HTTP response status code for this operation
19
+ field :status_code, ::Integer
20
+ # The list of applications scheduled interviews was retrieved.
21
+ field :scheduled_interviews_paginated, T.nilable(::StackOne::Shared::ScheduledInterviewsPaginated)
22
+
23
+
24
+ sig { params(content_type: ::String, raw_response: ::Faraday::Response, status_code: ::Integer, scheduled_interviews_paginated: T.nilable(::StackOne::Shared::ScheduledInterviewsPaginated)).void }
25
+ def initialize(content_type: nil, raw_response: nil, status_code: nil, scheduled_interviews_paginated: nil)
26
+ @content_type = content_type
27
+ @raw_response = raw_response
28
+ @status_code = status_code
29
+ @scheduled_interviews_paginated = scheduled_interviews_paginated
30
+ end
31
+ end
32
+ end
33
+ end
@@ -17,7 +17,7 @@ module StackOne
17
17
  field :raw_response, ::Faraday::Response
18
18
  # HTTP response status code for this operation
19
19
  field :status_code, ::Integer
20
- # The in_app template with the given identifier was retrieved.
20
+ # The in-app template with the given identifier was retrieved.
21
21
  field :template_result, T.nilable(::StackOne::Shared::TemplateResult)
22
22
 
23
23
 
@@ -17,7 +17,7 @@ module StackOne
17
17
  field :raw_response, ::Faraday::Response
18
18
  # HTTP response status code for this operation
19
19
  field :status_code, ::Integer
20
- # The list of in_app templates was retrieved.
20
+ # The list of in-app templates was retrieved.
21
21
  field :templates_paginated, T.nilable(::StackOne::Shared::TemplatesPaginated)
22
22
 
23
23
 
@@ -37,10 +37,14 @@ module StackOne
37
37
  autoload :AtsGetApplicationDocumentResponse, 'stack_one/models/operations/ats_get_application_document_response.rb'
38
38
  autoload :AtsGetApplicationOfferRequest, 'stack_one/models/operations/ats_get_application_offer_request.rb'
39
39
  autoload :AtsGetApplicationOfferResponse, 'stack_one/models/operations/ats_get_application_offer_response.rb'
40
+ autoload :AtsGetApplicationScheduledInterviewRequest, 'stack_one/models/operations/ats_get_application_scheduled_interview_request.rb'
41
+ autoload :AtsGetApplicationScheduledInterviewResponse, 'stack_one/models/operations/ats_get_application_scheduled_interview_response.rb'
40
42
  autoload :AtsGetApplicationScorecardRequest, 'stack_one/models/operations/ats_get_application_scorecard_request.rb'
41
43
  autoload :AtsGetApplicationScorecardResponse, 'stack_one/models/operations/ats_get_application_scorecard_response.rb'
42
44
  autoload :AtsGetAssessmentsPackageRequest, 'stack_one/models/operations/ats_get_assessments_package_request.rb'
43
45
  autoload :AtsGetAssessmentsPackageResponse, 'stack_one/models/operations/ats_get_assessments_package_response.rb'
46
+ autoload :AtsGetAssessmentsRequestRequest, 'stack_one/models/operations/ats_get_assessments_request_request.rb'
47
+ autoload :AtsGetAssessmentsRequestResponse, 'stack_one/models/operations/ats_get_assessments_request_response.rb'
44
48
  autoload :AtsGetAssessmentsResultRequest, 'stack_one/models/operations/ats_get_assessments_result_request.rb'
45
49
  autoload :AtsGetAssessmentsResultResponse, 'stack_one/models/operations/ats_get_assessments_result_response.rb'
46
50
  autoload :AtsGetCandidateRequest, 'stack_one/models/operations/ats_get_candidate_request.rb'
@@ -82,6 +86,9 @@ module StackOne
82
86
  autoload :AtsListApplicationsOffersQueryParamFilter, 'stack_one/models/operations/ats_list_applications_offers_queryparam_filter.rb'
83
87
  autoload :AtsListApplicationsOffersRequest, 'stack_one/models/operations/ats_list_applications_offers_request.rb'
84
88
  autoload :AtsListApplicationsOffersResponse, 'stack_one/models/operations/ats_list_applications_offers_response.rb'
89
+ autoload :AtsListApplicationsScheduledInterviewsQueryParamFilter, 'stack_one/models/operations/ats_list_applications_scheduled_interviews_queryparam_filter.rb'
90
+ autoload :AtsListApplicationsScheduledInterviewsRequest, 'stack_one/models/operations/ats_list_applications_scheduled_interviews_request.rb'
91
+ autoload :AtsListApplicationsScheduledInterviewsResponse, 'stack_one/models/operations/ats_list_applications_scheduled_interviews_response.rb'
85
92
  autoload :AtsListAssessmentsPackagesQueryParamFilter, 'stack_one/models/operations/ats_list_assessments_packages_queryparam_filter.rb'
86
93
  autoload :AtsListAssessmentsPackagesRequest, 'stack_one/models/operations/ats_list_assessments_packages_request.rb'
87
94
  autoload :AtsListAssessmentsPackagesResponse, 'stack_one/models/operations/ats_list_assessments_packages_response.rb'
@@ -13,6 +13,8 @@ module StackOne
13
13
 
14
14
 
15
15
  field :application_status, T.nilable(::StackOne::Shared::AtsUpdateApplicationRequestDtoApplicationStatus), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('application_status') } }
16
+ # The application custom fields
17
+ field :custom_fields, T.nilable(T::Array[::StackOne::Shared::ApplicationCustomFields]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('custom_fields') } }
16
18
  # Unique identifier of the interview stage
17
19
  field :interview_stage_id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('interview_stage_id') } }
18
20
  # Value to pass through to the provider
@@ -23,9 +25,10 @@ module StackOne
23
25
  field :source, T.nilable(::StackOne::Shared::AtsUpdateApplicationRequestDtoSource), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('source') } }
24
26
 
25
27
 
26
- sig { params(application_status: T.nilable(::StackOne::Shared::AtsUpdateApplicationRequestDtoApplicationStatus), interview_stage_id: T.nilable(::String), passthrough: T.nilable(T::Hash[Symbol, ::Object]), rejected_reason_id: T.nilable(::String), source: T.nilable(::StackOne::Shared::AtsUpdateApplicationRequestDtoSource)).void }
27
- def initialize(application_status: nil, interview_stage_id: nil, passthrough: nil, rejected_reason_id: nil, source: nil)
28
+ sig { params(application_status: T.nilable(::StackOne::Shared::AtsUpdateApplicationRequestDtoApplicationStatus), custom_fields: T.nilable(T::Array[::StackOne::Shared::ApplicationCustomFields]), interview_stage_id: T.nilable(::String), passthrough: T.nilable(T::Hash[Symbol, ::Object]), rejected_reason_id: T.nilable(::String), source: T.nilable(::StackOne::Shared::AtsUpdateApplicationRequestDtoSource)).void }
29
+ def initialize(application_status: nil, custom_fields: nil, interview_stage_id: nil, passthrough: nil, rejected_reason_id: nil, source: nil)
28
30
  @application_status = application_status
31
+ @custom_fields = custom_fields
29
32
  @interview_stage_id = interview_stage_id
30
33
  @passthrough = passthrough
31
34
  @rejected_reason_id = rejected_reason_id
@@ -0,0 +1,72 @@
1
+ # Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
2
+
3
+ # typed: true
4
+ # frozen_string_literal: true
5
+
6
+
7
+ module StackOne
8
+ module Shared
9
+
10
+
11
+ class ScheduledInterview < ::StackOne::Utils::FieldAugmented
12
+ extend T::Sig
13
+
14
+
15
+ field :application_id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('application_id') } }
16
+ # Interview created date
17
+ field :created_at, T.nilable(::DateTime), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('created_at'), 'decoder': Utils.datetime_from_iso_format(true) } }
18
+ # Interview end date
19
+ field :end_at, T.nilable(::DateTime), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('end_at'), 'decoder': Utils.datetime_from_iso_format(true) } }
20
+ # Unique identifier
21
+ field :id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('id') } }
22
+
23
+ field :interview_parts, T.nilable(T::Array[::StackOne::Shared::InterviewPart]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('interview_parts') } }
24
+
25
+ field :interview_stage, T.nilable(::StackOne::Shared::ScheduledInterviewInterviewStage), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('interview_stage') } }
26
+
27
+ field :interview_stage_id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('interview_stage_id') } }
28
+
29
+ field :interview_status, T.nilable(::StackOne::Shared::ScheduledInterviewInterviewStatus), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('interview_status') } }
30
+
31
+ field :interviewer_ids, T.nilable(T::Array[::String]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('interviewer_ids') } }
32
+
33
+ field :interviewers, T.nilable(T::Array[::StackOne::Shared::Interviewer]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('interviewers') } }
34
+
35
+ field :meeting_url, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('meeting_url') } }
36
+ # Provider's unique identifier of the application
37
+ field :remote_application_id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('remote_application_id') } }
38
+ # Provider's unique identifier
39
+ field :remote_id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('remote_id') } }
40
+ # Provider's unique identifier of the interview stage
41
+ field :remote_interview_stage_id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('remote_interview_stage_id') } }
42
+ # Provider's unique identifiers of the interviewers
43
+ field :remote_interviewer_ids, T.nilable(T::Array[::String]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('remote_interviewer_ids') } }
44
+ # Interview start date
45
+ field :start_at, T.nilable(::DateTime), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('start_at'), 'decoder': Utils.datetime_from_iso_format(true) } }
46
+ # Interview updated date
47
+ field :updated_at, T.nilable(::DateTime), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('updated_at'), 'decoder': Utils.datetime_from_iso_format(true) } }
48
+
49
+
50
+ sig { params(application_id: T.nilable(::String), created_at: T.nilable(::DateTime), end_at: T.nilable(::DateTime), id: T.nilable(::String), interview_parts: T.nilable(T::Array[::StackOne::Shared::InterviewPart]), interview_stage: T.nilable(::StackOne::Shared::ScheduledInterviewInterviewStage), interview_stage_id: T.nilable(::String), interview_status: T.nilable(::StackOne::Shared::ScheduledInterviewInterviewStatus), interviewer_ids: T.nilable(T::Array[::String]), interviewers: T.nilable(T::Array[::StackOne::Shared::Interviewer]), meeting_url: T.nilable(::String), remote_application_id: T.nilable(::String), remote_id: T.nilable(::String), remote_interview_stage_id: T.nilable(::String), remote_interviewer_ids: T.nilable(T::Array[::String]), start_at: T.nilable(::DateTime), updated_at: T.nilable(::DateTime)).void }
51
+ def initialize(application_id: nil, created_at: nil, end_at: nil, id: nil, interview_parts: nil, interview_stage: nil, interview_stage_id: nil, interview_status: nil, interviewer_ids: nil, interviewers: nil, meeting_url: nil, remote_application_id: nil, remote_id: nil, remote_interview_stage_id: nil, remote_interviewer_ids: nil, start_at: nil, updated_at: nil)
52
+ @application_id = application_id
53
+ @created_at = created_at
54
+ @end_at = end_at
55
+ @id = id
56
+ @interview_parts = interview_parts
57
+ @interview_stage = interview_stage
58
+ @interview_stage_id = interview_stage_id
59
+ @interview_status = interview_status
60
+ @interviewer_ids = interviewer_ids
61
+ @interviewers = interviewers
62
+ @meeting_url = meeting_url
63
+ @remote_application_id = remote_application_id
64
+ @remote_id = remote_id
65
+ @remote_interview_stage_id = remote_interview_stage_id
66
+ @remote_interviewer_ids = remote_interviewer_ids
67
+ @start_at = start_at
68
+ @updated_at = updated_at
69
+ end
70
+ end
71
+ end
72
+ end
@@ -0,0 +1,39 @@
1
+ # Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
2
+
3
+ # typed: true
4
+ # frozen_string_literal: true
5
+
6
+
7
+ module StackOne
8
+ module Shared
9
+
10
+
11
+ class ScheduledInterviewInterviewStage < ::StackOne::Utils::FieldAugmented
12
+ extend T::Sig
13
+
14
+ # Interview Stage created date
15
+ field :created_at, T.nilable(::DateTime), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('created_at'), 'decoder': Utils.datetime_from_iso_format(true) } }
16
+ # Unique identifier
17
+ field :id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('id') } }
18
+
19
+ field :name, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('name') } }
20
+
21
+ field :order, T.nilable(::Float), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('order') } }
22
+ # Provider's unique identifier
23
+ field :remote_id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('remote_id') } }
24
+ # Interview Stage updated date
25
+ field :updated_at, T.nilable(::DateTime), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('updated_at'), 'decoder': Utils.datetime_from_iso_format(true) } }
26
+
27
+
28
+ sig { params(created_at: T.nilable(::DateTime), id: T.nilable(::String), name: T.nilable(::String), order: T.nilable(::Float), remote_id: T.nilable(::String), updated_at: T.nilable(::DateTime)).void }
29
+ def initialize(created_at: nil, id: nil, name: nil, order: nil, remote_id: nil, updated_at: nil)
30
+ @created_at = created_at
31
+ @id = id
32
+ @name = name
33
+ @order = order
34
+ @remote_id = remote_id
35
+ @updated_at = updated_at
36
+ end
37
+ end
38
+ end
39
+ end
@@ -0,0 +1,27 @@
1
+ # Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
2
+
3
+ # typed: true
4
+ # frozen_string_literal: true
5
+
6
+
7
+ module StackOne
8
+ module Shared
9
+
10
+
11
+ class ScheduledInterviewInterviewStatus < ::StackOne::Utils::FieldAugmented
12
+ extend T::Sig
13
+
14
+ # The source value of the interview status.
15
+ field :source_value, T.nilable(::Object), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('source_value') } }
16
+ # The status of the interview.
17
+ field :value, T.nilable(::StackOne::Shared::ScheduledInterviewValue), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('value'), 'decoder': Utils.enum_from_string(::StackOne::Shared::ScheduledInterviewValue, true) } }
18
+
19
+
20
+ sig { params(source_value: T.nilable(::Object), value: T.nilable(::StackOne::Shared::ScheduledInterviewValue)).void }
21
+ def initialize(source_value: nil, value: nil)
22
+ @source_value = source_value
23
+ @value = value
24
+ end
25
+ end
26
+ end
27
+ end
@@ -0,0 +1,23 @@
1
+ # Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
2
+
3
+ # typed: true
4
+ # frozen_string_literal: true
5
+
6
+
7
+ module StackOne
8
+ module Shared
9
+
10
+ # ScheduledInterviewValue - The status of the interview.
11
+ class ScheduledInterviewValue < T::Enum
12
+ enums do
13
+ UNSCHEDULED = new('unscheduled')
14
+ SCHEDULED = new('scheduled')
15
+ COMPLETED = new('completed')
16
+ CANCELLED = new('cancelled')
17
+ PENDING_FEEDBACK = new('pending_feedback')
18
+ UNMAPPED_VALUE = new('unmapped_value')
19
+ end
20
+ end
21
+
22
+ end
23
+ end
@@ -0,0 +1,33 @@
1
+ # Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
2
+
3
+ # typed: true
4
+ # frozen_string_literal: true
5
+
6
+
7
+ module StackOne
8
+ module Shared
9
+
10
+
11
+ class ScheduledInterviewsPaginated < ::StackOne::Utils::FieldAugmented
12
+ extend T::Sig
13
+
14
+
15
+ field :data, T::Array[::StackOne::Shared::ScheduledInterview], { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('data') } }
16
+
17
+ field :next_, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('next') } }
18
+ # @deprecated true: This will be removed in a future release, please migrate away from it as soon as possible.
19
+ field :next_page, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('next_page') } }
20
+
21
+ field :raw, T.nilable(T::Array[::StackOne::Shared::RawResponse]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('raw') } }
22
+
23
+
24
+ sig { params(data: T::Array[::StackOne::Shared::ScheduledInterview], next_: T.nilable(::String), next_page: T.nilable(::String), raw: T.nilable(T::Array[::StackOne::Shared::RawResponse])).void }
25
+ def initialize(data: nil, next_: nil, next_page: nil, raw: nil)
26
+ @data = data
27
+ @next_ = next_
28
+ @next_page = next_page
29
+ @raw = raw
30
+ end
31
+ end
32
+ end
33
+ end
@@ -0,0 +1,27 @@
1
+ # Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
2
+
3
+ # typed: true
4
+ # frozen_string_literal: true
5
+
6
+
7
+ module StackOne
8
+ module Shared
9
+
10
+
11
+ class ScheduledInterviewsResult < ::StackOne::Utils::FieldAugmented
12
+ extend T::Sig
13
+
14
+
15
+ field :data, ::StackOne::Shared::ScheduledInterview, { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('data') } }
16
+
17
+ field :raw, T.nilable(T::Array[::StackOne::Shared::RawResponse]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('raw') } }
18
+
19
+
20
+ sig { params(data: ::StackOne::Shared::ScheduledInterview, raw: T.nilable(T::Array[::StackOne::Shared::RawResponse])).void }
21
+ def initialize(data: nil, raw: nil)
22
+ @data = data
23
+ @raw = raw
24
+ end
25
+ end
26
+ end
27
+ end
@@ -12,12 +12,12 @@ module StackOne
12
12
  extend T::Sig
13
13
 
14
14
 
15
- field :password, T.nilable(::String), { 'security': { 'scheme': true, 'type': 'http', 'sub_type': 'basic', 'field_name': 'password' } }
15
+ field :password, ::String, { 'security': { 'scheme': true, 'type': 'http', 'sub_type': 'basic', 'field_name': 'password' } }
16
16
 
17
- field :username, T.nilable(::String), { 'security': { 'scheme': true, 'type': 'http', 'sub_type': 'basic', 'field_name': 'username' } }
17
+ field :username, ::String, { 'security': { 'scheme': true, 'type': 'http', 'sub_type': 'basic', 'field_name': 'username' } }
18
18
 
19
19
 
20
- sig { params(password: T.nilable(::String), username: T.nilable(::String)).void }
20
+ sig { params(password: ::String, username: ::String).void }
21
21
  def initialize(password: nil, username: nil)
22
22
  @password = password
23
23
  @username = username
@@ -83,6 +83,15 @@ module StackOne
83
83
  autoload :OfferValue, 'stack_one/models/shared/offer_value.rb'
84
84
  autoload :OfferOfferStatus, 'stack_one/models/shared/offer_offer_status.rb'
85
85
  autoload :Offer, 'stack_one/models/shared/offer.rb'
86
+ autoload :ScheduledInterviewsResult, 'stack_one/models/shared/scheduledinterviewsresult.rb'
87
+ autoload :ScheduledInterviewInterviewStage, 'stack_one/models/shared/scheduledinterview_interview_stage.rb'
88
+ autoload :ScheduledInterviewValue, 'stack_one/models/shared/scheduledinterview_value.rb'
89
+ autoload :ScheduledInterviewInterviewStatus, 'stack_one/models/shared/scheduledinterview_interview_status.rb'
90
+ autoload :ScheduledInterview, 'stack_one/models/shared/scheduledinterview.rb'
91
+ autoload :Interviewer, 'stack_one/models/shared/interviewer.rb'
92
+ autoload :InterviewPartValue, 'stack_one/models/shared/interviewpart_value.rb'
93
+ autoload :InterviewPartType, 'stack_one/models/shared/interviewpart_type.rb'
94
+ autoload :InterviewPart, 'stack_one/models/shared/interviewpart.rb'
86
95
  autoload :ScorecardsResult, 'stack_one/models/shared/scorecardsresult.rb'
87
96
  autoload :OverallRecommendation, 'stack_one/models/shared/overall_recommendation.rb'
88
97
  autoload :Scorecard, 'stack_one/models/shared/scorecard.rb'
@@ -114,10 +123,6 @@ module StackOne
114
123
  autoload :InterviewValue, 'stack_one/models/shared/interview_value.rb'
115
124
  autoload :InterviewStatus, 'stack_one/models/shared/interview_status.rb'
116
125
  autoload :Interview, 'stack_one/models/shared/interview.rb'
117
- autoload :Interviewer, 'stack_one/models/shared/interviewer.rb'
118
- autoload :InterviewPartValue, 'stack_one/models/shared/interviewpart_value.rb'
119
- autoload :InterviewPartType, 'stack_one/models/shared/interviewpart_type.rb'
120
- autoload :InterviewPart, 'stack_one/models/shared/interviewpart.rb'
121
126
  autoload :InterviewStageResult, 'stack_one/models/shared/interviewstageresult.rb'
122
127
  autoload :InterviewStage, 'stack_one/models/shared/interviewstage.rb'
123
128
  autoload :JobResult, 'stack_one/models/shared/jobresult.rb'
@@ -167,6 +172,7 @@ module StackOne
167
172
  autoload :ScorecardsPaginated, 'stack_one/models/shared/scorecardspaginated.rb'
168
173
  autoload :ApplicationsPaginated, 'stack_one/models/shared/applicationspaginated.rb'
169
174
  autoload :OffersPaginated, 'stack_one/models/shared/offerspaginated.rb'
175
+ autoload :ScheduledInterviewsPaginated, 'stack_one/models/shared/scheduledinterviewspaginated.rb'
170
176
  autoload :AssessmentsPackagesPaginated, 'stack_one/models/shared/assessmentspackagespaginated.rb'
171
177
  autoload :NotesPaginated, 'stack_one/models/shared/notespaginated.rb'
172
178
  autoload :CandidatesPaginated, 'stack_one/models/shared/candidatespaginated.rb'
@@ -11,7 +11,7 @@ module StackOne
11
11
  extend T::Sig
12
12
 
13
13
  SERVERS = [
14
- 'https://api-beta.stackone.com',
14
+ 'https://api.stackone.com',
15
15
  ].freeze
16
16
  # Contains the list of servers available to the SDK
17
17
 
@@ -38,9 +38,9 @@ module StackOne
38
38
  @security = security
39
39
  @language = 'ruby'
40
40
  @openapi_doc_version = '1.0.0'
41
- @sdk_version = '0.2.34'
42
- @gen_version = '2.379.6'
43
- @user_agent = 'speakeasy-sdk/ruby 0.2.34 2.379.6 1.0.0 stackone_client'
41
+ @sdk_version = '0.2.35'
42
+ @gen_version = '2.384.4'
43
+ @user_agent = 'speakeasy-sdk/ruby 0.2.35 2.384.4 1.0.0 stackone_client'
44
44
  end
45
45
 
46
46
  sig { returns([String, T::Hash[Symbol, String]]) }
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: stackone_client
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.34
4
+ version: 0.2.35
5
5
  platform: ruby
6
6
  authors:
7
7
  - StackOne
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-07-29 00:00:00.000000000 Z
11
+ date: 2024-08-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday
@@ -168,10 +168,14 @@ files:
168
168
  - lib/stack_one/models/operations/ats_get_application_offer_response.rb
169
169
  - lib/stack_one/models/operations/ats_get_application_request.rb
170
170
  - lib/stack_one/models/operations/ats_get_application_response.rb
171
+ - lib/stack_one/models/operations/ats_get_application_scheduled_interview_request.rb
172
+ - lib/stack_one/models/operations/ats_get_application_scheduled_interview_response.rb
171
173
  - lib/stack_one/models/operations/ats_get_application_scorecard_request.rb
172
174
  - lib/stack_one/models/operations/ats_get_application_scorecard_response.rb
173
175
  - lib/stack_one/models/operations/ats_get_assessments_package_request.rb
174
176
  - lib/stack_one/models/operations/ats_get_assessments_package_response.rb
177
+ - lib/stack_one/models/operations/ats_get_assessments_request_request.rb
178
+ - lib/stack_one/models/operations/ats_get_assessments_request_response.rb
175
179
  - lib/stack_one/models/operations/ats_get_assessments_result_request.rb
176
180
  - lib/stack_one/models/operations/ats_get_assessments_result_response.rb
177
181
  - lib/stack_one/models/operations/ats_get_candidate_note_request.rb
@@ -211,6 +215,9 @@ files:
211
215
  - lib/stack_one/models/operations/ats_list_applications_queryparam_filter.rb
212
216
  - lib/stack_one/models/operations/ats_list_applications_request.rb
213
217
  - lib/stack_one/models/operations/ats_list_applications_response.rb
218
+ - lib/stack_one/models/operations/ats_list_applications_scheduled_interviews_queryparam_filter.rb
219
+ - lib/stack_one/models/operations/ats_list_applications_scheduled_interviews_request.rb
220
+ - lib/stack_one/models/operations/ats_list_applications_scheduled_interviews_response.rb
214
221
  - lib/stack_one/models/operations/ats_list_assessments_packages_queryparam_filter.rb
215
222
  - lib/stack_one/models/operations/ats_list_assessments_packages_request.rb
216
223
  - lib/stack_one/models/operations/ats_list_assessments_packages_response.rb
@@ -885,6 +892,12 @@ files:
885
892
  - lib/stack_one/models/shared/result.rb
886
893
  - lib/stack_one/models/shared/resultlink.rb
887
894
  - lib/stack_one/models/shared/schedule_type.rb
895
+ - lib/stack_one/models/shared/scheduledinterview.rb
896
+ - lib/stack_one/models/shared/scheduledinterview_interview_stage.rb
897
+ - lib/stack_one/models/shared/scheduledinterview_interview_status.rb
898
+ - lib/stack_one/models/shared/scheduledinterview_value.rb
899
+ - lib/stack_one/models/shared/scheduledinterviewspaginated.rb
900
+ - lib/stack_one/models/shared/scheduledinterviewsresult.rb
888
901
  - lib/stack_one/models/shared/score.rb
889
902
  - lib/stack_one/models/shared/scorecard.rb
890
903
  - lib/stack_one/models/shared/scorecardsection.rb