twilio 6.0.0 → 6.0.1

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 (119) hide show
  1. package/lib/rest/ConversationsBase.d.ts +3 -0
  2. package/lib/rest/ConversationsBase.js +5 -0
  3. package/lib/rest/InsightsBase.d.ts +3 -0
  4. package/lib/rest/InsightsBase.js +5 -0
  5. package/lib/rest/IntelligenceBase.d.ts +3 -0
  6. package/lib/rest/IntelligenceBase.js +5 -0
  7. package/lib/rest/KnowledgeBase.d.ts +3 -0
  8. package/lib/rest/KnowledgeBase.js +5 -0
  9. package/lib/rest/Memory.d.ts +4 -0
  10. package/lib/rest/Memory.js +8 -0
  11. package/lib/rest/MemoryBase.d.ts +13 -0
  12. package/lib/rest/MemoryBase.js +31 -0
  13. package/lib/rest/Twilio.d.ts +5 -0
  14. package/lib/rest/Twilio.js +5 -0
  15. package/lib/rest/VoiceBase.d.ts +3 -0
  16. package/lib/rest/VoiceBase.js +5 -0
  17. package/lib/rest/api/v2010/account/call/recording.d.ts +2 -0
  18. package/lib/rest/api/v2010/account/call/recording.js +4 -0
  19. package/lib/rest/api/v2010/account/call/transcription.d.ts +1 -1
  20. package/lib/rest/api/v2010/account/call/transcription.js +6 -4
  21. package/lib/rest/api/v2010/account/call.d.ts +2 -0
  22. package/lib/rest/api/v2010/account/call.js +4 -0
  23. package/lib/rest/api/v2010/account/conference/participant.d.ts +2 -0
  24. package/lib/rest/api/v2010/account/conference/participant.js +4 -0
  25. package/lib/rest/conversations/V2.d.ts +35 -0
  26. package/lib/rest/conversations/V2.js +67 -0
  27. package/lib/rest/conversations/v2/communication.d.ts +479 -0
  28. package/lib/rest/conversations/v2/communication.js +436 -0
  29. package/lib/rest/conversations/v2/configuration.d.ts +906 -0
  30. package/lib/rest/conversations/v2/configuration.js +619 -0
  31. package/lib/rest/conversations/v2/conversation.d.ts +936 -0
  32. package/lib/rest/conversations/v2/conversation.js +664 -0
  33. package/lib/rest/conversations/v2/operation.d.ts +167 -0
  34. package/lib/rest/conversations/v2/operation.js +170 -0
  35. package/lib/rest/conversations/v2/participant.d.ts +469 -0
  36. package/lib/rest/conversations/v2/participant.js +442 -0
  37. package/lib/rest/flexApi/v1/plugin/pluginVersions.d.ts +1 -1
  38. package/lib/rest/flexApi/v1/plugin/pluginVersions.js +8 -6
  39. package/lib/rest/insights/V3.d.ts +20 -0
  40. package/lib/rest/insights/V3.js +42 -0
  41. package/lib/rest/insights/v1/call/callSummary.d.ts +10 -10
  42. package/lib/rest/insights/v1/call/event.d.ts +4 -4
  43. package/lib/rest/insights/v1/callSummaries.d.ts +12 -9
  44. package/lib/rest/insights/v3/metadata.d.ts +115 -0
  45. package/lib/rest/insights/v3/metadata.js +118 -0
  46. package/lib/rest/insights/v3/query.d.ts +180 -0
  47. package/lib/rest/insights/v3/query.js +214 -0
  48. package/lib/rest/intelligence/V3.d.ts +35 -0
  49. package/lib/rest/intelligence/V3.js +65 -0
  50. package/lib/rest/intelligence/v3/configuration.d.ts +693 -0
  51. package/lib/rest/intelligence/v3/configuration.js +528 -0
  52. package/lib/rest/intelligence/v3/conversation.d.ts +478 -0
  53. package/lib/rest/intelligence/v3/conversation.js +342 -0
  54. package/lib/rest/intelligence/v3/operator.d.ts +619 -0
  55. package/lib/rest/intelligence/v3/operator.js +493 -0
  56. package/lib/rest/intelligence/v3/operatorResult.d.ts +543 -0
  57. package/lib/rest/intelligence/v3/operatorResult.js +478 -0
  58. package/lib/rest/intelligence/v3/version.d.ts +469 -0
  59. package/lib/rest/intelligence/v3/version.js +341 -0
  60. package/lib/rest/knowledge/V2.d.ts +31 -0
  61. package/lib/rest/knowledge/V2.js +62 -0
  62. package/lib/rest/knowledge/v2/chunk.d.ts +209 -0
  63. package/lib/rest/knowledge/v2/chunk.js +178 -0
  64. package/lib/rest/knowledge/v2/knowledge.d.ts +507 -0
  65. package/lib/rest/knowledge/v2/knowledge.js +466 -0
  66. package/lib/rest/knowledge/v2/knowledgeBasis.d.ts +484 -0
  67. package/lib/rest/knowledge/v2/knowledgeBasis.js +441 -0
  68. package/lib/rest/knowledge/v2/operation.d.ts +162 -0
  69. package/lib/rest/knowledge/v2/operation.js +175 -0
  70. package/lib/rest/knowledge/v2/search.d.ts +180 -0
  71. package/lib/rest/knowledge/v2/search.js +174 -0
  72. package/lib/rest/memory/V1.d.ts +76 -0
  73. package/lib/rest/memory/V1.js +140 -0
  74. package/lib/rest/memory/v1/bulk.d.ts +129 -0
  75. package/lib/rest/memory/v1/bulk.js +158 -0
  76. package/lib/rest/memory/v1/conversationSummary.d.ts +531 -0
  77. package/lib/rest/memory/v1/conversationSummary.js +473 -0
  78. package/lib/rest/memory/v1/dataMapping.d.ts +630 -0
  79. package/lib/rest/memory/v1/dataMapping.js +512 -0
  80. package/lib/rest/memory/v1/event.d.ts +153 -0
  81. package/lib/rest/memory/v1/event.js +159 -0
  82. package/lib/rest/memory/v1/identifier.d.ts +362 -0
  83. package/lib/rest/memory/v1/identifier.js +369 -0
  84. package/lib/rest/memory/v1/identityResolutionSetting.d.ts +247 -0
  85. package/lib/rest/memory/v1/identityResolutionSetting.js +229 -0
  86. package/lib/rest/memory/v1/import.d.ts +292 -0
  87. package/lib/rest/memory/v1/import.js +280 -0
  88. package/lib/rest/memory/v1/lookup.d.ts +82 -0
  89. package/lib/rest/memory/v1/lookup.js +118 -0
  90. package/lib/rest/memory/v1/observation.d.ts +521 -0
  91. package/lib/rest/memory/v1/observation.js +477 -0
  92. package/lib/rest/memory/v1/operation.d.ts +162 -0
  93. package/lib/rest/memory/v1/operation.js +175 -0
  94. package/lib/rest/memory/v1/profile.d.ts +441 -0
  95. package/lib/rest/memory/v1/profile.js +467 -0
  96. package/lib/rest/memory/v1/recall.d.ts +306 -0
  97. package/lib/rest/memory/v1/recall.js +234 -0
  98. package/lib/rest/memory/v1/revision.d.ts +246 -0
  99. package/lib/rest/memory/v1/revision.js +195 -0
  100. package/lib/rest/memory/v1/store.d.ts +503 -0
  101. package/lib/rest/memory/v1/store.js +482 -0
  102. package/lib/rest/memory/v1/trait.d.ts +233 -0
  103. package/lib/rest/memory/v1/trait.js +190 -0
  104. package/lib/rest/memory/v1/traitGroup.d.ts +758 -0
  105. package/lib/rest/memory/v1/traitGroup.js +555 -0
  106. package/lib/rest/messaging/v2/channelsSender.d.ts +8 -0
  107. package/lib/rest/messaging/v2/channelsSender.js +2 -0
  108. package/lib/rest/previewIam/versionless/organization/roleAssignment.d.ts +32 -0
  109. package/lib/rest/previewIam/versionless/organization/roleAssignment.js +14 -0
  110. package/lib/rest/studio/v2/flow.d.ts +4 -0
  111. package/lib/rest/studio/v2/flow.js +8 -0
  112. package/lib/rest/verify/v2/service/webhook.d.ts +2 -2
  113. package/lib/rest/verify/v2/service/webhook.js +8 -8
  114. package/lib/rest/voice/V3.d.ts +15 -0
  115. package/lib/rest/voice/V3.js +37 -0
  116. package/lib/rest/voice/v3/transcription.d.ts +378 -0
  117. package/lib/rest/voice/v3/transcription.js +264 -0
  118. package/lib/twiml/VoiceResponse.d.ts +8 -0
  119. package/package.json +1 -1
