affixapi 1.1.63 → 1.1.65

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: b9b435e32a2cc256dadd3594b11fa0eedee64749ea3dfe243e54a1b54a1c73ce
4
- data.tar.gz: ef2ee5e95e10108715439f0b434a635377060e732931ae72d7bd1ab059ccb407
3
+ metadata.gz: 79d68d88b31abe72c2017873e80c9278c8e86391412ca32fbe05b3db371206f7
4
+ data.tar.gz: aca4f98580f53af9ac06c573fe12fce3a4e0bfa46188f9527356cde3e6834af8
5
5
  SHA512:
6
- metadata.gz: 417166b6285e0a726e24d8952333d6b3a58f108b3451d4f61cd11c110328f479a154b8afa2debd56515df9596df75496fcfee40155d495419f4a80458c57470e
7
- data.tar.gz: ce0f06e725c57989bf0dd7b4b86a098cfef2f9d1de89eb5ca3cfccb13f7f41ee066856c030cea52aa0ae1e2ca6c61b88b825a4d9ac8813940d5e2f6ebe230499
6
+ metadata.gz: 631742599105277b878b1756546de35c36bbb3d26198d3ae278ab89684d3755398354ae1849e505ab17a6dca824bfcef5805cb05aea943e819328335d8a447af
7
+ data.tar.gz: 287aad72d4053d34d04bb8737f316584da06163ee94ae52a27e8b9a30d91156b2045cb7b0eb17fb80496ad5f0cb7db497dd4dac07a11a1cc8fe2af1e252bfcd8
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- affixapi (1.1.63)
4
+ affixapi (1.1.65)
5
5
  typhoeus (~> 1.0, >= 1.0.1)
6
6
 
7
7
  GEM
@@ -107,7 +107,7 @@ end
107
107
 
108
108
  api_instance = OpenapiClient::Class20230301Api.new
109
109
  opts = {
110
- employment_status: OpenapiClient::EmploymentStatusNotNullNotNullable::ACTIVE # EmploymentStatusNotNullNotNullable | Enable server-side filtering of the `employment_status` attribute. Will only include individuals with that attribute explicitly set (ie if an individuals has a `null`, it will not be returned if this parameter is set)
110
+ employment_status: OpenapiClient::EmploymentStatusNotNullNotNullable::ACTIVE # EmploymentStatusNotNullNotNullable | Optional query parameter. Use to enable server-side filtering of the `employment_status` attribute. Will only include individuals with that attribute explicitly set (ie if an individuals has a `null`, it will not be returned if this parameter is set)
111
111
  }
112
112
 
113
113
  begin
@@ -141,7 +141,7 @@ end
141
141
 
142
142
  | Name | Type | Description | Notes |
143
143
  | ---- | ---- | ----------- | ----- |
144
- | **employment_status** | [**EmploymentStatusNotNullNotNullable**](.md) | Enable server-side filtering of the `employment_status` attribute. Will only include individuals with that attribute explicitly set (ie if an individuals has a `null`, it will not be returned if this parameter is set) | [optional] |
144
+ | **employment_status** | [**EmploymentStatusNotNullNotNullable**](.md) | Optional query parameter. Use to enable server-side filtering of the `employment_status` attribute. Will only include individuals with that attribute explicitly set (ie if an individuals has a `null`, it will not be returned if this parameter is set) | [optional] |
145
145
 
146
146
  ### Return type
147
147
 
@@ -507,7 +507,7 @@ This endpoint does not need any parameter.
507
507
 
508
508
  ## xhr_time_off_entries20230301
509
509
 
510
- > <Array<TimeOffEntryResponse>> xhr_time_off_entries20230301
510
+ > <Array<TimeOffEntryResponse>> xhr_time_off_entries20230301(start_date, end_date)
511
511
 
512
512
  Time off entries
513
513
 
@@ -527,10 +527,12 @@ OpenapiClient.configure do |config|
527
527
  end
528
528
 
529
529
  api_instance = OpenapiClient::Class20230301Api.new
530
+ start_date = Date.parse('2013-10-20') # Date | The start date of the search period
531
+ end_date = Date.parse('2013-10-20') # Date | The end date of the search period
530
532
 
531
533
  begin
532
534
  # Time off entries
