twilio 3.82.2 → 3.83.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.
Files changed (43) hide show
  1. package/lib/rest/Oauth.d.ts +32 -0
  2. package/lib/rest/Oauth.js +79 -0
  3. package/lib/rest/Supersim.d.ts +2 -0
  4. package/lib/rest/Supersim.js +9 -0
  5. package/lib/rest/Twilio.d.ts +2 -0
  6. package/lib/rest/Twilio.js +14 -0
  7. package/lib/rest/api/v2010/account/conference/participant.d.ts +2 -2
  8. package/lib/rest/api/v2010/account/conference/participant.js +6 -4
  9. package/lib/rest/api/v2010/account/message.d.ts +2 -0
  10. package/lib/rest/api/v2010/account/message.js +3 -0
  11. package/lib/rest/oauth/V1.d.ts +34 -0
  12. package/lib/rest/oauth/V1.js +80 -0
  13. package/lib/rest/oauth/v1/oauth.d.ts +115 -0
  14. package/lib/rest/oauth/v1/oauth.js +299 -0
  15. package/lib/rest/oauth/v1/openidDiscovery.d.ts +137 -0
  16. package/lib/rest/oauth/v1/openidDiscovery.js +329 -0
  17. package/lib/rest/oauth/v1/token.d.ts +115 -0
  18. package/lib/rest/oauth/v1/token.js +265 -0
  19. package/lib/rest/oauth/v1/userInfo.d.ts +123 -0
  20. package/lib/rest/oauth/v1/userInfo.js +308 -0
  21. package/lib/rest/supersim/V1.d.ts +3 -0
  22. package/lib/rest/supersim/V1.js +12 -0
  23. package/lib/rest/supersim/v1/settingsUpdate.d.ts +261 -0
  24. package/lib/rest/supersim/v1/settingsUpdate.js +466 -0
  25. package/lib/rest/verify/v2/service/accessToken.d.ts +0 -12
  26. package/lib/rest/verify/v2/service/accessToken.js +0 -12
  27. package/lib/rest/verify/v2/service/entity/challenge/notification.d.ts +0 -9
  28. package/lib/rest/verify/v2/service/entity/challenge/notification.js +0 -9
  29. package/lib/rest/verify/v2/service/entity/challenge.d.ts +0 -12
  30. package/lib/rest/verify/v2/service/entity/challenge.js +0 -12
  31. package/lib/rest/verify/v2/service/entity/factor.d.ts +0 -12
  32. package/lib/rest/verify/v2/service/entity/factor.js +0 -12
  33. package/lib/rest/verify/v2/service/entity/newFactor.d.ts +0 -9
  34. package/lib/rest/verify/v2/service/entity/newFactor.js +0 -9
  35. package/lib/rest/verify/v2/service/entity.d.ts +0 -12
  36. package/lib/rest/verify/v2/service/entity.js +0 -12
  37. package/lib/rest/verify/v2/service/webhook.d.ts +0 -12
  38. package/lib/rest/verify/v2/service/webhook.js +0 -12
  39. package/lib/rest/verify/v2/template.d.ts +2 -0
  40. package/lib/rest/verify/v2/template.js +2 -0
  41. package/lib/twiml/VoiceResponse.d.ts +3 -1
  42. package/lib/twiml/VoiceResponse.js +4 -0
  43. package/package.json +1 -1
