@fantastic.dev/better-stripe 0.109.1 → 0.111.0

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 (100) hide show
  1. package/CHANGELOG.md +12 -0
  2. package/README.md +1 -1
  3. package/dist/client/billing/renewalAttach/internal/observation/freshActor.d.ts +41 -0
  4. package/dist/client/billing/renewalAttach/internal/observation/freshActor.d.ts.map +1 -1
  5. package/dist/client/billing/renewalAttach/internal/observation/freshActor.js +40 -3
  6. package/dist/client/billing/renewalAttach/internal/observation/freshActor.js.map +1 -1
  7. package/dist/client/billing/renewalAttach/internal/observation/freshTransport.d.ts +10 -1
  8. package/dist/client/billing/renewalAttach/internal/observation/freshTransport.d.ts.map +1 -1
  9. package/dist/client/billing/renewalAttach/internal/observation/freshTransport.js +162 -57
  10. package/dist/client/billing/renewalAttach/internal/observation/freshTransport.js.map +1 -1
  11. package/dist/client/billing/renewalAttach/internal/observation/invoiceAuthorization.d.ts +14 -0
  12. package/dist/client/billing/renewalAttach/internal/observation/invoiceAuthorization.d.ts.map +1 -0
  13. package/dist/client/billing/renewalAttach/internal/observation/invoiceAuthorization.js +109 -0
  14. package/dist/client/billing/renewalAttach/internal/observation/invoiceAuthorization.js.map +1 -0
  15. package/dist/client/billing/renewalAttach/internal/observation/invoicePlan.d.ts +20 -0
  16. package/dist/client/billing/renewalAttach/internal/observation/invoicePlan.d.ts.map +1 -0
  17. package/dist/client/billing/renewalAttach/internal/observation/invoicePlan.js +176 -0
  18. package/dist/client/billing/renewalAttach/internal/observation/invoicePlan.js.map +1 -0
  19. package/dist/client/billing/renewalAttach/internal/observation/profile.js.map +1 -1
  20. package/dist/client/billing/renewalAttach/internal/observation/types.d.ts +1 -1
  21. package/dist/client/billing/renewalAttach/internal/observation/types.d.ts.map +1 -1
  22. package/dist/client/billing/renewalAttach/internal/observation/types.js.map +1 -1
  23. package/dist/client/billing/renewalAttach/internal/operations/sourceOperations.d.ts +24 -0
  24. package/dist/client/billing/renewalAttach/internal/operations/sourceOperations.d.ts.map +1 -1
  25. package/dist/client/billing/renewalAttach/internal/operations/sourceOperations.js +1 -0
  26. package/dist/client/billing/renewalAttach/internal/operations/sourceOperations.js.map +1 -1
  27. package/dist/client/billing/renewalObservation/evidence-invoice.d.ts.map +1 -1
  28. package/dist/client/billing/renewalObservation/evidence-invoice.js +3 -0
  29. package/dist/client/billing/renewalObservation/evidence-invoice.js.map +1 -1
  30. package/dist/client/connect/payoutAdoptionTestHelpers.d.ts +84 -32
  31. package/dist/client/connect/payoutAdoptionTestHelpers.d.ts.map +1 -1
  32. package/dist/client/connect/payoutExecutionTestHelpers.d.ts +42 -16
  33. package/dist/client/connect/payoutExecutionTestHelpers.d.ts.map +1 -1
  34. package/dist/client/connect/payoutLargeAdoptionTestHelpers.d.ts +52 -0
  35. package/dist/client/connect/payoutLargeAdoptionTestHelpers.d.ts.map +1 -1
  36. package/dist/client/connect/payoutSyncTestHelpers.d.ts +26 -0
  37. package/dist/client/connect/payoutSyncTestHelpers.d.ts.map +1 -1
  38. package/dist/component/balanceFunding/internal/actions.d.ts +11 -11
  39. package/dist/component/balanceFunding/mutations.d.ts +27 -27
  40. package/dist/component/balanceFunding/preparationHandlers.d.ts +8 -8
  41. package/dist/component/balanceFunding/queries.d.ts +1 -1
  42. package/dist/component/balanceFunding/workflowValidators.d.ts +16 -16
  43. package/dist/component/earnings/triggers.d.ts +44 -0
  44. package/dist/component/earnings/triggers.d.ts.map +1 -1
  45. package/dist/component/renewalWitnesses/eligibility.d.ts +36 -0
  46. package/dist/component/renewalWitnesses/eligibility.d.ts.map +1 -0
  47. package/dist/component/renewalWitnesses/eligibility.js +60 -0
  48. package/dist/component/renewalWitnesses/eligibility.js.map +1 -0
  49. package/dist/component/renewalWitnesses/protocol.d.ts +75 -0
  50. package/dist/component/renewalWitnesses/protocol.d.ts.map +1 -0
  51. package/dist/component/renewalWitnesses/protocol.js +82 -0
  52. package/dist/component/renewalWitnesses/protocol.js.map +1 -0
  53. package/dist/component/renewalWitnesses/schema.d.ts +99 -0
  54. package/dist/component/renewalWitnesses/schema.d.ts.map +1 -0
  55. package/dist/component/renewalWitnesses/schema.js +36 -0
  56. package/dist/component/renewalWitnesses/schema.js.map +1 -0
  57. package/dist/component/renewalWitnesses/source.d.ts +22 -0
  58. package/dist/component/renewalWitnesses/source.d.ts.map +1 -0
  59. package/dist/component/renewalWitnesses/source.js +108 -0
  60. package/dist/component/renewalWitnesses/source.js.map +1 -0
  61. package/dist/component/schema.d.ts +42 -16
  62. package/dist/component/schema.js +2 -0
  63. package/dist/component/schema.js.map +1 -1
  64. package/dist/component/usage/allowance.fixtures.d.ts +26 -0
  65. package/dist/component/usage/allowance.fixtures.d.ts.map +1 -1
  66. package/dist/component/usageCredits/accounting.fixtures.d.ts +42 -16
  67. package/dist/component/usageCredits/accounting.fixtures.d.ts.map +1 -1
  68. package/dist/shared/renewalWitness.d.ts +51 -0
  69. package/dist/shared/renewalWitness.d.ts.map +1 -0
  70. package/dist/shared/renewalWitness.js +127 -0
  71. package/dist/shared/renewalWitness.js.map +1 -0
  72. package/docs/renewal-invoice-reads.md +85 -0
  73. package/docs/renewal-witness-protocol.md +88 -0
  74. package/package.json +1 -1
  75. package/src/client/billing/renewalAttach/internal/observation/freshActor.ts +69 -3
  76. package/src/client/billing/renewalAttach/internal/observation/freshTransport.ts +189 -59
  77. package/src/client/billing/renewalAttach/internal/observation/invoiceActor.integration.test.ts +142 -0
  78. package/src/client/billing/renewalAttach/internal/observation/invoiceActorControls.integration.test.ts +495 -0
  79. package/src/client/billing/renewalAttach/internal/observation/invoiceAuthorization.ts +145 -0
  80. package/src/client/billing/renewalAttach/internal/observation/invoicePlan.ts +284 -0
  81. package/src/client/billing/renewalAttach/internal/observation/profile.ts +1 -1
  82. package/src/client/billing/renewalAttach/internal/observation/types.ts +7 -1
  83. package/src/client/billing/renewalAttach/internal/operations/sourceOperations.ts +30 -0
  84. package/src/client/billing/renewalAttach/internal/producer/producerConfigureWriteControls.integration.test.ts +74 -62
  85. package/src/client/billing/renewalAttach/internal/test-fixtures/invoiceObservation.ts +158 -0
  86. package/src/client/billing/renewalAttach/internal/test-fixtures/producerConfigureAdmission.ts +11 -1
  87. package/src/client/billing/renewalAttach/internal/test-fixtures/producerInitialOperation.ts +4 -0
  88. package/src/client/billing/renewalObservation/evidence-invoice-identity.test.ts +13 -0
  89. package/src/client/billing/renewalObservation/evidence-invoice.ts +8 -0
  90. package/src/component/renewalOperations/configureJournal.fixtures.ts +25 -3
  91. package/src/component/renewalWitnesses/bounds.test.ts +204 -0
  92. package/src/component/renewalWitnesses/codec.test.ts +84 -0
  93. package/src/component/renewalWitnesses/controls.test.ts +250 -0
  94. package/src/component/renewalWitnesses/eligibility.ts +78 -0
  95. package/src/component/renewalWitnesses/protocol.test.ts +63 -0
  96. package/src/component/renewalWitnesses/protocol.ts +103 -0
  97. package/src/component/renewalWitnesses/schema.ts +36 -0
  98. package/src/component/renewalWitnesses/source.ts +157 -0
  99. package/src/component/schema.ts +2 -0
  100. package/src/shared/renewalWitness.ts +179 -0
