trinsic_api 2.2.0.pre.alpha1 → 2.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 1606f679ee6a3a00fd03d49a806262a05f341b274e73896f92d1399ea41189ae
4
- data.tar.gz: 53386531142f18cf674f449b2936a68401ee7ea38f4725538cf04e150d7bcad3
3
+ metadata.gz: 7119195ef1973bb58ec167091a9fb2b4bec432da992452638f76af0163dff5b4
4
+ data.tar.gz: d725f104318f759292c70adf177d7e0a0909d97a5946720d28a9eed09e2e3108
5
5
  SHA512:
6
- metadata.gz: 72dc95e2cc0ca0624bf7e809b4cf51b9421f7b914a7dd73b9e9eac8b3378833b971660632690d9ebcc5fba1f4616ecf03a5b1d773c4d28c09e6d0eeaf67090a4
7
- data.tar.gz: 5edb021eec2b2e0ed975b3730202d61f3fcba4d340dcfc4b652b53a9b09f8ca67448e08261f0a68574f964b46226a80ffc85f15dfea2abbe09913828621a609b
6
+ metadata.gz: 29575cae410be8e818ff5918930730731b4efe8616023f7a99f2e1936c5e116c87849d4b6c295920e2fedcb355f9b0231d1bbba417ad3d27c15b6e4739e1189a
7
+ data.tar.gz: 1296cfb9a8eaa46d654431b010eb714c7b73f6890e2b28d48ac60e0162ca82e9e9b479512114ac95a5ecacd5a98d9ddcbcaf11c250dae95c01774b38789deb3a
data/docs/NetworkApi.md CHANGED
@@ -5,7 +5,7 @@ All URIs are relative to *https://api.trinsic.id*
5
5
  | Method | HTTP request | Description |
6
6
  | ------ | ------------ | ----------- |
