Skip to content

Commit

Permalink
fix: remove workflow ID and timestamps
Browse files Browse the repository at this point in the history
From the user's perspective these information are internal.

The information itself is useful for troubleshooting purposes (esp.
the timestamps), but this patch makes sure that we are only using
it for internal purposes.
  • Loading branch information
turip committed Jan 20, 2025
1 parent dcd6850 commit fd268dc
Show file tree
Hide file tree
Showing 19 changed files with 2,256 additions and 2,043 deletions.
1,544 changes: 753 additions & 791 deletions api/api.gen.go

Large diffs are not rendered by default.

1,548 changes: 755 additions & 793 deletions api/client/go/client.gen.go

Large diffs are not rendered by default.

65 changes: 2 additions & 63 deletions api/client/node/schemas/openapi.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2057,38 +2057,12 @@ export interface components {
}
/** @description Customer specific workflow overrides. */
BillingProfileCustomerWorkflowOverride: {
/**
* Creation Time
* Format: date-time
* @description Timestamp of when the resource was created.
* @example 2024-01-01T01:01:01.001Z
*/
readonly createdAt: string
/**
* Last Update Time
* Format: date-time
* @description Timestamp of when the resource was last updated.
* @example 2024-01-01T01:01:01.001Z
*/
readonly updatedAt: string
/**
* Deletion Time
* Format: date-time
* @description Timestamp of when the resource was permanently deleted.
* @example 2024-01-01T01:01:01.001Z
*/
readonly deletedAt?: string
/** @description The collection settings for this workflow */
collection?: components['schemas']['BillingWorkflowCollectionSettings']
/** @description The invoicing settings for this workflow */
invoicing?: components['schemas']['BillingWorkflowInvoicingSettings']
/** @description The payment settings for this workflow */
payment?: components['schemas']['BillingWorkflowPaymentSettings']
/**
* @description A unique identifier for the resource.
* @example 01G65Z755AFWAKHE12NY0CQ9FH
*/
readonly id: string
readonly taxApp: Omit<components['schemas']['App'], 'type'>
readonly invoicingApp: Omit<components['schemas']['App'], 'type'>
readonly paymentApp: Omit<components['schemas']['App'], 'type'>
Expand Down Expand Up @@ -2161,40 +2135,14 @@ export interface components {
}
/** @description TaxIdentificationCode is a normalized tax code shown on the original identity document. */
BillingTaxIdentificationCode: string
/** @description BillingWorkflow represents a billing workflow */
/** @description BillingWorkflow represents the settings for a billing workflow. */
BillingWorkflow: {
/**
* Creation Time
* Format: date-time
* @description Timestamp of when the resource was created.
* @example 2024-01-01T01:01:01.001Z
*/
readonly createdAt: string
/**
* Last Update Time
* Format: date-time
* @description Timestamp of when the resource was last updated.
* @example 2024-01-01T01:01:01.001Z
*/
readonly updatedAt: string
/**
* Deletion Time
* Format: date-time
* @description Timestamp of when the resource was permanently deleted.
* @example 2024-01-01T01:01:01.001Z
*/
readonly deletedAt?: string
/** @description The collection settings for this workflow */
collection?: components['schemas']['BillingWorkflowCollectionSettings']
/** @description The invoicing settings for this workflow */
invoicing?: components['schemas']['BillingWorkflowInvoicingSettings']
/** @description The payment settings for this workflow */
payment?: components['schemas']['BillingWorkflowPaymentSettings']
/**
* @description A unique identifier for the resource.
* @example 01G65Z755AFWAKHE12NY0CQ9FH
*/
readonly id: string
}
/** @description The alignment for collecting the pending line items into an invoice.
*
Expand Down Expand Up @@ -2274,15 +2222,6 @@ export interface components {
*/
collectionMethod: components['schemas']['CollectionMethod']
}
/** @description BillingWorkflowSettings represents the settings for a billing workflow. */
BillingWorkflowSettings: {
/** @description The collection settings for this workflow */
collection?: components['schemas']['BillingWorkflowCollectionSettings']
/** @description The invoicing settings for this workflow */
invoicing?: components['schemas']['BillingWorkflowInvoicingSettings']
/** @description The payment settings for this workflow */
payment?: components['schemas']['BillingWorkflowPaymentSettings']
}
/** @description Stripe CheckoutSession.custom_text */
CheckoutSessionCustomTextAfterSubmitParams: {
afterSubmit?: {
Expand Down Expand Up @@ -4878,7 +4817,7 @@ export interface components {
*/
readonly sourceBillingProfileID: string
/** @description The workflow details used by this invoice. */
workflow: components['schemas']['BillingWorkflowSettings']
workflow: components['schemas']['BillingWorkflow']
}
/** @description Mutable workflow settings for an invoice.
*
Expand Down
Loading

0 comments on commit fd268dc

Please sign in to comment.