533
- result = api_instance.xhr_time_off_entries20230301
535
+ result = api_instance.xhr_time_off_entries20230301(start_date, end_date)
534
536
  p result
535
537
  rescue OpenapiClient::ApiError => e
536
538
  puts "Error when calling Class20230301Api->xhr_time_off_entries20230301: #{e}"
@@ -541,12 +543,12 @@ end
541
543
 
542
544
  This returns an Array which contains the response data, status code and headers.
543
545
 
544
- > <Array(<Array<TimeOffEntryResponse>>, Integer, Hash)> xhr_time_off_entries20230301_with_http_info
546
+ > <Array(<Array<TimeOffEntryResponse>>, Integer, Hash)> xhr_time_off_entries20230301_with_http_info(start_date, end_date)
545
547
 
546
548
  ```ruby
547
549
  begin
548
550
  # Time off entries
549
- data, status_code, headers = api_instance.xhr_time_off_entries20230301_with_http_info
551
+ data, status_code, headers = api_instance.xhr_time_off_entries20230301_with_http_info(start_date, end_date)
550
552
  p status_code # => 2xx
551
553
  p headers # => { ... }
552
554
  p data # => <Array<TimeOffEntryResponse>>
@@ -557,7 +559,10 @@ end
557
559
 
558
560
  ### Parameters
559
561
 
560
- This endpoint does not need any parameter.
562
+ | Name | Type | Description | Notes |
563
+ | ---- | ---- | ----------- | ----- |
564
+ | **start_date** | **Date** | The start date of the search period | |
565
+ | **end_date** | **Date** | The end date of the search period | |
561
566
 
562
567
  ### Return type
563
568
 
@@ -575,7 +580,7 @@ This endpoint does not need any parameter.
575
580
 
576
581
  ## xhr_timesheets20230301
577
582
 
578
- > <Array<TimesheetResponse>> xhr_timesheets20230301
583
+ > <Array<TimesheetResponse>> xhr_timesheets20230301(start_date, end_date)
579
584
 
580
585
  Timesheets
581
586
 
@@ -595,10 +600,12 @@ OpenapiClient.configure do |config|
595
600
  end
596
601
 
597
602
  api_instance = OpenapiClient::Class20230301Api.new
603
+ start_date = Date.parse('2013-10-20') # Date | The start date of the search period
604
+ end_date = Date.parse('2013-10-20') # Date | The end date of the search period
598
605
 
599
606
  begin
600
607
  # Timesheets
601
- result = api_instance.xhr_timesheets20230301
608
+ result = api_instance.xhr_timesheets20230301(start_date, end_date)
602
609
  p result
603
610
  rescue OpenapiClient::ApiError => e
604
611
  puts "Error when calling Class20230301Api->xhr_timesheets20230301: #{e}"
@@ -609,12 +616,12 @@ end
609
616
 
610
617
  This returns an Array which contains the response data, status code and headers.
611
618
 
612
- > <Array(<Array<TimesheetResponse>>, Integer, Hash)> xhr_timesheets20230301_with_http_info
619
+ > <Array(<Array<TimesheetResponse>>, Integer, Hash)> xhr_timesheets20230301_with_http_info(start_date, end_date)
613
620
 
614
621
  ```ruby
615
622
  begin
616
623
  # Timesheets
617
- data, status_code, headers = api_instance.xhr_timesheets20230301_with_http_info
624
+ data, status_code, headers = api_instance.xhr_timesheets20230301_with_http_info(start_date, end_date)
618
625
  p status_code # => 2xx
619
626
  p headers # => { ... }
620
627
  p data # => <Array<TimesheetResponse>>
@@ -625,7 +632,10 @@ end
625
632
 
626
633
  ### Parameters
627
634
 
628
- This endpoint does not need any parameter.
635
+ | Name | Type | Description | Notes |
636
+ | ---- | ---- | ----------- | ----- |
637
+ | **start_date** | **Date** | The start date of the search period | |
638
+ | **end_date** | **Date** | The end date of the search period | |
629
639
 
630
640
  ### Return type
631
641
 
@@ -107,7 +107,7 @@ end
107
107
 
108
108
  api_instance = OpenapiClient::XHRVerticallyIntegratedApi.new