@@ -0,0 +1,36 @@
1
+ import { defineTable } from "convex/server";
2
+ import { v } from "convex/values";
3
+ export const identity = v.object({
4
+ componentScope: v.string(),
5
+ witnessId: v.string(),
6
+ parentOperationId: v.id("renewalOperations"),
7
+ operationId: v.id("renewalOperations"),
8
+ });
9
+ export const descriptor = v.object({
10
+ version: v.literal(1),
11
+ witnessRowId: v.id("renewalObservationWitnesses"),
12
+ identity,
13
+ payloadBinding: v.string(),
14
+ capturedSubject: v.string(),
15
+ observedAtMs: v.number(),
16
+ customerAccountId: v.string(),
17
+ customerId: v.string(),
18
+ livemode: v.boolean(),
19
+ subscriptionId: v.string(),
20
+ scheduleId: v.string(),
21
+ observedItemId: v.string(),
22
+ nativePeriod: v.object({ start: v.number(), end: v.number() }),
23
+ operationalAuthority: v.literal(false),
24
+ authenticationEstablished: v.literal(false),
25
+ publicDeliveryEstablished: v.literal(false),
26
+ providerQualificationRequired: v.literal(true),
27
+ });
28
+ export const witnessesTable = defineTable({
29
+ identity,
30
+ payloadJSON: v.string(),
31
+ payloadBinding: v.string(),
32
+ }).index("by_componentScope_and_witnessId", [
33
+ "identity.componentScope",
34
+ "identity.witnessId",
35
+ ]);
36
+ //# sourceMappingURL=schema.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"schema.js","sourceRoot":"","sources":["../../../src/component/renewalWitnesses/schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAC5C,OAAO,EAAE,CAAC,EAAE,MAAM,eAAe,CAAC;AAElC,MAAM,CAAC,MAAM,QAAQ,GAAG,CAAC,CAAC,MAAM,CAAC;IAC/B,cAAc,EAAE,CAAC,CAAC,MAAM,EAAE;IAC1B,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE;IACrB,iBAAiB,EAAE,CAAC,CAAC,EAAE,CAAC,mBAAmB,CAAC;IAC5C,WAAW,EAAE,CAAC,CAAC,EAAE,CAAC,mBAAmB,CAAC;CACvC,CAAC,CAAC;AACH,MAAM,CAAC,MAAM,UAAU,GAAG,CAAC,CAAC,MAAM,CAAC;IACjC,OAAO,EAAE,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC;IACrB,YAAY,EAAE,CAAC,CAAC,EAAE,CAAC,6BAA6B,CAAC;IACjD,QAAQ;IACR,cAAc,EAAE,CAAC,CAAC,MAAM,EAAE;IAC1B,eAAe,EAAE,CAAC,CAAC,MAAM,EAAE;IAC3B,YAAY,EAAE,CAAC,CAAC,MAAM,EAAE;IACxB,iBAAiB,EAAE,CAAC,CAAC,MAAM,EAAE;IAC7B,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE;IACtB,QAAQ,EAAE,CAAC,CAAC,OAAO,EAAE;IACrB,cAAc,EAAE,CAAC,CAAC,MAAM,EAAE;IAC1B,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE;IACtB,cAAc,EAAE,CAAC,CAAC,MAAM,EAAE;IAC1B,YAAY,EAAE,CAAC,CAAC,MAAM,CAAC,EAAE,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE,EAAE,GAAG,EAAE,CAAC,CAAC,MAAM,EAAE,EAAE,CAAC;IAC9D,oBAAoB,EAAE,CAAC,CAAC,OAAO,CAAC,KAAK,CAAC;IACtC,yBAAyB,EAAE,CAAC,CAAC,OAAO,CAAC,KAAK,CAAC;IAC3C,yBAAyB,EAAE,CAAC,CAAC,OAAO,CAAC,KAAK,CAAC;IAC3C,6BAA6B,EAAE,CAAC,CAAC,OAAO,CAAC,IAAI,CAAC;CAC/C,CAAC,CAAC;AACH,MAAM,CAAC,MAAM,cAAc,GAAG,WAAW,CAAC;IACxC,QAAQ;IACR,WAAW,EAAE,CAAC,CAAC,MAAM,EAAE;IACvB,cAAc,EAAE,CAAC,CAAC,MAAM,EAAE;CAC3B,CAAC,CAAC,KAAK,CAAC,iCAAiC,EAAE;IAC1C,yBAAyB;IACzB,oBAAoB;CACrB,CAAC,CAAC"}
@@ -0,0 +1,22 @@
1
+ import type { QueryCtx } from "../_generated/server.js";
2
+ import { type WitnessIdentity, type WitnessPayload } from "../../shared/renewalWitness.js";
3
+ type Reader = Pick<QueryCtx, "db">;
4
+ export declare function normalizedWitnessIdentity(ctx: Reader, raw: WitnessIdentity): {
5
+ componentScope: string;
6
+ witnessId: string;
7
+ parentOperationId: import("convex/values").GenericId<"renewalOperations">;
8
+ operationId: import("convex/values").GenericId<"renewalOperations">;
9
+ };
10
+ /** Reload complete actual chains/owners on every boundary; never trust stored flags. */
11
+ export declare function validateWitnessSource(ctx: Reader, value: WitnessPayload): Promise<{
12
+ identity: {
13
+ componentScope: string;
14
+ witnessId: string;
15
+ parentOperationId: import("convex/values").GenericId<"renewalOperations">;
16
+ operationId: import("convex/values").GenericId<"renewalOperations">;
17
+ };
18
+ configuration: unknown;
19
+ dispatch: unknown;
20
+ }>;
21
+ export {};
22
+ //# sourceMappingURL=source.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"source.d.ts","sourceRoot":"","sources":["../../../src/component/renewalWitnesses/source.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,yBAAyB,CAAC;AAWxD,OAAO,EAKL,KAAK,eAAe,EACpB,KAAK,cAAc,EACpB,MAAM,gCAAgC,CAAC;AAExC,KAAK,MAAM,GAAG,IAAI,CAAC,QAAQ,EAAE,IAAI,CAAC,CAAC;AACnC,wBAAgB,yBAAyB,CAAC,GAAG,EAAE,MAAM,EAAE,GAAG,EAAE,eAAe;;;;;EAY1E;AAwFD,wFAAwF;AACxF,wBAAsB,qBAAqB,CACzC,GAAG,EAAE,MAAM,EACX,KAAK,EAAE,cAAc;;;;;;;;;GAgCtB"}
@@ -0,0 +1,108 @@
1
+ import { readCheckedOperation } from "../renewalOperations/operationContext.js";
2
+ import { currentReservation, eventChain, validateV2KnownAcknowledgement, } from "../renewalOperations/helpers.js";
3
+ import { sameJSON } from "../renewalOperations/attachValidation.js";
4
+ import { validateConfigureAcknowledgement } from "../renewalOperations/configureAcknowledgement.js";
5
+ import { constructRenewalConfigurationReceiptV2 } from "../../client/billing/renewalV2/index.js";
6
+ import { witnessIdentity, witnessNeed as need, witnessObject as object, witnessClosed as closed, } from "../../shared/renewalWitness.js";
7
+ export function normalizedWitnessIdentity(ctx, raw) {
8
+ const value = witnessIdentity(raw);
9
+ const parentOperationId = ctx.db.normalizeId("renewalOperations", value.parentOperationId);
10
+ const operationId = ctx.db.normalizeId("renewalOperations", value.operationId);
11
+ need(parentOperationId && operationId);
12
+ return { ...value, parentOperationId, operationId };
13
+ }
14
+ async function checkedStage(ctx, operationId, stage) {
15
+ const row = await ctx.db.get("renewalOperations", operationId);
16
+ need(row && row.recordVersion === 2);
17
+ const full = await readCheckedOperation(ctx, row);
18
+ const reservation = await currentReservation(ctx, row, full);
19
+ need(reservation &&
20
+ "recordVersion" in reservation &&
21
+ reservation.stage === stage);
22
+ const events = await eventChain(ctx, reservation);
23
+ const known = await validateV2KnownAcknowledgement(ctx, row, full, reservation, events);
24
+ if (stage === "configure" && events.length > 0) {
25
+ const original = object(JSON.parse(full.json));
26
+ const request = object(original.configureRecord).request;
27
+ need(sameJSON(JSON.parse(events[0].dataJSON), {
28
+ event: "dispatch",
29
+ stage: "configure",
30
+ request,
31
+ }));
32
+ if (events.length === 3)
33
+ need(known);
34
+ if (events.length >= 2 && !known) {
35
+ const response = closed(JSON.parse(events[1].dataJSON), [
36
+ "event",
37
+ "stage",
38
+ "request",
39
+ "body",
40
+ "transport",
41
+ ]);
42
+ need(response.event === "response" &&
43
+ response.stage === "configure" &&
44
+ sameJSON(response.request, request));
45
+ const receipt = await constructRenewalConfigurationReceiptV2({
46
+ configuration: object(original.configureRecord)
47
+ .configuration,
48
+ actualDispatch: original.dispatch,
49
+ providerSnapshot: object(response.body),
50
+ transport: object(response.transport),
51
+ });
52
+ await validateConfigureAcknowledgement(full, reservation, events, JSON.stringify(receipt));
53
+ }
54
+ }
55
+ if (stage === "attach")
56
+ need(events.length === 3 && known && row.initialBasis);
57
+ const { recordJSON: _recordJSON, ...summary } = reservation;
58
+ void _recordJSON;
59
+ const acknowledgement = known === null
60
+ ? null
61
+ : {
62
+ retention: {
63
+ status: "retained",
64
+ operationId,
65
+ ...known.retained,
66
+ },
67
+ receipt: JSON.parse(known.admitted.receiptJSON),
68
+ };
69
+ return {
70
+ record: JSON.parse(full.json),
71
+ reservation: summary,
72
+ acknowledgement,
73
+ initialBasis: row.initialBasis,
74
+ };
75
+ }
76
+ /** Reload complete actual chains/owners on every boundary; never trust stored flags. */
77
+ export async function validateWitnessSource(ctx, value) {
78
+ const identity = normalizedWitnessIdentity(ctx, value.identity);
79
+ const parent = await checkedStage(ctx, identity.parentOperationId, "attach");
80
+ const child = await checkedStage(ctx, identity.operationId, "configure");
81
+ need(object(child.record.parentAttachment).operationId ===
82
+ identity.parentOperationId);
83
+ need(parent.initialBasis && parent.acknowledgement);
84
+ const includeC9 = value.source.configure.acknowledgement !== null;
85
+ if (includeC9)
86
+ need(child.acknowledgement);
87
+ const expected = {
88
+ parent: {
89
+ record: parent.record,
90
+ reservation: parent.reservation,
91
+ initialBasis: parent.initialBasis,
92
+ acknowledgement: parent.acknowledgement,
93
+ },
94
+ configure: {
95
+ record: child.record,
96
+ reservation: child.reservation,
97
+ acknowledgement: includeC9 ? child.acknowledgement : null,
98
+ },
99
+ };
100
+ need(sameJSON(value.source, expected));
101
+ // A later valid C9 is checked above but cannot be injected into captured-null DATA.
102
+ return {
103
+ identity,
104
+ configuration: object(child.record.configureRecord).configuration,
105
+ dispatch: child.record.dispatch,
106
+ };
107
+ }
108
+ //# sourceMappingURL=source.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"source.js","sourceRoot":"","sources":["../../../src/component/renewalWitnesses/source.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,oBAAoB,EAAE,MAAM,0CAA0C,CAAC;AAChF,OAAO,EACL,kBAAkB,EAClB,UAAU,EACV,8BAA8B,GAC/B,MAAM,iCAAiC,CAAC;AACzC,OAAO,EAAE,QAAQ,EAAE,MAAM,0CAA0C,CAAC;AACpE,OAAO,EAAE,gCAAgC,EAAE,MAAM,kDAAkD,CAAC;AACpG,OAAO,EAAE,sCAAsC,EAAE,MAAM,yCAAyC,CAAC;AACjG,OAAO,EACL,eAAe,EACf,WAAW,IAAI,IAAI,EACnB,aAAa,IAAI,MAAM,EACvB,aAAa,IAAI,MAAM,GAGxB,MAAM,gCAAgC,CAAC;AAGxC,MAAM,UAAU,yBAAyB,CAAC,GAAW,EAAE,GAAoB;IACzE,MAAM,KAAK,GAAG,eAAe,CAAC,GAAG,CAAC,CAAC;IACnC,MAAM,iBAAiB,GAAG,GAAG,CAAC,EAAE,CAAC,WAAW,CAC1C,mBAAmB,EACnB,KAAK,CAAC,iBAAiB,CACxB,CAAC;IACF,MAAM,WAAW,GAAG,GAAG,CAAC,EAAE,CAAC,WAAW,CACpC,mBAAmB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AY,EAAE,MAAM,CAAC,YAAY;YACjC,eAAe,EAAE,MAAM,CAAC,eAAe;SACxC;QACD,SAAS,EAAE;YACT,MAAM,EAAE,KAAK,CAAC,MAAM;YACpB,WAAW,EAAE,KAAK,CAAC,WAAW;YAC9B,eAAe,EAAE,SAAS,CAAC,CAAC,CAAC,KAAK,CAAC,eAAe,CAAC,CAAC,CAAC,IAAI;SAC1D;KACF,CAAC;IACF,IAAI,CAAC,QAAQ,CAAC,KAAK,CAAC,MAAM,EAAE,QAAQ,CAAC,CAAC,CAAC;IACvC,oFAAoF;IACpF,OAAO;QACL,QAAQ;QACR,aAAa,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,eAAe,CAAC,CAAC,aAAa;QACjE,QAAQ,EAAE,KAAK,CAAC,MAAM,CAAC,QAAQ;KAChC,CAAC;AACJ,CAAC"}
@@ -1,4 +1,30 @@
1
1
  declare const _default: import("convex/server").SchemaDefinition<{
2
+ renewalObservationWitnesses: import("convex/server").TableDefinition<import("convex/values").VObject<{
3
+ identity: {
4
+ componentScope: string;
5
+ operationId: import("convex/values").GenericId<"renewalOperations">;
6
+ parentOperationId: import("convex/values").GenericId<"renewalOperations">;
7
+ witnessId: string;
8
+ };
9
+ payloadBinding: string;
10
+ payloadJSON: string;
11
+ }, {
12
+ identity: import("convex/values").VObject<{
13
+ componentScope: string;
14
+ operationId: import("convex/values").GenericId<"renewalOperations">;
15
+ parentOperationId: import("convex/values").GenericId<"renewalOperations">;
16
+ witnessId: string;
17
+ }, {
18
+ componentScope: import("convex/values").VString<string, "required">;
19
+ witnessId: import("convex/values").VString<string, "required">;
20
+ parentOperationId: import("convex/values").VId<import("convex/values").GenericId<"renewalOperations">, "required">;
21
+ operationId: import("convex/values").VId<import("convex/values").GenericId<"renewalOperations">, "required">;
22
+ }, "required", "componentScope" | "operationId" | "parentOperationId" | "witnessId">;
23
+ payloadJSON: import("convex/values").VString<string, "required">;
24
+ payloadBinding: import("convex/values").VString<string, "required">;
25
+ }, "required", "identity" | "identity.componentScope" | "identity.operationId" | "identity.parentOperationId" | "identity.witnessId" | "payloadBinding" | "payloadJSON">, {
26
+ by_componentScope_and_witnessId: ["identity.componentScope", "identity.witnessId", "_creationTime"];
27
+ }, {}, {}>;
2
28
  renewalOperations: import("convex/server").TableDefinition<import("convex/values").VObject<{
3
29
  activeAttemptId?: import("convex/values").GenericId<"renewalOperationAttempts"> | undefined;
4
30
  authorizationId: string;
@@ -2631,6 +2657,14 @@ declare const _default: import("convex/server").SchemaDefinition<{
2631
2657
  preparationId: import("convex/values").GenericId<"balanceFundingPreparations">;
2632
2658
  requestKey: string;
2633
2659
  result?: {
2660
+ reason: "identity_changed" | "revision_changed" | "scope_busy";
2661
+ retryable: false;
2662
+ status: "conflict";
2663
+ } | {
2664
+ reason: "policy_invalid";
2665
+ retryable: false;
2666
+ status: "rejected";
2667
+ } | {
2634
2668
  operation: {
2635
2669
  accountId: string;
2636
2670
  operationId: import("convex/values").GenericId<"balanceFundingOperations">;
@@ -2641,14 +2675,6 @@ declare const _default: import("convex/server").SchemaDefinition<{
2641
2675
  } | {
2642
2676
  enabled: boolean;
2643
2677
  status: "unchanged";
2644
- } | {
2645
- reason: "identity_changed" | "revision_changed" | "scope_busy";
2646
- retryable: false;
2647
- status: "conflict";
2648
- } | {
2649
- reason: "policy_invalid";
2650
- retryable: false;
2651
- status: "rejected";
2652
2678
  } | {
2653
2679
  reason: "provider_pending";
2654
2680
  retryable: true;
@@ -2659,6 +2685,14 @@ declare const _default: import("convex/server").SchemaDefinition<{
2659
2685
  payload: import("convex/values").VString<string, "required">;
2660
2686
  preparationId: import("convex/values").VId<import("convex/values").GenericId<"balanceFundingPreparations">, "required">;
2661
2687
  result: import("convex/values").VUnion<{
2688
+ reason: "identity_changed" | "revision_changed" | "scope_busy";
2689
+ retryable: false;
2690
+ status: "conflict";
2691
+ } | {
2692
+ reason: "policy_invalid";
2693
+ retryable: false;
2694
+ status: "rejected";
2695
+ } | {
2662
2696
  operation: {
2663
2697
  accountId: string;
2664
2698
  operationId: import("convex/values").GenericId<"balanceFundingOperations">;
@@ -2669,14 +2703,6 @@ declare const _default: import("convex/server").SchemaDefinition<{
2669
2703
  } | {
2670
2704
  enabled: boolean;
2671
2705
  status: "unchanged";
2672
- } | {
2673
- reason: "identity_changed" | "revision_changed" | "scope_busy";
2674
- retryable: false;
2675
- status: "conflict";
2676
- } | {
2677
- reason: "policy_invalid";
2678
- retryable: false;
2679
- status: "rejected";
2680
2706
  } | {
2681
2707
  reason: "provider_pending";
2682
2708
  retryable: true;
@@ -36,7 +36,9 @@ import { accountsTable } from "./core/schema";
36
36
  import { pricesTable, productsTable } from "./products/schema";
37
37
  import { webhookEventsTable } from "./webhooks/schema";
38
38
  import { eventsTable as renewalOperationEvents, attemptsTable as renewalOperationAttempts, operationsTable as renewalOperations, payloadsTable as renewalOperationPayloads, } from "./renewalOperations/schema.js";
39
+ import { witnessesTable as renewalObservationWitnesses } from "./renewalWitnesses/schema.js";
39
40
  export default defineSchema({
41
+ renewalObservationWitnesses,
40
42
  renewalOperations,
41
43
  renewalOperationAttempts,
42
44
  renewalOperationEvents,
@@ -1 +1 @@
1
- {"version":3,"file":"schema.js","sourceRoot":"","sources":["../../src/component/schema.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,iBAAiB,IAAI,oBAAoB,EACzC,aAAa,IAAI,2BAA2B,EAC5C,SAAS,IAAI,uBAAuB,EACpC,WAAW,IAAI,yBAAyB,GACzC,MAAM,kCAAkC,CAAC;AAC1C,OAAO,EACL,SAAS,IAAI,6BAA6B,EAC1C,YAAY,IAAI,mCAAmC,GACpD,MAAM,qCAAqC,CAAC;AAC7C,OAAO,EAAE,YAAY,IAAI,qBAAqB,EAAE,MAAM,mCAAmC,CAAC;AAC1F,OAAO,EACL,WAAW,IAAI,qBAAqB,EACpC,eAAe,IAAI,gBAAgB,EACnC,YAAY,IAAI,sBAAsB,GACvC,MAAM,8BAA8B,CAAC;AACtC,OAAO,EACL,aAAa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C,oBAAoB,EAAE,yBAAyB;IAC/C,2BAA2B,EAAE,mBAAmB;IAChD,uBAAuB;IACvB,iBAAiB;IACjB,gBAAgB;IAChB,yBAAyB,EAAE,iBAAiB;IAC5C,yBAAyB,EAAE,8BAA8B;IACzD,gBAAgB,EAAE,qBAAqB;IACvC,iBAAiB,EAAE,sBAAsB;IACzC,mBAAmB,EAAE,wBAAwB;IAC7C,uBAAuB,EAAE,4BAA4B;IACrD,cAAc,EAAE,aAAa;IAC7B,sBAAsB,EAAE,eAAe;IACvC,cAAc,EAAE,mBAAmB;IACnC,cAAc,EAAE,WAAW;IAC3B,gBAAgB,EAAE,aAAa;IAC/B,cAAc,EAAE,WAAW;IAC3B,oBAAoB,EAAE,iBAAiB;IACvC,qBAAqB,EAAE,gBAAgB;IACvC,eAAe,EAAE,oBAAoB;IACrC,mBAAmB,EAAE,wBAAwB;IAC7C,OAAO;IACP,QAAQ,EAAE,aAAa;IACvB,eAAe,EAAE,oBAAoB;IAErC,WAAW;IACX,QAAQ,EAAE,aAAa;IACvB,MAAM,EAAE,WAAW;IAEnB,UAAU;IACV,aAAa,EAAE,kBAAkB;IACjC,gBAAgB,EAAE,qBAAqB;IACvC,QAAQ,EAAE,aAAa;IAEvB,UAAU;IACV,QAAQ,EAAE,aAAa;IACvB,OAAO,EAAE,YAAY;IACrB,iBAAiB,EAAE,sBAAsB;IACzC,OAAO,EAAE,YAAY;IACrB,QAAQ,EAAE,aAAa;IACvB,SAAS,EAAE,cAAc;IACzB,mBAAmB,EAAE,wBAAwB;IAE7C,WAAW;IACX,aAAa,EAAE,kBAAkB;CAClC,CAAC,CAAC"}
@@ -1,5 +1,31 @@
1
1
  export declare function setupAllowance(): Promise<{
2
2
  t: import("convex-test").TestConvex<import("convex/server").SchemaDefinition<{
3
+ renewalObservationWitnesses: import("convex/server").TableDefinition<import("convex/values").VObject<{
4
+ identity: {
5
+ componentScope: string;
6
+ operationId: import("convex/values").GenericId<"renewalOperations">;
7
+ parentOperationId: import("convex/values").GenericId<"renewalOperations">;
8
+ witnessId: string;
9
+ };
10
+ payloadBinding: string;
11
+ payloadJSON: string;
12
+ }, {
13
+ identity: import("convex/values").VObject<{
14
+ componentScope: string;
15
+ operationId: import("convex/values").GenericId<"renewalOperations">;
16
+ parentOperationId: import("convex/values").GenericId<"renewalOperations">;
17
+ witnessId: string;
18
+ }, {
19
+ componentScope: import("convex/values").VString<string, "required">;
20
+ witnessId: import("convex/values").VString<string, "required">;
21
+ parentOperationId: import("convex/values").VId<import("convex/values").GenericId<"renewalOperations">, "required">;
22
+ operationId: import("convex/values").VId<import("convex/values").GenericId<"renewalOperations">, "required">;
23
+ }, "required", "componentScope" | "operationId" | "parentOperationId" | "witnessId">;
24
+ payloadJSON: import("convex/values").VString<string, "required">;
25
+ payloadBinding: import("convex/values").VString<string, "required">;
26
+ }, "required", "identity" | "identity.componentScope" | "identity.operationId" | "identity.parentOperationId" | "identity.witnessId" | "payloadBinding" | "payloadJSON">, {
27
+ by_componentScope_and_witnessId: ["identity.componentScope", "identity.witnessId", "_creationTime"];
28
+ }, {}, {}>;
3
29
  renewalOperations: import("convex/server").TableDefinition<import("convex/values").VObject<{
4
30
  activeAttemptId?: import("convex/values").GenericId<"renewalOperationAttempts"> | undefined;
5
31
  authorizationId: string;
@@ -1 +1 @@
1
- {"version":3,"file":"allowance.fixtures.d.ts","sourceRoot":"","sources":["../../../src/component/usage/allowance.fixtures.ts"],"names":[],"mappings":"AAiBA,wBAAsB,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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C,KAAK;YAAO,GAAG;;;;;;;;;;;;;;;YAxClB,IAAI;YAAU,QAAQ;;;GA6DhC"}
@@ -1,5 +1,31 @@
1
1
  export declare function setupCredits(): Promise<{
2
2
  t: import("convex-test").TestConvex<import("convex/server").SchemaDefinition<{
3
+ renewalObservationWitnesses: import("convex/server").TableDefinition<import("convex/values").VObject<{
4
+ identity: {
5
+ componentScope: string;
6
+ operationId: import("convex/values").GenericId<"renewalOperations">;
7
+ parentOperationId: import("convex/values").GenericId<"renewalOperations">;
8
+ witnessId: string;
9
+ };
10
+ payloadBinding: string;
11
+ payloadJSON: string;
12
+ }, {
13
+ identity: import("convex/values").VObject<{
14
+ componentScope: string;
15
+ operationId: import("convex/values").GenericId<"renewalOperations">;
16
+ parentOperationId: import("convex/values").GenericId<"renewalOperations">;
17
+ witnessId: string;
18
+ }, {
19
+ componentScope: import("convex/values").VString<string, "required">;
20
+ witnessId: import("convex/values").VString<string, "required">;
21
+ parentOperationId: import("convex/values").VId<import("convex/values").GenericId<"renewalOperations">, "required">;
22
+ operationId: import("convex/values").VId<import("convex/values").GenericId<"renewalOperations">, "required">;
23
+ }, "required", "componentScope" | "operationId" | "parentOperationId" | "witnessId">;
24
+ payloadJSON: import("convex/values").VString<string, "required">;
25
+ payloadBinding: import("convex/values").VString<string, "required">;
26
+ }, "required", "identity" | "identity.componentScope" | "identity.operationId" | "identity.parentOperationId" | "identity.witnessId" | "payloadBinding" | "payloadJSON">, {
27
+ by_componentScope_and_witnessId: ["identity.componentScope", "identity.witnessId", "_creationTime"];
28
+ }, {}, {}>;
3
29
  renewalOperations: import("convex/server").TableDefinition<import("convex/values").VObject<{
4
30
  activeAttemptId?: import("convex/values").GenericId<"renewalOperationAttempts"> | undefined;
5
31
  authorizationId: string;
@@ -2632,14 +2658,6 @@ export declare function setupCredits(): Promise<{
2632
2658
  preparationId: import("convex/values").GenericId<"balanceFundingPreparations">;
2633
2659
  requestKey: string;
2634
2660
  result?: {
2635
- reason: "identity_changed" | "revision_changed" | "scope_busy";
2636
- retryable: false;
2637
- status: "conflict";
2638
- } | {
2639
- reason: "policy_invalid";
2640
- retryable: false;
2641
- status: "rejected";
2642
- } | {
2643
2661
  operation: {
2644
2662
  accountId: string;
2645
2663
  operationId: import("convex/values").GenericId<"balanceFundingOperations">;
@@ -2650,6 +2668,14 @@ export declare function setupCredits(): Promise<{
2650
2668
  } | {
2651
2669
  enabled: boolean;
2652
2670
  status: "unchanged";
2671
+ } | {
2672
+ reason: "identity_changed" | "revision_changed" | "scope_busy";
2673
+ retryable: false;
2674
+ status: "conflict";
2675
+ } | {
2676
+ reason: "policy_invalid";
2677
+ retryable: false;
2678
+ status: "rejected";
2653
2679
  } | {
2654
2680
  reason: "provider_pending";
2655
2681
  retryable: true;
@@ -2660,14 +2686,6 @@ export declare function setupCredits(): Promise<{
2660
2686
  payload: import("convex/values").VString<string, "required">;
2661
2687
  preparationId: import("convex/values").VId<import("convex/values").GenericId<"balanceFundingPreparations">, "required">;
2662
2688
  result: import("convex/values").VUnion<{
2663
- reason: "identity_changed" | "revision_changed" | "scope_busy";
2664
- retryable: false;
2665
- status: "conflict";
2666
- } | {
2667
- reason: "policy_invalid";
2668
- retryable: false;
2669
- status: "rejected";
2670
- } | {
2671
2689
  operation: {
2672
2690
  accountId: string;
2673
2691
  operationId: import("convex/values").GenericId<"balanceFundingOperations">;
@@ -2678,6 +2696,14 @@ export declare function setupCredits(): Promise<{
2678
2696
  } | {
2679
2697
  enabled: boolean;
2680
2698
  status: "unchanged";
2699
+ } | {
2700
+ reason: "identity_changed" | "revision_changed" | "scope_busy";
2701
+ retryable: false;
2702
+ status: "conflict";
2703
+ } | {
2704
+ reason: "policy_invalid";
2705
+ retryable: false;
2706
+ status: "rejected";
2681
2707
  } | {
2682
2708
  reason: "provider_pending";
2683
2709
  retryable: true;
@@ -1 +1 @@
1
- {"version":3,"file":"accounting.fixtures.d.ts","sourceRoot":"","sources":["../../../src/component/usageCredits/accounting.fixtures.ts"],"names":[],"mapp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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;yBAS1B,GAAG,EAAE,OAAO;yBACZ,OAAO,EAAE,IAAI;yBACb,KAAK,EAAE,SAAS;yBAChB,IAAI;6BAAI,IAAI,EAAE,MAAM;6BAAE,SAAS,EAAE,CAAC;;yBAClC,IAAI;6BAAI,QAAQ,EAAE,KAAK;6BAAE,iBAAiB,EAAE,GAAG;;yBAC/C,mBAAmB,EAAE,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;YAuDvB,KAAK;YAAO,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAU5B"}
@@ -0,0 +1,51 @@
1
+ import type { ObservationReads } from "../client/billing/renewalAttach/internal/observation/types.js";
2
+ import type { InvoiceContextV1 } from "../client/billing/renewalObservation/evidence-v1-types.js";
3
+ export declare function witnessStop(): never;
4
+ export declare function witnessNeed(value: unknown): asserts value;
5
+ export declare function witnessObject(raw: unknown): Record<string, unknown>;
6
+ export declare function witnessClosed(raw: unknown, keys: readonly string[]): Record<string, unknown>;
7
+ export declare function witnessText(raw: unknown, max?: number): string;
8
+ export type WitnessIdentity = Readonly<{
9
+ componentScope: string;
10
+ witnessId: string;
11
+ parentOperationId: string;
12
+ operationId: string;
13
+ }>;
14
+ export declare function witnessIdentity(raw: unknown): WitnessIdentity;
15
+ export type WitnessAcknowledgement = Readonly<{
16
+ retention: Record<string, unknown>;
17
+ receipt: Record<string, unknown>;
18
+ }>;
19
+ export type WitnessStage = Readonly<{
20
+ record: Record<string, unknown>;
21
+ reservation: Record<string, unknown>;
22
+ acknowledgement: WitnessAcknowledgement | null;
23
+ }>;
24
+ export type WitnessPayload = Readonly<{
25
+ version: 1;
26
+ kind: "renewal_witness_payload";
27
+ identity: WitnessIdentity;
28
+ capturedSubject: string;
29
+ acquisition: Readonly<{
30
+ observedAtMs: number;
31
+ elapsedWallMs: number;
32
+ elapsedNsDecimal: string;
33
+ apiVersion: "2026-09-30.endive";
34
+ baseReadProfile: "endive-schedule-first-44-v1";
35
+ invoiceReadProfile: "endive-pinned-invoices-fence-7-v1" | null;
36
+ }>;
37
+ source: Readonly<{
38
+ parent: WitnessStage & Readonly<{
39
+ initialBasis: Record<string, unknown>;
40
+ }>;
41
+ configure: WitnessStage;
42
+ }>;
43
+ reads: ObservationReads;
44
+ invoiceContext: InvoiceContextV1 | null;
45
+ }>;
46
+ /** Complete canonical JSON only. This admits DATA, not capture/authentication authority. */
47
+ export declare function canonicalWitnessJSON(raw: string): Readonly<{
48
+ json: string;
49
+ value: WitnessPayload;
50
+ }>;
51
+ //# sourceMappingURL=renewalWitness.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"renewalWitness.d.ts","sourceRoot":"","sources":["../../src/shared/renewalWitness.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,+DAA+D,CAAC;AACtG,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,2DAA2D,CAAC;AAElG,wBAAgB,WAAW,IAAI,KAAK,CAEnC;AACD,wBAAgB,WAAW,CAAC,KAAK,EAAE,OAAO,GAAG,OAAO,CAAC,KAAK,CAEzD;AACD,wBAAgB,aAAa,CAAC,GAAG,EAAE,OAAO,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAGnE;AACD,wBAAgB,aAAa,CAAC,GAAG,EAAE,OAAO,EAAE,IAAI,EAAE,SAAS,MAAM,EAAE,2BAOlE;AACD,wBAAgB,WAAW,CAAC,GAAG,EAAE,OAAO,EAAE,GAAG,SAAM,GAAG,MAAM,CAG3D;AACD,MAAM,MAAM,eAAe,GAAG,QAAQ,CAAC;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