@@ -0,0 +1,503 @@
1
+ import { inspect, InspectOptions } from "util";
2
+ import TokenPage, { TokenPaginationPayload } from "../../../base/TokenPage";
3
+ import Response from "../../../http/response";
4
+ import V1 from "../V1";
5
+ import { ApiResponse } from "../../../base/ApiResponse";
6
+ export declare class Meta {
7
+ /**
8
+ * The key of the list property contains the actual data items. This enables programmatic iteration over paginated results.
9
+ */
10
+ "key"?: string;
11
+ "pageSize"?: number;
12
+ "nextToken"?: string;
13
+ "previousToken"?: string;
14
+ constructor(payload: any);
15
+ }
16
+ export declare class PatchStoreRequest {
17
+ /**
18
+ * Provides a unique and addressable name to be assigned to this Store. This name is assigned by the developer and can be used in addition to the ID. It is intended to be human-readable and unique within the account.
19
+ */
20
+ "displayName"?: string;
21
+ /**
22
+ * A human readable description of this resource, up to 128 characters.
23
+ */
24
+ "description"?: string;
25
+ constructor(payload: any);
26
+ }
27
+ export declare class ServiceRequest {
28
+ /**
29
+ * Provides a unique and addressable name to be assigned to this Store. This name is assigned by the developer and can be used in addition to the ID. It is intended to be human-readable and unique within the account.
30
+ */
31
+ "displayName": string;
32
+ /**
33
+ * A human readable description of this resource, up to 128 characters.
34
+ */
35
+ "description"?: string;
36
+ constructor(payload: any);
37
+ }
38
+ /**
39
+ * Options to pass to patch a StoreInstance
40
+ */
41
+ export interface StoreContextPatchOptions {
42
+ /** Allows for optimistic concurrency control by making the request conditional. Server will only act if the resource\'s current Entity Tag (ETag) matches the one provided, preventing accidental overwrites. */
43
+ ifMatch?: string;
44
+ /** */
45
+ patchStoreRequest?: PatchStoreRequest;
46
+ }
47
+ /**
48
+ * Options to pass to create a StoreInstance
49
+ */
50
+ export interface StoreListInstanceCreateOptions {
51
+ /** */
52
+ serviceRequest: ServiceRequest;
53
+ }
54
+ /**
55
+ * Options to pass to each
56
+ */
57
+ export interface StoreListInstanceEachOptions {
58
+ /** The maximum number of items to return per page, maximum of 100. */
59
+ pageSize?: number;
60
+ /** The token for the page of results to retrieve. */
61
+ pageToken?: string;
62
+ /** Either \'ASC\' or \'DESC\' to sort results ascending or descending respectively. */
63
+ orderBy?: "ASC" | "DESC";
64
+ /** Function to process each record. If this and a positional callback are passed, this one will be used */
65
+ callback?: (item: StoreInstance, done: (err?: Error) => void) => void;
66
+ /** Function to be called upon completion of streaming */
67
+ done?: Function;
68
+ /** Upper limit for the number of records to return. each() guarantees never to return more than limit. Default is no limit */
69
+ limit?: number;
70
+ }
71
+ /**
72
+ * Options to pass to list
73
+ */
74
+ export interface StoreListInstanceOptions {
75
+ /** The maximum number of items to return per page, maximum of 100. */
76
+ pageSize?: number;
77
+ /** The token for the page of results to retrieve. */
78
+ pageToken?: string;
79
+ /** Either \'ASC\' or \'DESC\' to sort results ascending or descending respectively. */
80
+ orderBy?: "ASC" | "DESC";
81
+ /** Upper limit for the number of records to return. list() guarantees never to return more than limit. Default is no limit */
82
+ limit?: number;
83
+ }
84
+ /**
85
+ * Options to pass to page
86
+ */
87
+ export interface StoreListInstancePageOptions {
88
+ /** The maximum number of items to return per page, maximum of 100. */
89
+ pageSize?: number;
90
+ /** The token for the page of results to retrieve. */
91
+ pageToken?: string;
92
+ /** Either \'ASC\' or \'DESC\' to sort results ascending or descending respectively. */
93
+ orderBy?: "ASC" | "DESC";
94
+ }
95
+ export interface StoreContext {
96
+ /**
97
+ * Fetch a StoreInstance
98
+ *
99
+ * @param callback - Callback to handle processed record
100
+ *
101
+ * @returns Resolves to processed StoreInstance
102
+ */
103
+ fetch(callback?: (error: Error | null, item?: StoreInstance) => any): Promise<StoreInstance>;
104
+ /**
105
+ * Fetch a StoreInstance and return HTTP info
106
+ *
107
+ * @param callback - Callback to handle processed record
108
+ *
109
+ * @returns Resolves to processed StoreInstance with HTTP metadata
110
+ */
111
+ fetchWithHttpInfo(callback?: (error: Error | null, item?: ApiResponse<StoreInstance>) => any): Promise<ApiResponse<StoreInstance>>;
112
+ /**
113
+ * Patch a StoreInstance
114
+ *
115
+ * @param callback - Callback to handle processed record
116
+ *
117
+ * @returns Resolves to processed StoreInstance
118
+ */
119
+ patch(callback?: (error: Error | null, item?: StoreInstance) => any): Promise<StoreInstance>;
120
+ /**
121
+ * Patch a StoreInstance
122
+ *
123
+ * @param params - Body for request
124
+ * @param headers - header params for request
125
+ * @param callback - Callback to handle processed record
126
+ *
127
+ * @returns Resolves to processed StoreInstance
128
+ */
129
+ patch(params: PatchStoreRequest, headers?: any, callback?: (error: Error | null, item?: StoreInstance) => any): Promise<StoreInstance>;
130
+ /**
131
+ * Patch a StoreInstance and return HTTP info
132
+ *
133
+ * @param callback - Callback to handle processed record
134
+ *
135
+ * @returns Resolves to processed StoreInstance with HTTP metadata
136
+ */
137
+ patchWithHttpInfo(callback?: (error: Error | null, item?: ApiResponse<StoreInstance>) => any): Promise<ApiResponse<StoreInstance>>;
138
+ /**
139
+ * Patch a StoreInstance and return HTTP info
140
+ *
141
+ * @param params - Body for request
142
+ * @param headers - header params for request
143
+ * @param callback - Callback to handle processed record
144
+ *
145
+ * @returns Resolves to processed StoreInstance with HTTP metadata
146
+ */
147
+ patchWithHttpInfo(params: PatchStoreRequest, headers?: any, callback?: (error: Error | null, item?: ApiResponse<StoreInstance>) => any): Promise<ApiResponse<StoreInstance>>;
148
+ /**
149
+ * Provide a user-friendly representation
150
+ */
151
+ toJSON(): any;
152
+ [inspect.custom](_depth: any, options: InspectOptions): any;
153
+ }
154
+ export interface StoreContextSolution {
155
+ storeId: string;
156
+ }
157
+ export declare class StoreContextImpl implements StoreContext {
158
+ protected _version: V1;
159
+ protected _solution: StoreContextSolution;
160
+ protected _uri: string;
161
+ constructor(_version: V1, storeId: string);
162
+ fetch(callback?: (error: Error | null, item?: StoreInstance) => any): Promise<StoreInstance>;
163
+ fetchWithHttpInfo(callback?: (error: Error | null, item?: ApiResponse<StoreInstance>) => any): Promise<ApiResponse<StoreInstance>>;
164
+ patch(params?: PatchStoreRequest | ((error: Error | null, item?: StoreInstance) => any), headers?: any, callback?: (error: Error | null, item?: StoreInstance) => any): Promise<StoreInstance>;
165
+ patchWithHttpInfo(params?: PatchStoreRequest | ((error: Error | null, item?: ApiResponse<StoreInstance>) => any), headers?: any, callback?: (error: Error | null, item?: ApiResponse<StoreInstance>) => any): Promise<ApiResponse<StoreInstance>>;
166
+ /**
167
+ * Provide a user-friendly representation
168
+ *
169
+ * @returns Object
170
+ */
171
+ toJSON(): StoreContextSolution;
172
+ [inspect.custom](_depth: any, options: InspectOptions): string;
173
+ }
174
+ /**
175
+ * Nested model for Meta
176
+ */
177
+ export interface Meta {
178
+ key?: string;
179
+ pageSize?: number;
180
+ nextToken?: string;
181
+ previousToken?: string;
182
+ }
183
+ /**
184
+ * Nested model for PatchStoreRequest
185
+ */
186
+ export interface PatchStoreRequest {
187
+ displayName?: string;
188
+ description?: string;
189
+ }
190
+ /**
191
+ * Nested model for ServiceRequest
192
+ */
193
+ export interface ServiceRequest {
194
+ displayName: string;
195
+ description?: string;
196
+ }
197
+ interface StorePayload extends TokenPaginationPayload {
198
+ stores: string[];
199
+ }
200
+ /**
201
+ * Response model for PatchStore202Response operations
202
+ */
203
+ interface PatchStore202Response_ResponseResource {
204
+ message?: string;
205
+ statusUrl?: string;
206
+ }
207
+ /**
208
+ * Response model for CreateStore202Response operations
209
+ */
210
+ interface CreateStore202Response_ResponseResource {
211
+ message?: string;
212
+ statusUrl?: string;
213
+ }
214
+ /**
215
+ * Response model for ServiceList operations
216
+ */
217
+ interface ServiceList_ResponseResource {
218
+ stores?: Array<string>;
219
+ meta?: Meta;
220
+ }
221
+ /**
222
+ * Response model for Store operations
223
+ */
224
+ interface Store_ResponseResource {
225
+ displayName: string;
226
+ description?: string;
227
+ id: string;
228
+ status: string;
229
+ intelligenceServiceId: string;
230
+ version: number;
231
+ }
232
+ /**
233
+ * Union type for all possible response models
234
+ */
235
+ type StoreResource = PatchStore202Response_ResponseResource | CreateStore202Response_ResponseResource | ServiceList_ResponseResource | Store_ResponseResource;
236
+ export declare class StoreInstance {
237
+ protected _version: V1;
238
+ protected _solution: StoreContextSolution;
239
+ protected _context?: StoreContext;
240
+ constructor(_version: V1, _payload: StoreResource, storeId?: string);
241
+ message?: string;
242
+ /**
243
+ * URI to check operation status.
244
+ */
245
+ statusUrl?: string;
246
+ /**
247
+ * List of Memory Store IDs associated with the Twilio account.
248
+ */
249
+ stores?: Array<string>;
250
+ meta?: Meta;
251
+ /**
252
+ * Provides a unique and addressable name to be assigned to this Store. This name is assigned by the developer and can be used in addition to the ID. It is intended to be human-readable and unique within the account.
253
+ */
254
+ displayName?: string;
255
+ /**
256
+ * A human readable description of this resource, up to 128 characters.
257
+ */
258
+ description?: string;
259
+ /**
260
+ * The unique identifier for the Memory Store
261
+ */
262
+ id?: string;
263
+ /**
264
+ * The current status of the Memory Store. A store begins in the QUEUED state as it is scheduled for processing. It then moves to PROVISIONING at the beginning of processing. It transitions to ACTIVE once all dependent resources are provisioned, including Conversational Intelligence capabilities. If there is an issue provisioning resources, the store will move to the FAILED state.
265
+ */
266
+ status?: string;
267
+ /**
268
+ * The ID of the associated intelligence service that was provisioned for memory extraction.
269
+ */
270
+ intelligenceServiceId?: string;
271
+ /**
272
+ * The current version number of the Memory Store. Incremented on each successful update.
273
+ */
274
+ version?: number;
275
+ private get _proxy();
276
+ /**
277
+ * Fetch a StoreInstance
278
+ *
279
+ * @param callback - Callback to handle processed record
280
+ *
281
+ * @returns Resolves to processed StoreInstance
282
+ */
283
+ fetch(callback?: (error: Error | null, item?: StoreInstance) => any): Promise<StoreInstance>;
284
+ /**
285
+ * Fetch a StoreInstance and return HTTP info
286
+ *
287
+ * @param callback - Callback to handle processed record
288
+ *
289
+ * @returns Resolves to processed StoreInstance with HTTP metadata
290
+ */
291
+ fetchWithHttpInfo(callback?: (error: Error | null, item?: ApiResponse<StoreInstance>) => any): Promise<ApiResponse<StoreInstance>>;
292
+ /**
293
+ * Patch a StoreInstance
294
+ *
295
+ * @param callback - Callback to handle processed record
296
+ *
297
+ * @returns Resolves to processed StoreInstance
298
+ */
299
+ patch(callback?: (error: Error | null, item?: StoreInstance) => any): Promise<StoreInstance>;
300
+ /**
301
+ * Patch a StoreInstance
302
+ *
303
+ * @param params - Body for request
304
+ * @param headers - header params for request
305
+ * @param callback - Callback to handle processed record
306
+ *
307
+ * @returns Resolves to processed StoreInstance
308
+ */
309
+ patch(params: PatchStoreRequest, headers?: any, callback?: (error: Error | null, item?: StoreInstance) => any): Promise<StoreInstance>;
310
+ /**
311
+ * Patch a StoreInstance and return HTTP info
312
+ *
313
+ * @param callback - Callback to handle processed record
314
+ *
315
+ * @returns Resolves to processed StoreInstance with HTTP metadata
316
+ */
317
+ patchWithHttpInfo(callback?: (error: Error | null, item?: ApiResponse<StoreInstance>) => any): Promise<ApiResponse<StoreInstance>>;
318
+ /**
319
+ * Patch a StoreInstance and return HTTP info
320
+ *
321
+ * @param params - Body for request
322
+ * @param headers - header params for request
323
+ * @param callback - Callback to handle processed record
324
+ *
325
+ * @returns Resolves to processed StoreInstance with HTTP metadata
326
+ */
327
+ patchWithHttpInfo(params: PatchStoreRequest, headers?: any, callback?: (error: Error | null, item?: ApiResponse<StoreInstance>) => any): Promise<ApiResponse<StoreInstance>>;
328
+ /**
329
+ * Provide a user-friendly representation
330
+ *
331
+ * @returns Object
332
+ */
333
+ toJSON(): {
334
+ message: string;
335
+ statusUrl: string;
336
+ stores: string[];
337
+ meta: Meta;
338
+ displayName: string;
339
+ description: string;
340
+ id: string;
341
+ status: string;
342
+ intelligenceServiceId: string;
343
+ version: number;
344
+ };
345
+ [inspect.custom](_depth: any, options: InspectOptions): string;
346
+ }
347
+ export interface StoreSolution {
348
+ }
349
+ export interface StoreListInstance {
350
+ _version: V1;
351
+ _solution: StoreSolution;
352
+ _uri: string;
353
+ (storeId: string): StoreContext;
354
+ get(storeId: string): StoreContext;
355
+ /**
356
+ * Create a StoreInstance
357
+ *
358
+ * @param params - Body for request
359
+ * @param headers - header params for request
360
+ * @param callback - Callback to handle processed record
361
+ *
362
+ * @returns Resolves to processed StoreInstance
363
+ */
364
+ create(params: ServiceRequest, headers?: any, callback?: (error: Error | null, item?: StoreInstance) => any): Promise<StoreInstance>;
365
+ /**
366
+ * Create a StoreInstance and return HTTP info
367
+ *
368
+ * @param params - Body for request
369
+ * @param headers - header params for request
370
+ * @param callback - Callback to handle processed record
371
+ *
372
+ * @returns Resolves to processed StoreInstance with HTTP metadata
373
+ */
374
+ createWithHttpInfo(params: ServiceRequest, headers?: any, callback?: (error: Error | null, item?: ApiResponse<StoreInstance>) => any): Promise<ApiResponse<StoreInstance>>;
375
+ /**
376
+ * Streams StoreInstance records from the API.
377
+ *
378
+ * This operation lazily loads records as efficiently as possible until the limit
379
+ * is reached.
380
+ *
381
+ * The results are passed into the callback function, so this operation is memory
382
+ * efficient.
383
+ *
384
+ * If a function is passed as the first argument, it will be used as the callback
385
+ * function.
386
+ *
387
+ * @param { StoreListInstanceEachOptions } [params] - Options for request
388
+ * @param { function } [callback] - Function to process each record
389
+ */
390
+ each(callback?: (item: string, done: (err?: Error) => void) => void): void;
391
+ each(params: StoreListInstanceEachOptions, callback?: (item: string, done: (err?: Error) => void) => void): void;
392
+ /**
393
+ * Streams StoreInstance records from the API with HTTP metadata captured per page.
394
+ *
395
+ * This operation lazily loads records as efficiently as possible until the limit
396
+ * is reached. HTTP metadata (status code, headers) is captured for each page request.
397
+ *
398
+ * The results are passed into the callback function, so this operation is memory
399
+ * efficient.
400
+ *
401
+ * If a function is passed as the first argument, it will be used as the callback
402
+ * function.
403
+ *
404
+ * @param { StoreListInstanceEachOptions } [params] - Options for request
405
+ * @param { function } [callback] - Function to process each record
406
+ */
407
+ eachWithHttpInfo(callback?: (item: string, done: (err?: Error) => void) => void): void;
408
+ eachWithHttpInfo(params: StoreListInstanceEachOptions, callback?: (item: string, done: (err?: Error) => void) => void): void;
409
+ /**
410
+ * Retrieve a single target page of StoreInstance records from the API.
411
+ *
412
+ * The request is executed immediately.
413
+ *
414
+ * @param { string } [targetUrl] - API-generated URL for the requested results page
415
+ * @param { function } [callback] - Callback to handle list of records
416
+ */
417
+ getPage(targetUrl: string, callback?: (error: Error | null, items: StorePage) => any): Promise<StorePage>;
418
+ /**
419
+ * Retrieve a single target page of StoreInstance records from the API with HTTP metadata.
420
+ *
421
+ * The request is executed immediately.
422
+ *
423
+ * @param { string } [targetUrl] - API-generated URL for the requested results page
424
+ * @param { function } [callback] - Callback to handle list of records with metadata
425
+ */
426
+ getPageWithHttpInfo(targetUrl: string, callback?: (error: Error | null, items: ApiResponse<StorePage>) => any): Promise<ApiResponse<StorePage>>;
427
+ /**
428
+ * Lists StoreInstance records from the API as a list.
429
+ *
430
+ * If a function is passed as the first argument, it will be used as the callback
431
+ * function.
432
+ *
433
+ * @param { StoreListInstanceOptions } [params] - Options for request
434
+ * @param { function } [callback] - Callback to handle list of records
435
+ */
436
+ list(callback?: (error: Error | null, items: string[]) => any): Promise<string[]>;
437
+ list(params: StoreListInstanceOptions, callback?: (error: Error | null, items: string[]) => any): Promise<string[]>;
438
+ /**
439
+ * Lists StoreInstance records from the API as a list with HTTP metadata.
440
+ *
441
+ * Returns all records along with HTTP metadata from the first page fetched.
442
+ *
443
+ * If a function is passed as the first argument, it will be used as the callback
444
+ * function.
445
+ *
446
+ * @param { StoreListInstanceOptions } [params] - Options for request
447
+ * @param { function } [callback] - Callback to handle list of records with metadata
448
+ */
449
+ listWithHttpInfo(callback?: (error: Error | null, items: ApiResponse<string[]>) => any): Promise<ApiResponse<string[]>>;
450
+ listWithHttpInfo(params: StoreListInstanceOptions, callback?: (error: Error | null, items: ApiResponse<string[]>) => any): Promise<ApiResponse<string[]>>;
451
+ /**
452
+ * Retrieve a single page of StoreInstance records from the API.
453
+ *
454
+ * The request is executed immediately.
455
+ *
456
+ * If a function is passed as the first argument, it will be used as the callback
457
+ * function.
458
+ *
459
+ * @param { StoreListInstancePageOptions } [params] - Options for request
460
+ * @param { function } [callback] - Callback to handle list of records
461
+ */
462
+ page(callback?: (error: Error | null, items: StorePage) => any): Promise<StorePage>;
463
+ page(params: StoreListInstancePageOptions, callback?: (error: Error | null, items: StorePage) => any): Promise<StorePage>;
464
+ /**
465
+ * Retrieve a single page of StoreInstance records from the API with HTTP metadata.
466
+ *
467
+ * The request is executed immediately.
468
+ *
469
+ * If a function is passed as the first argument, it will be used as the callback
470
+ * function.
471
+ *
472
+ * @param { StoreListInstancePageOptions } [params] - Options for request
473
+ * @param { function } [callback] - Callback to handle list of records with metadata
474
+ */
475
+ pageWithHttpInfo(callback?: (error: Error | null, items: ApiResponse<StorePage>) => any): Promise<ApiResponse<StorePage>>;
476
+ pageWithHttpInfo(params: StoreListInstancePageOptions, callback?: (error: Error | null, items: ApiResponse<StorePage>) => any): Promise<ApiResponse<StorePage>>;
477
+ /**
478
+ * Provide a user-friendly representation
479
+ */
480
+ toJSON(): any;
481
+ [inspect.custom](_depth: any, options: InspectOptions): any;
482
+ }
483
+ export declare function StoreListInstance(version: V1): StoreListInstance;
484
+ export declare class StorePage extends TokenPage<V1, StorePayload, StoreResource, string> {
485
+ /**
486
+ * Initialize the StorePage
487
+ *
488
+ * @param version - Version of the resource
489
+ * @param response - Response from the API
490
+ * @param uri - URI of the resource
491
+ * @param params - Query parameters
492
+ * @param solution - Path solution
493
+ */
494
+ constructor(version: V1, response: Response<string>, uri: string, params: any, solution: StoreSolution);
495
+ /**
496
+ * Build an instance of StoreInstance
497
+ *
498
+ * @param payload - Payload response from the API
499
+ */
500
+ getInstance(payload: StoreResource): string;
501
+ [inspect.custom](depth: any, options: InspectOptions): string;
502
+ }
503
+ export {};