109
109
  opts = {
110
- employment_status: OpenapiClient::EmploymentStatusNotNullNotNullable::ACTIVE # EmploymentStatusNotNullNotNullable | Enable server-side filtering of the `employment_status` attribute. Will only include individuals with that attribute explicitly set (ie if an individuals has a `null`, it will not be returned if this parameter is set)
110
+ employment_status: OpenapiClient::EmploymentStatusNotNullNotNullable::ACTIVE # EmploymentStatusNotNullNotNullable | Optional query parameter. Use to enable server-side filtering of the `employment_status` attribute. Will only include individuals with that attribute explicitly set (ie if an individuals has a `null`, it will not be returned if this parameter is set)
111
111
  }
112
112
 
113
113
  begin
@@ -141,7 +141,7 @@ end
141
141
 
142
142
  | Name | Type | Description | Notes |
143
143
  | ---- | ---- | ----------- | ----- |
144
- | **employment_status** | [**EmploymentStatusNotNullNotNullable**](.md) | Enable server-side filtering of the &#x60;employment_status&#x60; attribute. Will only include individuals with that attribute explicitly set (ie if an individuals has a &#x60;null&#x60;, it will not be returned if this parameter is set) | [optional] |
144
+ | **employment_status** | [**EmploymentStatusNotNullNotNullable**](.md) | Optional query parameter. Use to enable server-side filtering of the &#x60;employment_status&#x60; attribute. Will only include individuals with that attribute explicitly set (ie if an individuals has a &#x60;null&#x60;, it will not be returned if this parameter is set) | [optional] |
145
145
 
146
146
  ### Return type
147
147
 
@@ -507,7 +507,7 @@ This endpoint does not need any parameter.
507
507
 
508
508
  ## xhr_time_off_entries20230301
509
509
 
510
- > <Array<TimeOffEntryResponse>> xhr_time_off_entries20230301
510
+ > <Array<TimeOffEntryResponse>> xhr_time_off_entries20230301(start_date, end_date)
511
511
 
512
512
  Time off entries
513
513
 
@@ -527,10 +527,12 @@ OpenapiClient.configure do |config|
527
527
  end
528
528
 
529
529
  api_instance = OpenapiClient::XHRVerticallyIntegratedApi.new
530
+ start_date = Date.parse('2013-10-20') # Date | The start date of the search period
531
+ end_date = Date.parse('2013-10-20') # Date | The end date of the search period
530
532
 
531
533
  begin
532
534
  # Time off entries
533
- result = api_instance.xhr_time_off_entries20230301
535
+ result = api_instance.xhr_time_off_entries20230301(start_date, end_date)
534
536
  p result
535
537
  rescue OpenapiClient::ApiError => e
536
538
  puts "Error when calling XHRVerticallyIntegratedApi->xhr_time_off_entries20230301: #{e}"
@@ -541,12 +543,12 @@ end
541
543
 
542
544
  This returns an Array which contains the response data, status code and headers.
543
545
 
544
- > <Array(<Array<TimeOffEntryResponse>>, Integer, Hash)> xhr_time_off_entries20230301_with_http_info
546
+ > <Array(<Array<TimeOffEntryResponse>>, Integer, Hash)> xhr_time_off_entries20230301_with_http_info(start_date, end_date)
545
547
 