@@ -0,0 +1,32 @@
1
+ /**
2
+ * This code was generated by
3
+ * \ / _ _ _| _ _
4
+ * | (_)\/(_)(_|\/| |(/_ v1.0.0
5
+ * / /
6
+ */
7
+
8
+ import Domain = require('../base/Domain');
9
+ import Twilio = require('./Twilio');
10
+ import V1 = require('./oauth/V1');
11
+ import { OauthListInstance } from './oauth/v1/oauth';
12
+ import { OpenidDiscoveryListInstance } from './oauth/v1/openidDiscovery';
13
+ import { TokenListInstance } from './oauth/v1/token';
14
+ import { UserInfoListInstance } from './oauth/v1/userInfo';
15
+
16
+
17
+ declare class Oauth extends Domain {
18
+ /**
19
+ * Initialize oauth domain
20
+ *
21
+ * @param twilio - The twilio client
22
+ */
23
+ constructor(twilio: Twilio);
24
+
25
+ readonly oauth: OauthListInstance;
26
+ readonly openidDiscovery: OpenidDiscoveryListInstance;
27
+ readonly token: TokenListInstance;
28
+ readonly userInfo: UserInfoListInstance;
29
+ readonly v1: V1;
30
+ }
31
+
32
+ export = Oauth;
@@ -0,0 +1,79 @@
1
+ 'use strict';
2
+
3
+ /* jshint ignore:start */
4
+ /**
5
+ * This code was generated by
6
+ * \ / _ _ _| _ _
7
+ * | (_)\/(_)(_|\/| |(/_ v1.0.0
8
+ * / /
9
+ */
10
+ /* jshint ignore:end */
11
+
12
+ var _ = require('lodash'); /* jshint ignore:line */
13
+ var Domain = require('../base/Domain'); /* jshint ignore:line */
14
+ var V1 = require('./oauth/V1'); /* jshint ignore:line */
15
+
16
+
17
+ /* jshint ignore:start */
18
+ /**
19
+ * Initialize oauth domain
20
+ *
21
+ * @constructor Twilio.Oauth
22
+ *
23
+ * @property {Twilio.Oauth.V1} v1 - v1 version
24
+ * @property {Twilio.Oauth.V1.OauthList} oauth - oauth resource
25
+ * @property {Twilio.Oauth.V1.OpenidDiscoveryList} openidDiscovery -
26
+ * openidDiscovery resource
27
+ * @property {Twilio.Oauth.V1.TokenList} token - token resource
28
+ * @property {Twilio.Oauth.V1.UserInfoList} userInfo - userInfo resource
29
+ *
30
+ * @param {Twilio} twilio - The twilio client
31
+ */
32
+ /* jshint ignore:end */
33
+ function Oauth(twilio) {
34
+ Domain.prototype.constructor.call(this, twilio, 'https://oauth.twilio.com');
35
+
36
+ // Versions
37
+ this._v1 = undefined;
38
+ }
39
+
40
+ _.extend(Oauth.prototype, Domain.prototype);
41
+ Oauth.prototype.constructor = Oauth;
42
+
43
+ Object.defineProperty(Oauth.prototype,
44
+ 'v1', {
45
+ get: function() {
46
+ this._v1 = this._v1 || new V1(this);
47
+ return this._v1;
48
+ }
49
+ });
50
+
51
+ Object.defineProperty(Oauth.prototype,
52
+ 'oauth', {
53
+ get: function() {
54
+ return this.v1.oauth;
55
+ }
56
+ });
57
+
58
+ Object.defineProperty(Oauth.prototype,
59
+ 'openidDiscovery', {
60
+ get: function() {
61
+ return this.v1.openidDiscovery;
62
+ }
63
+ });
64
+
65
+ Object.defineProperty(Oauth.prototype,
66
+ 'token', {
67
+ get: function() {
68
+ return this.v1.token;
69
+ }
70
+ });
71
+
72
+ Object.defineProperty(Oauth.prototype,
73
+ 'userInfo', {
74
+ get: function() {
75
+ return this.v1.userInfo;
76
+ }
77
+ });
78
+
79
+ module.exports = Oauth;
@@ -13,6 +13,7 @@ import { FleetListInstance } from './supersim/v1/fleet';
13
13
  import { IpCommandListInstance } from './supersim/v1/ipCommand';
14
14
  import { NetworkAccessProfileListInstance } from './supersim/v1/networkAccessProfile';
15
15
  import { NetworkListInstance } from './supersim/v1/network';
16
+ import { SettingsUpdateListInstance } from './supersim/v1/settingsUpdate';
16
17
  import { SimListInstance } from './supersim/v1/sim';
17
18
  import { SmsCommandListInstance } from './supersim/v1/smsCommand';
18
19
  import { UsageRecordListInstance } from './supersim/v1/usageRecord';
@@ -31,6 +32,7 @@ declare class Supersim extends Domain {
31
32
  readonly ipCommands: IpCommandListInstance;
32
33
  readonly networkAccessProfiles: NetworkAccessProfileListInstance;
33
34
  readonly networks: NetworkListInstance;
35
+ readonly settingsUpdates: SettingsUpdateListInstance;
34
36
  readonly sims: SimListInstance;
35
37
  readonly smsCommands: SmsCommandListInstance;
36
38
  readonly usageRecords: UsageRecordListInstance;
@@ -28,6 +28,8 @@ var V1 = require('./supersim/V1'); /* jshint ignore:line */
28
28
  * @property {Twilio.Supersim.V1.NetworkList} networks - networks resource
29
29
  * @property {Twilio.Supersim.V1.NetworkAccessProfileList} networkAccessProfiles -
30
30
  * networkAccessProfiles resource
31
+ * @property {Twilio.Supersim.V1.SettingsUpdateList} settingsUpdates -
32
+ * settingsUpdates resource
31
33
  * @property {Twilio.Supersim.V1.SimList} sims - sims resource
32
34
  * @property {Twilio.Supersim.V1.SmsCommandList} smsCommands - smsCommands resource
33
35
  * @property {Twilio.Supersim.V1.UsageRecordList} usageRecords -
@@ -89,6 +91,13 @@ Object.defineProperty(Supersim.prototype,
89
91
  }
90
92
  });
