-
Notifications
You must be signed in to change notification settings - Fork 516
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Librarian] Regenerated @ 1b6718f23da76f150eac392860c66a26de9af713 ce…
…b130295f80bc623f22496076e3dd57e27da2fb
- Loading branch information
Showing
19 changed files
with
4,377 additions
and
49 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
import AssistantsBase from "./AssistantsBase"; | ||
|
||
class Assistants extends AssistantsBase {} | ||
|
||
export = Assistants; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
/* | ||
* This code was generated by | ||
* ___ _ _ _ _ _ _ ____ ____ ____ _ ____ ____ _ _ ____ ____ ____ ___ __ __ | ||
* | | | | | | | | | __ | | |__| | __ | __ |___ |\ | |___ |__/ |__| | | | |__/ | ||
* | |_|_| | |___ | |__| |__| | | | |__] |___ | \| |___ | \ | | | |__| | \ | ||
* | ||
* NOTE: This class is auto generated by OpenAPI Generator. | ||
* https://openapi-generator.tech | ||
* Do not edit the class manually. | ||
*/ | ||
|
||
import Domain from "../base/Domain"; | ||
import V1 from "./assistants/V1"; | ||
|
||
class AssistantsBase extends Domain { | ||
_v1?: V1; | ||
|
||
/** | ||
* Initialize assistants domain | ||
* | ||
* @param twilio - The twilio client | ||
*/ | ||
constructor(twilio: any) { | ||
super(twilio, "https://assistants.twilio.com"); | ||
} | ||
|
||
get v1(): V1 { | ||
this._v1 = this._v1 || new V1(this); | ||
return this._v1; | ||
} | ||
} | ||
|
||
export = AssistantsBase; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,73 @@ | ||
/* | ||
* This code was generated by | ||
* ___ _ _ _ _ _ _ ____ ____ ____ _ ____ ____ _ _ ____ ____ ____ ___ __ __ | ||
* | | | | | | | | | __ | | |__| | __ | __ |___ |\ | |___ |__/ |__| | | | |__/ | ||
* | |_|_| | |___ | |__| |__| | | | |__] |___ | \| |___ | \ | | | |__| | \ | ||
* | ||
* Twilio - Assistants | ||
* This is the public Twilio REST API. | ||
* | ||
* NOTE: This class is auto generated by OpenAPI Generator. | ||
* https://openapi-generator.tech | ||
* Do not edit the class manually. | ||
*/ | ||
|
||
import AssistantsBase from "../AssistantsBase"; | ||
import Version from "../../base/Version"; | ||
import { AssistantListInstance } from "./v1/assistant"; | ||
import { KnowledgeListInstance } from "./v1/knowledge"; | ||
import { PolicyListInstance } from "./v1/policy"; | ||
import { SessionListInstance } from "./v1/session"; | ||
import { ToolListInstance } from "./v1/tool"; | ||
|
||
export default class V1 extends Version { | ||
/** | ||
* Initialize the V1 version of Assistants | ||
* | ||
* @param domain - The Twilio (Twilio.Assistants) domain | ||
*/ | ||
constructor(domain: AssistantsBase) { | ||
super(domain, "v1"); | ||
} | ||
|
||
/** assistants - { Twilio.Assistants.V1.AssistantListInstance } resource */ | ||
protected _assistants?: AssistantListInstance; | ||
/** knowledge - { Twilio.Assistants.V1.KnowledgeListInstance } resource */ | ||
protected _knowledge?: KnowledgeListInstance; | ||
/** policies - { Twilio.Assistants.V1.PolicyListInstance } resource */ | ||
protected _policies?: PolicyListInstance; | ||
/** sessions - { Twilio.Assistants.V1.SessionListInstance } resource */ | ||
protected _sessions?: SessionListInstance; | ||
/** tools - { Twilio.Assistants.V1.ToolListInstance } resource */ | ||
protected _tools?: ToolListInstance; | ||
|
||
/** Getter for assistants resource */ | ||
get assistants(): AssistantListInstance { | ||
this._assistants = this._assistants || AssistantListInstance(this); | ||
return this._assistants; | ||
} | ||
|
||
/** Getter for knowledge resource */ | ||
get knowledge(): KnowledgeListInstance { | ||
this._knowledge = this._knowledge || KnowledgeListInstance(this); | ||
return this._knowledge; | ||
} | ||
|
||
/** Getter for policies resource */ | ||
get policies(): PolicyListInstance { | ||
this._policies = this._policies || PolicyListInstance(this); | ||
return this._policies; | ||
} | ||
|
||
/** Getter for sessions resource */ | ||
get sessions(): SessionListInstance { | ||
this._sessions = this._sessions || SessionListInstance(this); | ||
return this._sessions; | ||
} | ||
|
||
/** Getter for tools resource */ | ||
get tools(): ToolListInstance { | ||
this._tools = this._tools || ToolListInstance(this); | ||
return this._tools; | ||
} | ||
} |
Oops, something went wrong.