546
548
  ```ruby
547
549
  begin
548
550
  # Time off entries
549
- data, status_code, headers = api_instance.xhr_time_off_entries20230301_with_http_info
551
+ data, status_code, headers = api_instance.xhr_time_off_entries20230301_with_http_info(start_date, end_date)
550
552
  p status_code # => 2xx
551
553
  p headers # => { ... }
552
554
  p data # => <Array<TimeOffEntryResponse>>
@@ -557,7 +559,10 @@ end
557
559
 
558
560
  ### Parameters
559
561
 
560
- This endpoint does not need any parameter.
562
+ | Name | Type | Description | Notes |
563
+ | ---- | ---- | ----------- | ----- |
564
+ | **start_date** | **Date** | The start date of the search period | |
565
+ | **end_date** | **Date** | The end date of the search period | |
561
566
 
562
567
  ### Return type
563
568
 
@@ -575,7 +580,7 @@ This endpoint does not need any parameter.
575
580
 
576
581
  ## xhr_timesheets20230301
577
582
 
578
- > <Array<TimesheetResponse>> xhr_timesheets20230301
583
+ > <Array<TimesheetResponse>> xhr_timesheets20230301(start_date, end_date)
579
584
 
580
585
  Timesheets
581
586
 
@@ -595,10 +600,12 @@ OpenapiClient.configure do |config|
595
600
  end
596
601
 
597
602
  api_instance = OpenapiClient::XHRVerticallyIntegratedApi.new
603
+ start_date = Date.parse('2013-10-20') # Date | The start date of the search period
604
+ end_date = Date.parse('2013-10-20') # Date | The end date of the search period
598
605
 
599
606
  begin
600
607
  # Timesheets
601
- result = api_instance.xhr_timesheets20230301
608
+ result = api_instance.xhr_timesheets20230301(start_date, end_date)
602
609
  p result
603
610
  rescue OpenapiClient::ApiError => e
604
611
  puts "Error when calling XHRVerticallyIntegratedApi->xhr_timesheets20230301: #{e}"
@@ -609,12 +616,12 @@ end
609
616
 
610
617
  This returns an Array which contains the response data, status code and headers.
611
618
 
612
- > <Array(<Array<TimesheetResponse>>, Integer, Hash)> xhr_timesheets20230301_with_http_info
619
+ > <Array(<Array<TimesheetResponse>>, Integer, Hash)> xhr_timesheets20230301_with_http_info(start_date, end_date)
613
620
 
614
621
  ```ruby
615
622
  begin
616
623
  # Timesheets
617
- data, status_code, headers = api_instance.xhr_timesheets20230301_with_http_info
624
+ data, status_code, headers = api_instance.xhr_timesheets20230301_with_http_info(start_date, end_date)
618
625
  p status_code # => 2xx
619
626
  p headers # => { ... }
620
627
  p data # => <Array<TimesheetResponse>>
@@ -625,7 +632,10 @@ end
625
632
 
626
633
  ### Parameters
627
634
 
628
- This endpoint does not need any parameter.
635
+ | Name | Type | Description | Notes |
636
+ | ---- | ---- | ----------- | ----- |
637
+ | **start_date** | **Date** | The start date of the search period | |
638
+ | **end_date** | **Date** | The end date of the search period | |
629
639
 
630
640
  ### Return type
631
641
 
@@ -79,7 +79,7 @@ module OpenapiClient
79
79
  # Employees
80
80
  # List the individuals (employees, contractors, accountants, and others) listed in the HRIS/Payroll software
81
81
  # @param [Hash] opts the optional parameters
82
- # @option opts [EmploymentStatusNotNullNotNullable] :employment_status Enable server-side filtering of the &#x60;employment_status&#x60; attribute. Will only include individuals with that attribute explicitly set (ie if an individuals has a &#x60;null&#x60;, it will not be returned if this parameter is set)
82
+ # @option opts [EmploymentStatusNotNullNotNullable] :employment_status Optional query parameter. Use to enable server-side filtering of the &#x60;employment_status&#x60; attribute. Will only include individuals with that attribute explicitly set (ie if an individuals has a &#x60;null&#x60;, it will not be returned if this parameter is set)
83
83
  # @return [Array<EmployeeResponse>]
84
84
  def xhr_employees20230301(opts = {})
85
85
  data, _status_code, _headers = xhr_employees20230301_with_http_info(opts)
@@ -89,7 +89,7 @@ module OpenapiClient
89
89
  # Employees
90
90
  # List the individuals (employees, contractors, accountants, and others) listed in the HRIS/Payroll software
91
91
  # @param [Hash] opts the optional parameters
92
- # @option opts [EmploymentStatusNotNullNotNullable] :employment_status Enable server-side filtering of the &#x60;employment_status&#x60; attribute. Will only include individuals with that attribute explicitly set (ie if an individuals has a &#x60;null&#x60;, it will not be returned if this parameter is set)
92
+ # @option opts [EmploymentStatusNotNullNotNullable] :employment_status Optional query parameter. Use to enable server-side filtering of the &#x60;employment_status&#x60; attribute. Will only include individuals with that attribute explicitly set (ie if an individuals has a &#x60;null&#x60;, it will not be returned if this parameter is set)
93
93
  # @return [Array<(Array<EmployeeResponse>, Integer, Hash)>] Array<EmployeeResponse> data, response status code and response headers