91
93
 
94
+ Object.defineProperty(Supersim.prototype,
95
+ 'settingsUpdates', {
96
+ get: function() {
97
+ return this.v1.settingsUpdates;
98
+ }
99
+ });
100
+
92
101
  Object.defineProperty(Supersim.prototype,
93
102
  'sims', {
94
103
  get: function() {
@@ -23,6 +23,7 @@ import Microvisor = require('./Microvisor');
23
23
  import Monitor = require('./Monitor');
24
24
  import Notify = require('./Notify');
25
25
  import Numbers = require('./Numbers');
26
+ import Oauth = require('./Oauth');
26
27
  import Preview = require('./Preview');
27
28
  import Pricing = require('./Pricing');
28
29
  import Proxy = require('./Proxy');
@@ -83,6 +84,7 @@ declare class Twilio {
83
84
  notifications: (typeof Api.prototype.account.notifications);
84
85
  notify: Notify;
85
86
  numbers: Numbers;
87
+ oauth: Oauth;
86
88
  outgoingCallerIds: (typeof Api.prototype.account.outgoingCallerIds);
87
89
  preview: Preview;
88
90
  pricing: Pricing;
@@ -38,6 +38,7 @@ var RestException = require('../base/RestException'); /* jshint ignore:line */
38
38
  * @property {Twilio.Monitor} monitor - monitor domain
39
39
  * @property {Twilio.Notify} notify - notify domain
40
40
  * @property {Twilio.Numbers} numbers - numbers domain
41
+ * @property {Twilio.Oauth} oauth - oauth domain
41
42
  * @property {Twilio.Preview} preview - preview domain
42
43
  * @property {Twilio.Pricing} pricing - pricing domain
43
44
  * @property {Twilio.Proxy} proxy - proxy domain
@@ -165,6 +166,7 @@ function Twilio(username, password, opts) {
165
166
  this._monitor = undefined;
166
167
  this._notify = undefined;
167
168
  this._numbers = undefined;
169
+ this._oauth = undefined;
168
170
  this._preview = undefined;
169
171
  this._pricing = undefined;
170
172
  this._proxy = undefined;
@@ -200,6 +202,7 @@ function Twilio(username, password, opts) {
200
202
  this.monitor;
201
203
  this.notify;
202
204
  this.numbers;
205
+ this.oauth;
203
206
  this.preview;
204
207
  this.pricing;
205
208
  this.proxy;
@@ -541,6 +544,17 @@ Object.defineProperty(Twilio.prototype,
541
544
  }
542
545
  });
543
546
 
547
+ Object.defineProperty(Twilio.prototype,
548
+ 'oauth', {
549
+ get: function() {
550
+ if (!this._oauth) {
551
+ var Oauth = require('./Oauth'); /* jshint ignore:line */
552
+ this._oauth = new Oauth(this);
553
+ }
554
+ return this._oauth;
555
+ }
556
+ });
557
+
544
558
  Object.defineProperty(Twilio.prototype,
545
559
  'preview', {
546
560
  get: function() {
@@ -32,10 +32,10 @@ declare function ParticipantList(version: V2010, accountSid: string, conferenceS
32
32
  * @property endConferenceOnExit - Whether to end the conference when the participant leaves
33
33
  * @property hold - Whether the participant should be on hold
34
34
  * @property holdMethod - The HTTP method we should use to call hold_url
35
- * @property holdUrl - The URL we call using the `hold_method` for music that plays when the participant is on hold
35
+ * @property holdUrl - The URL we call using the `hold_method` for music that plays when the participant is on hold
36
36
  * @property muted - Whether the participant should be muted
37
37
  * @property waitMethod - The HTTP method we should use to call `wait_url`
38
- * @property waitUrl - URL that hosts pre-conference hold music
38
+ * @property waitUrl - The URL we call using the `wait_method` for the music to play while participants are waiting for the conference to start
39
39
  */
40
40
  interface ParticipantInstanceUpdateOptions {
41
41
  announceMethod?: string;
@@ -723,14 +723,15 @@ ParticipantInstance.prototype.fetch = function fetch(callback) {
723
723
  * @param {boolean} [opts.muted] - Whether the participant should be muted
724
724
  * @param {boolean} [opts.hold] - Whether the participant should be on hold
725
725
  * @param {string} [opts.holdUrl] -
726
- * The URL we call using the `hold_method` for music that plays when the participant is on hold
726
+ * The URL we call using the `hold_method` for music that plays when the participant is on hold
727
727
  * @param {string} [opts.holdMethod] -
728
728
  * The HTTP method we should use to call hold_url
729
729
  * @param {string} [opts.announceUrl] -
730
730
  * The URL we call using the `announce_method` for an announcement to the participant
731
731
  * @param {string} [opts.announceMethod] -
732
732
  * The HTTP method we should use to call announce_url
733
- * @param {string} [opts.waitUrl] - URL that hosts pre-conference hold music
733
+ * @param {string} [opts.waitUrl] -
734
+ * The URL we call using the `wait_method` for the music to play while participants are waiting for the conference to start
734
735
  * @param {string} [opts.waitMethod] -
735
736
  * The HTTP method we should use to call `wait_url`
736
737
  * @param {boolean} [opts.beepOnExit] -
@@ -863,14 +864,15 @@ ParticipantContext.prototype.fetch = function fetch(callback) {
863
864
  * @param {boolean} [opts.muted] - Whether the participant should be muted
864
865
  * @param {boolean} [opts.hold] - Whether the participant should be on hold
865
866
  * @param {string} [opts.holdUrl] -
866
- * The URL we call using the `hold_method` for music that plays when the participant is on hold
867
+ * The URL we call using the `hold_method` for music that plays when the participant is on hold
867
868
  * @param {string} [opts.holdMethod] -
868
869
  * The HTTP method we should use to call hold_url
869
870
  * @param {string} [opts.announceUrl] -
870
871
  * The URL we call using the `announce_method` for an announcement to the participant
871
872
  * @param {string} [opts.announceMethod] -
872
873
  * The HTTP method we should use to call announce_url
873
- * @param {string} [opts.waitUrl] - URL that hosts pre-conference hold music
874
+ * @param {string} [opts.waitUrl] -
875
+ * The URL we call using the `wait_method` for the music to play while participants are waiting for the conference to start
874
876
  * @param {string} [opts.waitMethod] -
875
877
  * The HTTP method we should use to call `wait_url`
876
878
  * @param {boolean} [opts.beepOnExit] -
@@ -185,6 +185,7 @@ interface MessageListInstance {
185
185
  * @property scheduleType - Pass the value `fixed` to schedule a message at a fixed time.
186
186
  * @property sendAsMms - If set to True, Twilio will deliver the message as a single MMS message, regardless of the presence of media.
187
187
  * @property sendAt - The time that Twilio will send the message. Must be in ISO 8601 format.
188
+ * @property shortenUrls - Sets whether to shorten and track links included in the body of this message.
188
189
  * @property smartEncoded - Whether to detect Unicode characters that have a similar GSM-7 character and replace them
189
190
  * @property statusCallback - The URL we should call to send status information to your application
190
191
  * @property to - The destination phone number
@@ -206,6 +207,7 @@ interface MessageListInstanceCreateOptions {
206
207
  scheduleType?: MessageScheduleType;
207
208
  sendAsMms?: boolean;
208
209
  sendAt?: Date;
210
+ shortenUrls?: boolean;
209
211
  smartEncoded?: boolean;
210
212
  statusCallback?: string;
211
213
  to: string;
@@ -83,6 +83,8 @@ MessageList = function MessageList(version, accountSid) {
83
83
  * Whether to detect Unicode characters that have a similar GSM-7 character and replace them
84
84
  * @param {string|list} [opts.persistentAction] -
85
85
  * Rich actions for Channels Messages.
86
+ * @param {boolean} [opts.shortenUrls] -
87
+ * Sets whether to shorten and track links included in the body of this message.
86
88
  * @param {message.schedule_type} [opts.scheduleType] -
87
89
  * Pass the value `fixed` to schedule a message at a fixed time.
88
90
  * @param {Date} [opts.sendAt] -
@@ -127,6 +129,7 @@ MessageList = function MessageList(version, accountSid) {
127
129
  'AddressRetention': _.get(opts, 'addressRetention'),
128
130
  'SmartEncoded': serialize.bool(_.get(opts, 'smartEncoded')),
129
131
  'PersistentAction': serialize.map(_.get(opts, 'persistentAction'), function(e) { return e; }),
132
+ 'ShortenUrls': serialize.bool(_.get(opts, 'shortenUrls')),
130
133
  'ScheduleType': _.get(opts, 'scheduleType'),
131
134
  'SendAt': serialize.iso8601DateTime(_.get(opts, 'sendAt')),
132
135
  'SendAsMms': serialize.bool(_.get(opts, 'sendAsMms'))
@@ -0,0 +1,34 @@
1
+ /**
2
+ * This code was generated by
3
+ * \ / _ _ _| _ _
4
+ * | (_)\/(_)(_|\/| |(/_ v1.0.0
5
+ * / /
6
+ */
7
+
8
+ import Oauth = require('../Oauth');
9
+ import Version = require('../../base/Version');
10
+ import { OauthList } from './v1/oauth';
11
+ import { OauthListInstance } from './v1/oauth';
12
+ import { OpenidDiscoveryList } from './v1/openidDiscovery';
13
+ import { OpenidDiscoveryListInstance } from './v1/openidDiscovery';
14
+ import { TokenList } from './v1/token';
15
+ import { TokenListInstance } from './v1/token';
16
+ import { UserInfoList } from './v1/userInfo';
17
+ import { UserInfoListInstance } from './v1/userInfo';
18
+
19
+
20
+ declare class V1 extends Version {
21
+ /**
22
+ * Initialize the V1 version of Oauth
23
+ *
24
+ * @param domain - The twilio domain
25
+ */
26
+ constructor(domain: Oauth);
27
+
28
+ readonly oauth: OauthListInstance;
29
+ readonly openidDiscovery: OpenidDiscoveryListInstance;
30
+ readonly token: TokenListInstance;
31
+ readonly userInfo: UserInfoListInstance;
32
+ }
33
+
34
+ export = V1;
@@ -0,0 +1,80 @@
1
+ 'use strict';
2
+
3
+ /* jshint ignore:start */
4
+ /**
5
+ * This code was generated by
6
+ * \ / _ _ _| _ _
7
+ * | (_)\/(_)(_|\/| |(/_ v1.0.0
8
+ * / /
9
+ */
10
+ /* jshint ignore:end */
11
+
12
+ var _ = require('lodash'); /* jshint ignore:line */
13
+ var OauthList = require('./v1/oauth').OauthList;
14
+ var OpenidDiscoveryList = require('./v1/openidDiscovery').OpenidDiscoveryList;
15
+ var TokenList = require('./v1/token').TokenList;
16
+ var UserInfoList = require('./v1/userInfo').UserInfoList;
17
+ var Version = require('../../base/Version'); /* jshint ignore:line */
18
+
19
+
20
+ /* jshint ignore:start */
21
+ /**
22
+ * Initialize the V1 version of Oauth
23
+ *
24
+ * @constructor Twilio.Oauth.V1
25
+ *
26
+ * @property {Twilio.Oauth.V1.OauthList} oauth - oauth resource
27
+ * @property {Twilio.Oauth.V1.OpenidDiscoveryList} openidDiscovery -
28
+ * openidDiscovery resource
29
+ * @property {Twilio.Oauth.V1.TokenList} token - token resource
30
+ * @property {Twilio.Oauth.V1.UserInfoList} userInfo - userInfo resource
31
+ *
32
+ * @param {Twilio.Oauth} domain - The twilio domain
33
+ */
34
+ /* jshint ignore:end */
35
+ function V1(domain) {
36
+ Version.prototype.constructor.call(this, domain, 'v1');
37
+
38
+ // Resources
39
+ this._oauth = undefined;
40
+ this._openidDiscovery = undefined;
41
+ this._token = undefined;
42
+ this._userInfo = undefined;
43
+ }
44
+
45
+ _.extend(V1.prototype, Version.prototype);
46
+ V1.prototype.constructor = V1;
47
+
48
+ Object.defineProperty(V1.prototype,
49
+ 'oauth', {
50
+ get: function() {
51
+ this._oauth = this._oauth || new OauthList(this);
52
+ return this._oauth;
53
+ }
54
+ });
55
+
56
+ Object.defineProperty(V1.prototype,
57
+ 'openidDiscovery', {
58
+ get: function() {
59
+ this._openidDiscovery = this._openidDiscovery || new OpenidDiscoveryList(this);
60
+ return this._openidDiscovery;
61
+ }
62
+ });
63
+
64
+ Object.defineProperty(V1.prototype,
65
+ 'token', {
66
+ get: function() {
67
+ this._token = this._token || new TokenList(this);
68
+ return this._token;
69
+ }
70
+ });
71
+
72
+ Object.defineProperty(V1.prototype,
73
+ 'userInfo', {
74
+ get: function() {
75
+ this._userInfo = this._userInfo || new UserInfoList(this);
76
+ return this._userInfo;
77
+ }
78
+ });
79
+
80
+ module.exports = V1;
@@ -0,0 +1,115 @@
1
+ /**
2
+ * This code was generated by
3
+ * \ / _ _ _| _ _
4
+ * | (_)\/(_)(_|\/| |(/_ v1.0.0
5
+ * / /
6
+ */
7
+
8
+ import Page = require('../../../base/Page');
9
+ import Response = require('../../../http/response');
10
+ import V1 = require('../V1');
11
+ import { SerializableClass } from '../../../interfaces';
12
+
13
+ /**
14
+ * Initialize the OauthList
15
+ *
16
+ * @param version - Version of the resource
17
+ */
18
+ declare function OauthList(version: V1): OauthListInstance;
19
+
20
+ interface OauthListInstance {
21
+ /**
22
+ * @param sid - sid of instance
23
+ */
24
+ (sid: string): OauthContext;
25
+ /**
26
+ * Constructs a oauth
27
+ */
28
+ get(): OauthContext;
29
+ /**
30
+ * Provide a user-friendly representation
31
+ */
32
+ toJSON(): any;
33
+ }
34
+
35
+ interface OauthPayload extends OauthResource, Page.TwilioResponsePayload {
36
+ }
37
+
38
+ interface OauthResource {
39
+ keys: object;
40
+ url: string;
41
+ }
42
+
43
+ interface OauthSolution {
44
+ }
45
+
46
+
47
+ declare class OauthContext {
48
+ /**
49
+ * Initialize the OauthContext
50
+ *
51
+ * @param version - Version of the resource
52
+ */
53
+ constructor(version: V1);
54
+
55
+ /**
56
+ * fetch a OauthInstance
57
+ *
58
+ * @param callback - Callback to handle processed record
59
+ */
60
+ fetch(callback?: (error: Error | null, items: OauthInstance) => any): Promise<OauthInstance>;
61
+ /**
62
+ * Provide a user-friendly representation
63
+ */
64
+ toJSON(): any;
65
+ }
66
+
67
+
68
+ declare class OauthInstance extends SerializableClass {
69
+ /**
70
+ * Initialize the OauthContext
71
+ *
72
+ * @param version - Version of the resource
73
+ * @param payload - The instance payload
74
+ */
75
+ constructor(version: V1, payload: OauthPayload);
76
+
77
+ private _proxy: OauthContext;
78
+ /**
79
+ * fetch a OauthInstance
80
+ *
81
+ * @param callback - Callback to handle processed record
82
+ */
83
+ fetch(callback?: (error: Error | null, items: OauthInstance) => any): Promise<OauthInstance>;
84
+ keys: any;
85
+ /**
86
+ * Provide a user-friendly representation
87
+ */
88
+ toJSON(): any;
89
+ url: string;
90
+ }
91
+
92
+
93
+ declare class OauthPage extends Page<V1, OauthPayload, OauthResource, OauthInstance> {
94
+ /**
95
+ * Initialize the OauthPage
96
+ *
97
+ * @param version - Version of the resource
98
+ * @param response - Response from the API
99
+ * @param solution - Path solution
100
+ */
101
+ constructor(version: V1, response: Response<string>, solution: OauthSolution);
102
+
103
+ /**
104
+ * Build an instance of OauthInstance
105
+ *
106
+ * @param payload - Payload response from the API
107
+ */
108
+ getInstance(payload: OauthPayload): OauthInstance;
109
+ /**
110
+ * Provide a user-friendly representation
111
+ */
112
+ toJSON(): any;
113
+ }
114
+
115
+ export { OauthContext, OauthInstance, OauthList, OauthListInstance, OauthPage, OauthPayload, OauthResource, OauthSolution }