affixapi 1.1.64 → 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: 78e7b67d2f4b768cca267f64e6473010219841085130295672acafeddc2695ef
4
- data.tar.gz: b244e906c60ad636ae0c8e2bd8ef80a565bf33b9162e3973e50f33e9c1a7db03
3
+ metadata.gz: 79d68d88b31abe72c2017873e80c9278c8e86391412ca32fbe05b3db371206f7
4
+ data.tar.gz: aca4f98580f53af9ac06c573fe12fce3a4e0bfa46188f9527356cde3e6834af8
5
5
  SHA512:
6
- metadata.gz: 5e6b5155443f2d541659fcc8bf924687742df4269098d43b92554e17d8279f6a72be689d6ccace86dc3254af41e16523702fb7734fa64ac48823cd71e66138c8
7
- data.tar.gz: 7a87f94e0072c01c6dce2e7d3303f929031ba8825380f3a01a01400e2e57e32b397cefbf789c4b000d29a70a794ef9b2be8345d77a9d9fe37474b5a6b718038c
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.64)
4
+ affixapi (1.1.65)
5
5
  typhoeus (~> 1.0, >= 1.0.1)
6
6
 
7
7
  GEM
@@ -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
 
@@ -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
 
@@ -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] || {}
@@ -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.64'
14
+ VERSION = '1.1.65'
15
15
  end
@@ -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
@@ -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.64
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-23 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