94
94
  def xhr_employees20230301_with_http_info(opts = {})
95
95
  if @api_client.config.debugging
@@ -443,26 +443,40 @@ module OpenapiClient
443
443
 
444
444
  # Time off entries
445
445
  # Retrieve time off / absence entries
446
+ # @param start_date [Date] The start date of the search period
447
+ # @param end_date [Date] The end date of the search period
446
448
  # @param [Hash] opts the optional parameters
447
449
  # @return [Array<TimeOffEntryResponse>]
448
- def xhr_time_off_entries20230301(opts = {})
449
- data, _status_code, _headers = xhr_time_off_entries20230301_with_http_info(opts)
450
+ def xhr_time_off_entries20230301(start_date, end_date, opts = {})
451
+ data, _status_code, _headers = xhr_time_off_entries20230301_with_http_info(start_date, end_date, opts)
450
452
  data
451
453
  end
452
454
 
453
455
  # Time off entries
454
456
  # Retrieve time off / absence entries
457
+ # @param start_date [Date] The start date of the search period
458
+ # @param end_date [Date] The end date of the search period
455
459
  # @param [Hash] opts the optional parameters
456
460
  # @return [Array<(Array<TimeOffEntryResponse>, Integer, Hash)>] Array<TimeOffEntryResponse> data, response status code and response headers
457
- def xhr_time_off_entries20230301_with_http_info(opts = {})
461
+ def xhr_time_off_entries20230301_with_http_info(start_date, end_date, opts = {})
458
462
  if @api_client.config.debugging
459
463
  @api_client.config.logger.debug 'Calling API: Class20230301Api.xhr_time_off_entries20230301 ...'
460
464
  end
465
+ # verify the required parameter 'start_date' is set
466
+ if @api_client.config.client_side_validation && start_date.nil?
467
+ fail ArgumentError, "Missing the required parameter 'start_date' when calling Class20230301Api.xhr_time_off_entries20230301"
468
+ end
469
+ # verify the required parameter 'end_date' is set
470
+ if @api_client.config.client_side_validation && end_date.nil?
471
+ fail ArgumentError, "Missing the required parameter 'end_date' when calling Class20230301Api.xhr_time_off_entries20230301"
472
+ end
461
473
  # resource path
462
474
  local_var_path = '/2023-03-01/xhr/time-off-entries'
463
475
 
464
476
  # query parameters
465
477
  query_params = opts[:query_params] || {}
478
+ query_params[:'start_date'] = start_date
479
+ query_params[:'end_date'] = end_date
466
480
 
467
481
  # header parameters
468
482
  header_params = opts[:header_params] || {}
@@ -500,26 +514,40 @@ module OpenapiClient
500
514
 
501
515
  # Timesheets
502
516
  # Retrieve Timesheets
517
+ # @param start_date [Date] The start date of the search period
518
+ # @param end_date [Date] The end date of the search period
503
519
  # @param [Hash] opts the optional parameters
504
520
  # @return [Array<TimesheetResponse>]
505
- def xhr_timesheets20230301(opts = {})
506
- data, _status_code, _headers = xhr_timesheets20230301_with_http_info(opts)
521
+ def xhr_timesheets20230301(start_date, end_date, opts = {})
522
+ data, _status_code, _headers = xhr_timesheets20230301_with_http_info(start_date, end_date, opts)
507
523
  data
508
524
  end
509
525
 
510
526
  # Timesheets
511
527
  # Retrieve Timesheets
528
+ # @param start_date [Date] The start date of the search period
529
+ # @param end_date [Date] The end date of the search period
512
530
  # @param [Hash] opts the optional parameters
513
531
  # @return [Array<(Array<TimesheetResponse>, Integer, Hash)>] Array<TimesheetResponse> data, response status code and response headers
514
- def xhr_timesheets20230301_with_http_info(opts = {})
532
+ def xhr_timesheets20230301_with_http_info(start_date, end_date, opts = {})
515
533
  if @api_client.config.debugging
516
534
  @api_client.config.logger.debug 'Calling API: Class20230301Api.xhr_timesheets20230301 ...'
