Skip to content

Commit 7833dd4

Browse files
Update generated code for v1719
1 parent 1fdd50c commit 7833dd4

File tree

5 files changed

+23
-63
lines changed

5 files changed

+23
-63
lines changed

src/resources/Privacy/RedactionJobs.ts

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,10 +29,6 @@ export const RedactionJobs = StripeResource.extend({
2929
fullPath: '/v1/privacy/redaction_jobs/{job}/validation_errors',
3030
methodType: 'list',
3131
}),
32-
retrieveValidationError: stripeMethod({
33-
method: 'GET',
34-
fullPath: '/v1/privacy/redaction_jobs/{job}/validation_errors/{error}',
35-
}),
3632
run: stripeMethod({
3733
method: 'POST',
3834
fullPath: '/v1/privacy/redaction_jobs/{job}/run',

types/Privacy/RedactionJobRootObjects.d.ts

Lines changed: 0 additions & 35 deletions
This file was deleted.

types/Privacy/RedactionJobs.d.ts

Lines changed: 23 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ declare module 'stripe' {
2626
/**
2727
* The objects at the root level that are subject to redaction.
2828
*/
29-
objects?: Stripe.Privacy.RedactionJobRootObjects | null;
29+
objects?: RedactionJob.Objects | null;
3030

3131
/**
3232
* The status field represents the current state of the redaction job. It can take on any of the following values: VALIDATING, READY, REDACTING, SUCCEEDED, CANCELED, FAILED.
@@ -38,6 +38,28 @@ declare module 'stripe' {
3838
*/
3939
validation_behavior: string | null;
4040
}
41+
42+
namespace RedactionJob {
43+
interface Objects {
44+
charges: Array<string> | null;
45+
46+
checkout_sessions: Array<string> | null;
47+
48+
customers: Array<string> | null;
49+
50+
identity_verification_sessions: Array<string> | null;
51+
52+
invoices: Array<string> | null;
53+
54+
issuing_cardholders: Array<string> | null;
55+
56+
payment_intents: Array<string> | null;
57+
58+
radar_value_list_items: Array<string> | null;
59+
60+
setup_intents: Array<string> | null;
61+
}
62+
}
4163
}
4264
}
4365
}

types/Privacy/RedactionJobsResource.d.ts

Lines changed: 0 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -105,13 +105,6 @@ declare module 'stripe' {
105105
expand?: Array<string>;
106106
}
107107

108-
interface RedactionJobRetrieveValidationErrorParams {
109-
/**
110-
* Specifies which fields in the response should be expanded.
111-
*/
112-
expand?: Array<string>;
113-
}
114-
115108
interface RedactionJobRunParams {
116109
/**
117110
* Specifies which fields in the response should be expanded.
@@ -194,21 +187,6 @@ declare module 'stripe' {
194187
options?: RequestOptions
195188
): ApiListPromise<Stripe.Privacy.RedactionJobValidationError>;
196189

197-
/**
198-
* Retrieve validation error method
199-
*/
200-
retrieveValidationError(
201-
jobId: string,
202-
id: string,
203-
params?: RedactionJobRetrieveValidationErrorParams,
204-
options?: RequestOptions
205-
): Promise<Stripe.Response<Stripe.Privacy.RedactionJobValidationError>>;
206-
retrieveValidationError(
207-
jobId: string,
208-
id: string,
209-
options?: RequestOptions
210-
): Promise<Stripe.Response<Stripe.Privacy.RedactionJobValidationError>>;
211-
212190
/**
213191
* Run redaction job method
214192
*/

types/index.d.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -283,7 +283,6 @@
283283
///<reference path='./Persons.d.ts' />
284284
///<reference path='./Plans.d.ts' />
285285
///<reference path='./Prices.d.ts' />
286-
///<reference path='./Privacy/RedactionJobRootObjects.d.ts' />
287286
///<reference path='./Privacy/RedactionJobValidationErrors.d.ts' />
288287
///<reference path='./Privacy/RedactionJobs.d.ts' />
289288
///<reference path='./ProductFeatures.d.ts' />

0 commit comments

Comments
 (0)