7
7
  | [**list_provider_contracts**](NetworkApi.md#list_provider_contracts) | **GET** /api/v1/network/{verificationProfileId}/providers/contracts | List Provider Contracts |
8
- | [**list_providers**](NetworkApi.md#list_providers) | **GET** /api/v1/network/{verificationProfileId}/providers | |
8
+ | [**list_providers**](NetworkApi.md#list_providers) | **GET** /api/v1/network/{verificationProfileId}/providers | List Providers |
9
9
  | [**recommend_providers**](NetworkApi.md#recommend_providers) | **POST** /api/v1/network/recommend | Recommend Providers |
10
10
 
11
11
 
@@ -82,7 +82,9 @@ end
82
82
 
83
83
  > <ListProvidersResponse> list_providers(verification_profile_id, opts)
84
84
 
85
+ List Providers
85
86
 
87
+ List all identity providers available for use
86
88
 
87
89
  ### Examples
88
90
 
@@ -98,11 +100,11 @@ end
98
100
  api_instance = TrinsicApi::NetworkApi.new
99
101
  verification_profile_id = '38400000-8cf0-11bd-b23e-10b96e4ef00d' # String |
100
102
  opts = {
101
- health: 'health_example' # String |
103
+ health: 'health_example' # String | Filter providers by health status. Valid values: \"online\", \"offline\", \"all\". Defaults to \"all\".
102
104
  }
103
105
 
104
106
  begin
105
-
107
+ # List Providers
106
108
  result = api_instance.list_providers(verification_profile_id, opts)
107
109
  p result
108
110
  rescue TrinsicApi::ApiError => e
@@ -118,7 +120,7 @@ This returns an Array which contains the response data, status code and headers.
118
120
 
119
121
  ```ruby
120
122
  begin
121
-
123
+ # List Providers
122
124
  data, status_code, headers = api_instance.list_providers_with_http_info(verification_profile_id, opts)
123
125
  p status_code # => 2xx
124
126
  p headers # => { ... }
@@ -133,7 +135,7 @@ end
133
135
  | Name | Type | Description | Notes |
134
136
  | ---- | ---- | ----------- | ----- |
135
137
  | **verification_profile_id** | **String** | | |
136
- | **health** | **String** | | [optional] |
138
+ | **health** | **String** | Filter providers by health status. Valid values: \&quot;online\&quot;, \&quot;offline\&quot;, \&quot;all\&quot;. Defaults to \&quot;all\&quot;. | [optional] |
137
139
 
138
140
  ### Return type
139
141
 
data/docs/SessionsApi.md CHANGED
@@ -12,8 +12,8 @@ All URIs are relative to *https://api.trinsic.id*
12
12
  | [**get_session_result**](SessionsApi.md#get_session_result) | **POST** /api/v1/sessions/{sessionId}/results | Get Session Results |
13
13
  | [**list_sessions**](SessionsApi.md#list_sessions) | **GET** /api/v1/verification-profiles/{verificationProfileId}/sessions | List Sessions |
14
14
  | [**redact_session**](SessionsApi.md#redact_session) | **POST** /api/v1/sessions/{sessionId}/redact | Redact Session |
15
- | [**refresh_step_content**](SessionsApi.md#refresh_step_content) | **POST** /api/v1/sessions/{acceptanceSessionId}/step/refresh | Refresh Step Content |
16
- | [**submit_native_challenge_response**](SessionsApi.md#submit_native_challenge_response) | **POST** /api/v1/sessions/{acceptanceSessionId}/native-challenge/submit | Submit Native Challenge Response |
15
+ | [**refresh_step_content**](SessionsApi.md#refresh_step_content) | **POST** /api/v1/sessions/{sessionId}/step/refresh | Refresh Step Content |
16
+ | [**submit_native_challenge_response**](SessionsApi.md#submit_native_challenge_response) | **POST** /api/v1/sessions/{sessionId}/native-challenge/submit | Submit Native Challenge Response |
17
17
 
18
18
 
19
19
  ## cancel_session
@@ -587,7 +587,7 @@ nil (empty response body)
587
587
 
588
588
  ## refresh_step_content
589
589
 
590
- > <RefreshStepContentResponse> refresh_step_content(acceptance_session_id, opts)
590
+ > <RefreshStepContentResponse> refresh_step_content(session_id, opts)
591
591
 
592
592
  Refresh Step Content
593
593
 
@@ -605,14 +605,14 @@ TrinsicApi.configure do |config|
605
605
  end
606
606
 
607
607
  api_instance = TrinsicApi::SessionsApi.new
608
- acceptance_session_id = '38400000-8cf0-11bd-b23e-10b96e4ef00d' # String |
608
+ session_id = '38400000-8cf0-11bd-b23e-10b96e4ef00d' # String |
609
609
  opts = {
610
610
  refresh_step_content_request: TrinsicApi::RefreshStepContentRequest.new({results_access_key: 'results_access_key_example'}) # RefreshStepContentRequest |
611
611
  }
612
612
 
613
613
  begin
614
614
  # Refresh Step Content
615
- result = api_instance.refresh_step_content(acceptance_session_id, opts)
615
+ result = api_instance.refresh_step_content(session_id, opts)
616
616
  p result
617
617
  rescue TrinsicApi::ApiError => e
618
618
  puts "Error when calling SessionsApi->refresh_step_content: #{e}"
@@ -623,12 +623,12 @@ end
623
623
 
624
624
  This returns an Array which contains the response data, status code and headers.
625
625
 
626
- > <Array(<RefreshStepContentResponse>, Integer, Hash)> refresh_step_content_with_http_info(acceptance_session_id, opts)
626
+ > <Array(<RefreshStepContentResponse>, Integer, Hash)> refresh_step_content_with_http_info(session_id, opts)
627
627
 
628
628
  ```ruby
629
629
  begin
630
630
  # Refresh Step Content
631
- data, status_code, headers = api_instance.refresh_step_content_with_http_info(acceptance_session_id, opts)
631
+ data, status_code, headers = api_instance.refresh_step_content_with_http_info(session_id, opts)
632
632
  p status_code # => 2xx
633
633
  p headers # => { ... }
634
634
  p data # => <RefreshStepContentResponse>
@@ -641,7 +641,7 @@ end
641
641
 
642
642
  | Name | Type | Description | Notes |
643
643
  | ---- | ---- | ----------- | ----- |
644
- | **acceptance_session_id** | **String** | | |
644
+ | **session_id** | **String** | | |
645
645
  | **refresh_step_content_request** | [**RefreshStepContentRequest**](RefreshStepContentRequest.md) | | [optional] |
646
646
 
647
647
  ### Return type
@@ -660,7 +660,7 @@ end
660
660
 
661
661
  ## submit_native_challenge_response
662
662
 
663
- > <SubmitNativeChallengeResponseResponse> submit_native_challenge_response(acceptance_session_id, opts)
663
+ > <SubmitNativeChallengeResponseResponse> submit_native_challenge_response(session_id, opts)
664
664
 
665
665
  Submit Native Challenge Response
666
666
 
@@ -678,14 +678,14 @@ TrinsicApi.configure do |config|
678
678
  end
679
679
 
680
680
  api_instance = TrinsicApi::SessionsApi.new
681
- acceptance_session_id = '38400000-8cf0-11bd-b23e-10b96e4ef00d' # String |
681
+ session_id = '38400000-8cf0-11bd-b23e-10b96e4ef00d' # String |
682
682
  opts = {
683
683
  submit_native_challenge_response_request: TrinsicApi::SubmitNativeChallengeResponseRequest.new({results_access_key: 'results_access_key_example', response_token: 'response_token_example'}) # SubmitNativeChallengeResponseRequest |
684
684
  }
685
685
 
686
686
  begin
687
687
  # Submit Native Challenge Response
688
- result = api_instance.submit_native_challenge_response(acceptance_session_id, opts)
688
+ result = api_instance.submit_native_challenge_response(session_id, opts)
689
689
  p result
690
690
  rescue TrinsicApi::ApiError => e
691
691
  puts "Error when calling SessionsApi->submit_native_challenge_response: #{e}"
@@ -696,12 +696,12 @@ end
696
696
 
697
697
  This returns an Array which contains the response data, status code and headers.
698
698
 
699
- > <Array(<SubmitNativeChallengeResponseResponse>, Integer, Hash)> submit_native_challenge_response_with_http_info(acceptance_session_id, opts)
699
+ > <Array(<SubmitNativeChallengeResponseResponse>, Integer, Hash)> submit_native_challenge_response_with_http_info(session_id, opts)
700
700
 
701
701
  ```ruby
702
702
  begin
703
703
  # Submit Native Challenge Response
704
- data, status_code, headers = api_instance.submit_native_challenge_response_with_http_info(acceptance_session_id, opts)
704
+ data, status_code, headers = api_instance.submit_native_challenge_response_with_http_info(session_id, opts)
705
705
  p status_code # => 2xx
706
706
  p headers # => { ... }
707
707
  p data # => <SubmitNativeChallengeResponseResponse>
@@ -714,7 +714,7 @@ end
714
714
 
715
715
  | Name | Type | Description | Notes |
716
716
  | ---- | ---- | ----------- | ----- |
717
- | **acceptance_session_id** | **String** | | |
717
+ | **session_id** | **String** | | |
718
718
  | **submit_native_challenge_response_request** | [**SubmitNativeChallengeResponseRequest**](SubmitNativeChallengeResponseRequest.md) | | [optional] |
719
719
 
720
720
  ### Return type
@@ -82,18 +82,22 @@ module TrinsicApi
82
82
  return data, status_code, headers
83
83
  end
84
84
 
85
+ # List Providers
86
+ # List all identity providers available for use
85
87
  # @param verification_profile_id [String]
86
88
  # @param [Hash] opts the optional parameters
87
- # @option opts [String] :health
89
+ # @option opts [String] :health Filter providers by health status. Valid values: \&quot;online\&quot;, \&quot;offline\&quot;, \&quot;all\&quot;. Defaults to \&quot;all\&quot;.
88
90
  # @return [ListProvidersResponse]
89
91
  def list_providers(verification_profile_id, opts = {})
90
92
  data, _status_code, _headers = list_providers_with_http_info(verification_profile_id, opts)
91
93
  data
92
94
  end
93
95
 
96
+ # List Providers
97
+ # List all identity providers available for use
94
98
  # @param verification_profile_id [String]
95
99
  # @param [Hash] opts the optional parameters
96
- # @option opts [String] :health
100
+ # @option opts [String] :health Filter providers by health status. Valid values: \&quot;online\&quot;, \&quot;offline\&quot;, \&quot;all\&quot;. Defaults to \&quot;all\&quot;.
97
101
  # @return [Array<(ListProvidersResponse, Integer, Hash)>] ListProvidersResponse data, response status code and response headers
98
102
  def list_providers_with_http_info(verification_profile_id, opts = {})
99
103
  if @api_client.config.debugging
@@ -561,31 +561,31 @@ module TrinsicApi
561
561
 
562
562
  # Refresh Step Content
563
563
  # Refreshes the content of a Step for a Direct Provider Session.
564
- # @param acceptance_session_id [String]
564
+ # @param session_id [String]
565
565
  # @param [Hash] opts the optional parameters
566
566
  # @option opts [RefreshStepContentRequest] :refresh_step_content_request
567
567
  # @return [RefreshStepContentResponse]
568
- def refresh_step_content(acceptance_session_id, opts = {})
569
- data, _status_code, _headers = refresh_step_content_with_http_info(acceptance_session_id, opts)
568
+ def refresh_step_content(session_id, opts = {})
569
+ data, _status_code, _headers = refresh_step_content_with_http_info(session_id, opts)
570
570
  data
571
571
  end
572
572
 
573
573
  # Refresh Step Content
574
574
  # Refreshes the content of a Step for a Direct Provider Session.
575
- # @param acceptance_session_id [String]
575
+ # @param session_id [String]
576
576
  # @param [Hash] opts the optional parameters
577
577
  # @option opts [RefreshStepContentRequest] :refresh_step_content_request
578
578
  # @return [Array<(RefreshStepContentResponse, Integer, Hash)>] RefreshStepContentResponse data, response status code and response headers
579
- def refresh_step_content_with_http_info(acceptance_session_id, opts = {})
579
+ def refresh_step_content_with_http_info(session_id, opts = {})
580
580
  if @api_client.config.debugging
581
581
  @api_client.config.logger.debug 'Calling API: SessionsApi.refresh_step_content ...'
582
582
  end
583
- # verify the required parameter 'acceptance_session_id' is set
584
- if @api_client.config.client_side_validation && acceptance_session_id.nil?
585
- fail ArgumentError, "Missing the required parameter 'acceptance_session_id' when calling SessionsApi.refresh_step_content"
583
+ # verify the required parameter 'session_id' is set
584
+ if @api_client.config.client_side_validation && session_id.nil?
585
+ fail ArgumentError, "Missing the required parameter 'session_id' when calling SessionsApi.refresh_step_content"
586
586
  end
587
587
  # resource path
588
- local_var_path = '/api/v1/sessions/{acceptanceSessionId}/step/refresh'.sub('{' + 'acceptanceSessionId' + '}', CGI.escape(acceptance_session_id.to_s))
588
+ local_var_path = '/api/v1/sessions/{sessionId}/step/refresh'.sub('{' + 'sessionId' + '}', CGI.escape(session_id.to_s))
589
589
 
590
590
  # query parameters
591
591
  query_params = opts[:query_params] || {}
@@ -631,31 +631,31 @@ module TrinsicApi
631
631
 
632
632
  # Submit Native Challenge Response
633
633
  # Submits the response from a Native Challenge (e.g., mDL exchange via DC API) and processes the results.
634
- # @param acceptance_session_id [String]
634
+ # @param session_id [String]
635
635
  # @param [Hash] opts the optional parameters
636
636
  # @option opts [SubmitNativeChallengeResponseRequest] :submit_native_challenge_response_request
637
637
  # @return [SubmitNativeChallengeResponseResponse]
638
- def submit_native_challenge_response(acceptance_session_id, opts = {})
639
- data, _status_code, _headers = submit_native_challenge_response_with_http_info(acceptance_session_id, opts)
638
+ def submit_native_challenge_response(session_id, opts = {})
639
+ data, _status_code, _headers = submit_native_challenge_response_with_http_info(session_id, opts)
640
640
  data
641
641
  end
642
642
 
643
643
  # Submit Native Challenge Response
644
644
  # Submits the response from a Native Challenge (e.g., mDL exchange via DC API) and processes the results.
645
- # @param acceptance_session_id [String]
645
+ # @param session_id [String]
646
646
  # @param [Hash] opts the optional parameters
647
647
  # @option opts [SubmitNativeChallengeResponseRequest] :submit_native_challenge_response_request
648
648
  # @return [Array<(SubmitNativeChallengeResponseResponse, Integer, Hash)>] SubmitNativeChallengeResponseResponse data, response status code and response headers
649
- def submit_native_challenge_response_with_http_info(acceptance_session_id, opts = {})
649
+ def submit_native_challenge_response_with_http_info(session_id, opts = {})
650
650
  if @api_client.config.debugging
651
651
  @api_client.config.logger.debug 'Calling API: SessionsApi.submit_native_challenge_response ...'
652
652
  end
653
- # verify the required parameter 'acceptance_session_id' is set
654
- if @api_client.config.client_side_validation && acceptance_session_id.nil?
655
- fail ArgumentError, "Missing the required parameter 'acceptance_session_id' when calling SessionsApi.submit_native_challenge_response"
653
+ # verify the required parameter 'session_id' is set
654
+ if @api_client.config.client_side_validation && session_id.nil?
655
+ fail ArgumentError, "Missing the required parameter 'session_id' when calling SessionsApi.submit_native_challenge_response"
656
656
  end
657
657
  # resource path
658
- local_var_path = '/api/v1/sessions/{acceptanceSessionId}/native-challenge/submit'.sub('{' + 'acceptanceSessionId' + '}', CGI.escape(acceptance_session_id.to_s))
658
+ local_var_path = '/api/v1/sessions/{sessionId}/native-challenge/submit'.sub('{' + 'sessionId' + '}', CGI.escape(session_id.to_s))
659
659
 
660
660
  # query parameters
661
661
  query_params = opts[:query_params] || {}
@@ -11,5 +11,5 @@ Generator version: 7.13.0
11
11
  =end
12
12
 
13
13
  module TrinsicApi
14
- VERSION = '2.2.0-alpha1'
14
+ VERSION = '2.2.0'
15
15
  end
@@ -45,9 +45,11 @@ describe 'NetworkApi' do
45
45
  end
46
46
 
47
47
  # unit tests for list_providers
48
+ # List Providers
49
+ # List all identity providers available for use
48
50
  # @param verification_profile_id
49
51
  # @param [Hash] opts the optional parameters
50
- # @option opts [String] :health
52
+ # @option opts [String] :health Filter providers by health status. Valid values: \&quot;online\&quot;, \&quot;offline\&quot;, \&quot;all\&quot;. Defaults to \&quot;all\&quot;.
51
53
  # @return [ListProvidersResponse]
52
54
  describe 'list_providers test' do
53
55
  it 'should work' do
@@ -135,7 +135,7 @@ describe 'SessionsApi' do
135
135
  # unit tests for refresh_step_content
136
136
  # Refresh Step Content
137
137
  # Refreshes the content of a Step for a Direct Provider Session.
138
- # @param acceptance_session_id
138
+ # @param session_id
139
139
  # @param [Hash] opts the optional parameters
140
140
  # @option opts [RefreshStepContentRequest] :refresh_step_content_request
141
141
  # @return [RefreshStepContentResponse]
@@ -148,7 +148,7 @@ describe 'SessionsApi' do
148
148
  # unit tests for submit_native_challenge_response
149
149
  # Submit Native Challenge Response
150
150
  # Submits the response from a Native Challenge (e.g., mDL exchange via DC API) and processes the results.
151
- # @param acceptance_session_id
151
+ # @param session_id
152
152
  # @param [Hash] opts the optional parameters
153
153
  # @option opts [SubmitNativeChallengeResponseRequest] :submit_native_challenge_response_request
154
154
  # @return [SubmitNativeChallengeResponseResponse]
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: trinsic_api
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.2.0.pre.alpha1
4
+ version: 2.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Trinsic
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2025-10-02 00:00:00.000000000 Z
11
+ date: 2025-10-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: typhoeus