517
535
  end
536
+ # verify the required parameter 'start_date' is set
537
+ if @api_client.config.client_side_validation && start_date.nil?
538
+ fail ArgumentError, "Missing the required parameter 'start_date' when calling Class20230301Api.xhr_timesheets20230301"
539
+ end
540
+ # verify the required parameter 'end_date' is set
541
+ if @api_client.config.client_side_validation && end_date.nil?
542
+ fail ArgumentError, "Missing the required parameter 'end_date' when calling Class20230301Api.xhr_timesheets20230301"
543
+ end
518
544
  # resource path
519
545
  local_var_path = '/2023-03-01/xhr/timesheets'
520
546
 
521
547
  # query parameters
522
548
  query_params = opts[:query_params] || {}
549
+ query_params[:'start_date'] = start_date
550
+ query_params[:'end_date'] = end_date
523
551
 
524
552
  # header parameters
525
553
  header_params = opts[:header_params] || {}
@@ -79,7 +79,7 @@ module OpenapiClient
79
79
  # Employees
80
80
  # List the individuals (employees, contractors, accountants, and others) listed in the HRIS/Payroll software
81
81
  # @param [Hash] opts the optional parameters
82
- # @option opts [EmploymentStatusNotNullNotNullable] :employment_status Enable server-side filtering of the &#x60;employment_status&#x60; attribute. Will only include individuals with that attribute explicitly set (ie if an individuals has a &#x60;null&#x60;, it will not be returned if this parameter is set)
82
+ # @option opts [EmploymentStatusNotNullNotNullable] :employment_status Optional query parameter. Use to enable server-side filtering of the &#x60;employment_status&#x60; attribute. Will only include individuals with that attribute explicitly set (ie if an individuals has a &#x60;null&#x60;, it will not be returned if this parameter is set)
83
83
  # @return [Array<EmployeeResponse>]
84
84
  def xhr_employees20230301(opts = {})
85
85
  data, _status_code, _headers = xhr_employees20230301_with_http_info(opts)
@@ -89,7 +89,7 @@ module OpenapiClient
89
89
  # Employees
90
90
  # List the individuals (employees, contractors, accountants, and others) listed in the HRIS/Payroll software
91
91
  # @param [Hash] opts the optional parameters
92
- # @option opts [EmploymentStatusNotNullNotNullable] :employment_status Enable server-side filtering of the &#x60;employment_status&#x60; attribute. Will only include individuals with that attribute explicitly set (ie if an individuals has a &#x60;null&#x60;, it will not be returned if this parameter is set)
92
+ # @option opts [EmploymentStatusNotNullNotNullable] :employment_status Optional query parameter. Use to enable server-side filtering of the &#x60;employment_status&#x60; attribute. Will only include individuals with that attribute explicitly set (ie if an individuals has a &#x60;null&#x60;, it will not be returned if this parameter is set)
93
93
  # @return [Array<(Array<EmployeeResponse>, Integer, Hash)>] Array<EmployeeResponse> data, response status code and response headers
94
94
  def xhr_employees20230301_with_http_info(opts = {})
95
95
  if @api_client.config.debugging
@@ -443,26 +443,40 @@ module OpenapiClient
443
443
 
444
444
  # Time off entries
445
445
  # Retrieve time off / absence entries
446
+ # @param start_date [Date] The start date of the search period
447
+ # @param end_date [Date] The end date of the search period
446
448
  # @param [Hash] opts the optional parameters
447
449
  # @return [Array<TimeOffEntryResponse>]
448
- def xhr_time_off_entries20230301(opts = {})
449
- data, _status_code, _headers = xhr_time_off_entries20230301_with_http_info(opts)
450
+ def xhr_time_off_entries20230301(start_date, end_date, opts = {})
451
+ data, _status_code, _headers = xhr_time_off_entries20230301_with_http_info(start_date, end_date, opts)
450
452
  data
451
453
  end
452
454
 
453
455
  # Time off entries
454
456
  # Retrieve time off / absence entries
457
+ # @param start_date [Date] The start date of the search period
458
+ # @param end_date [Date] The end date of the search period
455
459
  # @param [Hash] opts the optional parameters
