File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11configured_endpoints : 44
22openapi_spec_url : https://storage.googleapis.com/stainless-sdk-openapi-specs/lightspark%2Fgrid-3bb10cd66d5dd370dd6f6c0934f4bcf8b571cd375b09e7bdc1e430335683447c.yml
33openapi_spec_hash : 8283d72bae0aac6ade01772fda453181
4- config_hash : 3b251feaa8ec393868ad53388e7bdfa5
4+ config_hash : 5d8241df181a5bbf53d8c8b2ddee1fc2
Original file line number Diff line number Diff line change 1+ # Shared
2+
3+ Types:
4+
5+ - <code ><a href =" ./src/resources/shared.ts " >BulkCustomerImportErrorEntry</a ></code >
6+
17# Config
28
39Types:
Original file line number Diff line number Diff line change @@ -1117,4 +1117,6 @@ export declare namespace LightsparkGrid {
11171117 type InternalAccountStatusWebhookEvent as InternalAccountStatusWebhookEvent ,
11181118 type UnwrapWebhookEvent as UnwrapWebhookEvent ,
11191119 } ;
1120+
1121+ export type BulkCustomerImportErrorEntry = API . BulkCustomerImportErrorEntry ;
11201122}
Original file line number Diff line number Diff line change 11// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
22
33import { APIResource } from '../../core/resource' ;
4+ import * as Shared from '../shared' ;
45import { APIPromise } from '../../core/api-promise' ;
56import { type Uploadable } from '../../core/uploads' ;
67import { RequestOptions } from '../../internal/request-options' ;
@@ -130,7 +131,7 @@ export interface BulkGetJobStatusResponse {
130131 /**
131132 * Detailed error information for failed entries
132133 */
133- errors ?: Array < BulkGetJobStatusResponse . Error > ;
134+ errors ?: Array < Shared . BulkCustomerImportErrorEntry > ;
134135}
135136
136137export namespace BulkGetJobStatusResponse {
@@ -155,28 +156,6 @@ export namespace BulkGetJobStatusResponse {
155156 */
156157 total : number ;
157158 }
158-
159- export interface Error {
160- /**
161- * Platform customer ID or row number for the failed entry
162- */
163- correlationId : string ;
164-
165- /**
166- * Error code
167- */
168- code ?: string ;
169-
170- /**
171- * Additional error details
172- */
173- details ?: { [ key : string ] : unknown } ;
174-
175- /**
176- * Error message
177- */
178- message ?: string ;
179- }
180159}
181160
182161export interface BulkUploadCsvResponse {
Original file line number Diff line number Diff line change 11// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
22
3+ export * from './shared' ;
34export {
45 Config ,
56 type CustomerInfoFieldName ,
Original file line number Diff line number Diff line change 1+ // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2+
3+ export interface BulkCustomerImportErrorEntry {
4+ /**
5+ * Platform customer ID or row number for the failed entry
6+ */
7+ correlationId : string ;
8+
9+ /**
10+ * Error code
11+ */
12+ code ?: string ;
13+
14+ /**
15+ * Additional error details
16+ */
17+ details ?: { [ key : string ] : unknown } ;
18+
19+ /**
20+ * Error message
21+ */
22+ message ?: string ;
23+ }
Original file line number Diff line number Diff line change @@ -4,6 +4,7 @@ import { APIResource } from '../core/resource';
44import * as InvitationsAPI from './invitations' ;
55import * as QuotesAPI from './quotes' ;
66import * as ReceiverAPI from './receiver' ;
7+ import * as Shared from './shared' ;
78import * as TransactionsAPI from './transactions' ;
89import * as TransferInAPI from './transfer-in' ;
910import * as CustomersAPI from './customers/customers' ;
@@ -308,7 +309,7 @@ export namespace BulkUploadWebhookEvent {
308309 /**
309310 * Detailed error information for failed entries
310311 */
311- errors ?: Array < Data . Error > ;
312+ errors ?: Array < Shared . BulkCustomerImportErrorEntry > ;
312313 }
313314
314315 export namespace Data {
@@ -333,28 +334,6 @@ export namespace BulkUploadWebhookEvent {
333334 */
334335 total : number ;
335336 }
336-
337- export interface Error {
338- /**
339- * Platform customer ID or row number for the failed entry
340- */
341- correlationId : string ;
342-
343- /**
344- * Error code
345- */
346- code ?: string ;
347-
348- /**
349- * Additional error details
350- */
351- details ?: { [ key : string ] : unknown } ;
352-
353- /**
354- * Error message
355- */
356- message ?: string ;
357- }
358337 }
359338}
360339
You can’t perform that action at this time.
0 commit comments