456
460
  # @return [Array<(Array<TimeOffEntryResponse>, Integer, Hash)>] Array<TimeOffEntryResponse> data, response status code and response headers
457
- def xhr_time_off_entries20230301_with_http_info(opts = {})
461
+ def xhr_time_off_entries20230301_with_http_info(start_date, end_date, opts = {})
458
462
  if @api_client.config.debugging
459
463
  @api_client.config.logger.debug 'Calling API: XHRVerticallyIntegratedApi.xhr_time_off_entries20230301 ...'
460
464
  end
465
+ # verify the required parameter 'start_date' is set
466
+ if @api_client.config.client_side_validation && start_date.nil?
467
+ fail ArgumentError, "Missing the required parameter 'start_date' when calling XHRVerticallyIntegratedApi.xhr_time_off_entries20230301"
468
+ end
469
+ # verify the required parameter 'end_date' is set
470
+ if @api_client.config.client_side_validation && end_date.nil?
471
+ fail ArgumentError, "Missing the required parameter 'end_date' when calling XHRVerticallyIntegratedApi.xhr_time_off_entries20230301"
472
+ end
461
473
  # resource path
462
474
  local_var_path = '/2023-03-01/xhr/time-off-entries'
463
475
 
464
476
  # query parameters
465
477
  query_params = opts[:query_params] || {}
478
+ query_params[:'start_date'] = start_date
479
+ query_params[:'end_date'] = end_date
466
480
 
467
481
  # header parameters
468
482
  header_params = opts[:header_params] || {}
@@ -500,26 +514,40 @@ module OpenapiClient
500
514
 
501
515
  # Timesheets
502
516
  # Retrieve Timesheets
517
+ # @param start_date [Date] The start date of the search period
518
+ # @param end_date [Date] The end date of the search period
503
519
  # @param [Hash] opts the optional parameters
504
520
  # @return [Array<TimesheetResponse>]
505
- def xhr_timesheets20230301(opts = {})
506
- data, _status_code, _headers = xhr_timesheets20230301_with_http_info(opts)
521
+ def xhr_timesheets20230301(start_date, end_date, opts = {})
522
+ data, _status_code, _headers = xhr_timesheets20230301_with_http_info(start_date, end_date, opts)
507
523
  data
508
524
  end
509
525
 
510
526
  # Timesheets
511
527
  # Retrieve Timesheets
528
+ # @param start_date [Date] The start date of the search period
529
+ # @param end_date [Date] The end date of the search period
512
530
  # @param [Hash] opts the optional parameters
513
531
  # @return [Array<(Array<TimesheetResponse>, Integer, Hash)>] Array<TimesheetResponse> data, response status code and response headers
514
- def xhr_timesheets20230301_with_http_info(opts = {})
532
+ def xhr_timesheets20230301_with_http_info(start_date, end_date, opts = {})
515
533
  if @api_client.config.debugging
516
534
  @api_client.config.logger.debug 'Calling API: XHRVerticallyIntegratedApi.xhr_timesheets20230301 ...'
517
535
  end
536
+ # verify the required parameter 'start_date' is set
537
+ if @api_client.config.client_side_validation && start_date.nil?
538
+ fail ArgumentError, "Missing the required parameter 'start_date' when calling XHRVerticallyIntegratedApi.xhr_timesheets20230301"
539
+ end
540
+ # verify the required parameter 'end_date' is set
541
+ if @api_client.config.client_side_validation && end_date.nil?
542
+ fail ArgumentError, "Missing the required parameter 'end_date' when calling XHRVerticallyIntegratedApi.xhr_timesheets20230301"
543
+ end
518
544
  # resource path
519
545
  local_var_path = '/2023-03-01/xhr/timesheets'
520
546
 
521
547
  # query parameters
522
548
  query_params = opts[:query_params] || {}
549
+ query_params[:'start_date'] = start_date
550
+ query_params[:'end_date'] = end_date
523
551
 
524
552
  # header parameters
525
553
  header_params = opts[:header_params] || {}
@@ -11,5 +11,5 @@ OpenAPI Generator version: 5.1.1
11
11
  =end
12
12
 
13
13
  module OpenapiClient
14
- VERSION = '1.1.63'
14
+ VERSION = '1.1.65'
15
15
  end
@@ -47,7 +47,7 @@ describe 'Class20230301Api' do
47
47
  # Employees
48
48
  # List the individuals (employees, contractors, accountants, and others) listed in the HRIS/Payroll software
49
49
  # @param [Hash] opts the optional parameters
50
- # @option opts [EmploymentStatusNotNullNotNullable] :employment_status Enable server-side filtering of the &#x60;employment_status&#x60; attribute. Will only include individuals with that attribute explicitly set (ie if an individuals has a &#x60;null&#x60;, it will not be returned if this parameter is set)
50
+ # @option opts [EmploymentStatusNotNullNotNullable] :employment_status Optional query parameter. Use to enable server-side filtering of the &#x60;employment_status&#x60; attribute. Will only include individuals with that attribute explicitly set (ie if an individuals has a &#x60;null&#x60;, it will not be returned if this parameter is set)
51
51
  # @return [Array<EmployeeResponse>]
52
52
  describe 'xhr_employees20230301 test' do
53
53
  it 'should work' do
@@ -116,6 +116,8 @@ describe 'Class20230301Api' do
116
116
  # unit tests for xhr_time_off_entries20230301
117
117
  # Time off entries
118
118
  # Retrieve time off / absence entries
119
+ # @param start_date The start date of the search period
120
+ # @param end_date The end date of the search period
119
121
  # @param [Hash] opts the optional parameters
120
122
  # @return [Array<TimeOffEntryResponse>]
121
123
  describe 'xhr_time_off_entries20230301 test' do
@@ -127,6 +129,8 @@ describe 'Class20230301Api' do
127
129
  # unit tests for xhr_timesheets20230301
128
130
  # Timesheets
129
131
  # Retrieve Timesheets
132
+ # @param start_date The start date of the search period
133
+ # @param end_date The end date of the search period
130
134
  # @param [Hash] opts the optional parameters
131
135
  # @return [Array<TimesheetResponse>]
132
136
  describe 'xhr_timesheets20230301 test' do
@@ -47,7 +47,7 @@ describe 'XHRVerticallyIntegratedApi' do
47
47
  # Employees
48
48
  # List the individuals (employees, contractors, accountants, and others) listed in the HRIS/Payroll software
49
49
  # @param [Hash] opts the optional parameters
50
- # @option opts [EmploymentStatusNotNullNotNullable] :employment_status Enable server-side filtering of the &#x60;employment_status&#x60; attribute. Will only include individuals with that attribute explicitly set (ie if an individuals has a &#x60;null&#x60;, it will not be returned if this parameter is set)
50
+ # @option opts [EmploymentStatusNotNullNotNullable] :employment_status Optional query parameter. Use to enable server-side filtering of the &#x60;employment_status&#x60; attribute. Will only include individuals with that attribute explicitly set (ie if an individuals has a &#x60;null&#x60;, it will not be returned if this parameter is set)
51
51
  # @return [Array<EmployeeResponse>]
52
52
  describe 'xhr_employees20230301 test' do
53
53
  it 'should work' do
@@ -116,6 +116,8 @@ describe 'XHRVerticallyIntegratedApi' do
116
116
  # unit tests for xhr_time_off_entries20230301
117
117
  # Time off entries
118
118
  # Retrieve time off / absence entries
119
+ # @param start_date The start date of the search period
120
+ # @param end_date The end date of the search period
119
121
  # @param [Hash] opts the optional parameters
120
122
  # @return [Array<TimeOffEntryResponse>]
121
123
  describe 'xhr_time_off_entries20230301 test' do
@@ -127,6 +129,8 @@ describe 'XHRVerticallyIntegratedApi' do
127
129
  # unit tests for xhr_timesheets20230301
128
130
  # Timesheets
129
131
  # Retrieve Timesheets
132
+ # @param start_date The start date of the search period
133
+ # @param end_date The end date of the search period
130
134
  # @param [Hash] opts the optional parameters
131
135
  # @return [Array<TimesheetResponse>]
132
136
  describe 'xhr_timesheets20230301 test' do
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: affixapi
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.63
4
+ version: 1.1.65
5
5
  platform: ruby
6
6
  authors:
7
7
  - OpenAPI-Generator
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-04-22 00:00:00.000000000 Z
11
+ date: 2024-04-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: typhoeus