@01.software/sdk 0.51.0 → 0.56.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.
- package/CHANGELOG.md +127 -0
- package/README.md +54 -11
- package/dist/client.cjs +420 -53
- package/dist/client.cjs.map +1 -1
- package/dist/client.d.cts +6 -6
- package/dist/client.d.ts +6 -6
- package/dist/client.js +420 -53
- package/dist/client.js.map +1 -1
- package/dist/{collection-client-hYvVfHIm.d.ts → collection-client-Bmr53saa.d.ts} +4 -4
- package/dist/{collection-client-CWAeuzV4.d.cts → collection-client-DxuBDso_.d.cts} +4 -4
- package/dist/{const-D8LixhAJ.d.cts → const-BKUqg96Q.d.ts} +2 -2
- package/dist/{const-JD8obaKg.d.ts → const-Cv1DCsp6.d.cts} +2 -2
- package/dist/{index-Bu0kCc6o.d.cts → index-CGsT4AQ8.d.cts} +24 -7
- package/dist/{index-B0Hjh3Ey.d.ts → index-DFHLLqYu.d.ts} +24 -7
- package/dist/index.cjs +434 -55
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +11 -10
- package/dist/index.d.ts +11 -10
- package/dist/index.js +434 -55
- package/dist/index.js.map +1 -1
- package/dist/{payload-types-BOsckg8B.d.cts → payload-types-Bk-duc5k.d.cts} +295 -100
- package/dist/{payload-types-BOsckg8B.d.ts → payload-types-Bk-duc5k.d.ts} +295 -100
- package/dist/query.cjs +14 -1
- package/dist/query.cjs.map +1 -1
- package/dist/query.d.cts +5 -5
- package/dist/query.d.ts +5 -5
- package/dist/query.js +14 -1
- package/dist/query.js.map +1 -1
- package/dist/realtime.d.cts +2 -2
- package/dist/realtime.d.ts +2 -2
- package/dist/server.cjs +98 -13
- package/dist/server.cjs.map +1 -1
- package/dist/server.d.cts +9 -8
- package/dist/server.d.ts +9 -8
- package/dist/server.js +98 -13
- package/dist/server.js.map +1 -1
- package/dist/{types-Bj8j7VHU.d.ts → types-CEK8uTvU.d.ts} +212 -11
- package/dist/{types-B14sEt1z.d.cts → types-CNdpj2fI.d.cts} +2 -2
- package/dist/{types-5ZlcAFuU.d.ts → types-D4mjGFj4.d.ts} +2 -2
- package/dist/{types-CM5qiR2k.d.cts → types-Dhk5NX7Z.d.cts} +212 -11
- package/dist/ui/form.d.cts +1 -1
- package/dist/ui/form.d.ts +1 -1
- package/dist/ui/video.d.cts +1 -1
- package/dist/ui/video.d.ts +1 -1
- package/dist/webhook.cjs +13 -2
- package/dist/webhook.cjs.map +1 -1
- package/dist/webhook.d.cts +5 -5
- package/dist/webhook.d.ts +5 -5
- package/dist/webhook.js +13 -2
- package/dist/webhook.js.map +1 -1
- package/package.json +6 -5
|
@@ -23,6 +23,7 @@ interface Config {
|
|
|
23
23
|
'webhook-events': WebhookEvent;
|
|
24
24
|
'webhook-deliveries': WebhookDelivery;
|
|
25
25
|
'webhook-outbox-deliveries': WebhookOutboxDelivery;
|
|
26
|
+
projects: Project;
|
|
26
27
|
tenants: Tenant;
|
|
27
28
|
'tenant-metadata': TenantMetadatum;
|
|
28
29
|
'tenant-entitlements': TenantEntitlement;
|
|
@@ -97,6 +98,7 @@ interface Config {
|
|
|
97
98
|
'customer-profile-lists': CustomerProfileList;
|
|
98
99
|
'customer-addresses': CustomerAddress;
|
|
99
100
|
'customer-groups': CustomerGroup;
|
|
101
|
+
'customer-group-grants': CustomerGroupGrant;
|
|
100
102
|
carts: Cart;
|
|
101
103
|
'cart-items': CartItem;
|
|
102
104
|
'commerce-idempotency-records': CommerceIdempotencyRecord;
|
|
@@ -150,6 +152,8 @@ interface Config {
|
|
|
150
152
|
events: Event;
|
|
151
153
|
'event-admission-holds': EventAdmissionHold;
|
|
152
154
|
'event-admission-types': EventAdmissionType;
|
|
155
|
+
'event-ticket-purchases': EventTicketPurchase;
|
|
156
|
+
'event-ticket-purchase-prices': EventTicketPurchasePrice;
|
|
153
157
|
'event-categories': EventCategory;
|
|
154
158
|
'event-tags': EventTag;
|
|
155
159
|
'event-occurrences': EventOccurrence;
|
|
@@ -259,6 +263,7 @@ interface Config {
|
|
|
259
263
|
'webhook-events': WebhookEventsSelect<false> | WebhookEventsSelect<true>;
|
|
260
264
|
'webhook-deliveries': WebhookDeliveriesSelect<false> | WebhookDeliveriesSelect<true>;
|
|
261
265
|
'webhook-outbox-deliveries': WebhookOutboxDeliveriesSelect<false> | WebhookOutboxDeliveriesSelect<true>;
|
|
266
|
+
projects: ProjectsSelect<false> | ProjectsSelect<true>;
|
|
262
267
|
tenants: TenantsSelect<false> | TenantsSelect<true>;
|
|
263
268
|
'tenant-metadata': TenantMetadataSelect<false> | TenantMetadataSelect<true>;
|
|
264
269
|
'tenant-entitlements': TenantEntitlementsSelect<false> | TenantEntitlementsSelect<true>;
|
|
@@ -333,6 +338,7 @@ interface Config {
|
|
|
333
338
|
'customer-profile-lists': CustomerProfileListsSelect<false> | CustomerProfileListsSelect<true>;
|
|
334
339
|
'customer-addresses': CustomerAddressesSelect<false> | CustomerAddressesSelect<true>;
|
|
335
340
|
'customer-groups': CustomerGroupsSelect<false> | CustomerGroupsSelect<true>;
|
|
341
|
+
'customer-group-grants': CustomerGroupGrantsSelect<false> | CustomerGroupGrantsSelect<true>;
|
|
336
342
|
carts: CartsSelect<false> | CartsSelect<true>;
|
|
337
343
|
'cart-items': CartItemsSelect<false> | CartItemsSelect<true>;
|
|
338
344
|
'commerce-idempotency-records': CommerceIdempotencyRecordsSelect<false> | CommerceIdempotencyRecordsSelect<true>;
|
|
@@ -386,6 +392,8 @@ interface Config {
|
|
|
386
392
|
events: EventsSelect<false> | EventsSelect<true>;
|
|
387
393
|
'event-admission-holds': EventAdmissionHoldsSelect<false> | EventAdmissionHoldsSelect<true>;
|
|
388
394
|
'event-admission-types': EventAdmissionTypesSelect<false> | EventAdmissionTypesSelect<true>;
|
|
395
|
+
'event-ticket-purchases': EventTicketPurchasesSelect<false> | EventTicketPurchasesSelect<true>;
|
|
396
|
+
'event-ticket-purchase-prices': EventTicketPurchasePricesSelect<false> | EventTicketPurchasePricesSelect<true>;
|
|
389
397
|
'event-categories': EventCategoriesSelect<false> | EventCategoriesSelect<true>;
|
|
390
398
|
'event-tags': EventTagsSelect<false> | EventTagsSelect<true>;
|
|
391
399
|
'event-occurrences': EventOccurrencesSelect<false> | EventOccurrencesSelect<true>;
|
|
@@ -615,6 +623,11 @@ interface Image {
|
|
|
615
623
|
interface Tenant {
|
|
616
624
|
id: string;
|
|
617
625
|
webhookPurgeFencedAt?: string | null;
|
|
626
|
+
project?: (string | null) | Project;
|
|
627
|
+
environmentKind?: ('live' | 'sandbox') | null;
|
|
628
|
+
environmentGeneration?: number | null;
|
|
629
|
+
environmentState?: ('requested' | 'provisioning' | 'ready' | 'suspended' | 'failed' | 'archived' | 'purge-pending' | 'purged') | null;
|
|
630
|
+
environmentIsCurrent?: boolean | null;
|
|
618
631
|
name: string;
|
|
619
632
|
/**
|
|
620
633
|
* TEST is a time-limited space with separate data and keys and no external effects.
|
|
@@ -824,6 +837,31 @@ interface Tenant {
|
|
|
824
837
|
createdAt: string;
|
|
825
838
|
deletedAt?: string | null;
|
|
826
839
|
}
|
|
840
|
+
/**
|
|
841
|
+
* This interface was referenced by `Config`'s JSON-Schema
|
|
842
|
+
* via the `definition` "projects".
|
|
843
|
+
*/
|
|
844
|
+
interface Project {
|
|
845
|
+
id: string;
|
|
846
|
+
/**
|
|
847
|
+
* Customer-facing Project name.
|
|
848
|
+
*/
|
|
849
|
+
name: string;
|
|
850
|
+
/**
|
|
851
|
+
* URL-safe Project identifier. It is separate from a tenant slug and never substitutes for one.
|
|
852
|
+
*/
|
|
853
|
+
slug: string;
|
|
854
|
+
/**
|
|
855
|
+
* Commercial Project lifecycle state, distinct from child tenant runtime state.
|
|
856
|
+
*/
|
|
857
|
+
status: 'active' | 'suspended' | 'closed';
|
|
858
|
+
/**
|
|
859
|
+
* ADR 0056 migration authority mode. `tenant` preserves legacy tenant billing; `project-billing` moves only subscription authority while retaining the current Live tenant as the compatibility anchor.
|
|
860
|
+
*/
|
|
861
|
+
authorityMode: 'tenant' | 'project-billing';
|
|
862
|
+
updatedAt: string;
|
|
863
|
+
createdAt: string;
|
|
864
|
+
}
|
|
827
865
|
/**
|
|
828
866
|
* Manage Console users and permission details.
|
|
829
867
|
*
|
|
@@ -1055,7 +1093,7 @@ interface CommerceNotificationIntent {
|
|
|
1055
1093
|
* Stable key that prevents duplicate notification intents within a tenant.
|
|
1056
1094
|
*/
|
|
1057
1095
|
dedupeKey: string;
|
|
1058
|
-
event: 'orderPaid' | 'orderCanceled' | 'fulfillmentShipped' | 'orderDelivered' | 'returnRequested' | 'returnApproved' | 'returnRejected' | 'returnCanceled' | 'returnCompleted' | 'paymentReconciliationRequired' | 'paymentRefundRequiresAttention' | 'eventRegistrationConfirmed' | 'eventOccurrenceCanceled';
|
|
1096
|
+
event: 'orderPaid' | 'orderCanceled' | 'fulfillmentShipped' | 'orderDelivered' | 'returnRequested' | 'returnApproved' | 'returnRejected' | 'returnCanceled' | 'returnCompleted' | 'paymentReconciliationRequired' | 'paymentRefundRequiresAttention' | 'membershipActivated' | 'membershipPastDue' | 'membershipExpired' | 'membershipCancelled' | 'eventRegistrationConfirmed' | 'eventOccurrenceCanceled';
|
|
1059
1097
|
status: 'queued' | 'processing' | 'sent' | 'failed' | 'canceled';
|
|
1060
1098
|
/**
|
|
1061
1099
|
* Customer email target. Operator-only payment incident notifications leave this empty.
|
|
@@ -1180,6 +1218,10 @@ interface Order {
|
|
|
1180
1218
|
* Note left by customer at checkout
|
|
1181
1219
|
*/
|
|
1182
1220
|
customerNote?: string | null;
|
|
1221
|
+
/**
|
|
1222
|
+
* Internal admin notes (not visible to customers)
|
|
1223
|
+
*/
|
|
1224
|
+
adminNotes?: string | null;
|
|
1183
1225
|
transactions?: {
|
|
1184
1226
|
docs?: (string | Transaction)[];
|
|
1185
1227
|
hasNextPage?: boolean;
|
|
@@ -1222,6 +1264,10 @@ interface Order {
|
|
|
1222
1264
|
usageReserved: boolean;
|
|
1223
1265
|
priority?: number | null;
|
|
1224
1266
|
inputOrder?: number | null;
|
|
1267
|
+
conditionDigest?: string | null;
|
|
1268
|
+
customerEligibilityEvidence?: {
|
|
1269
|
+
[k: string]: unknown;
|
|
1270
|
+
} | unknown[] | string | number | boolean | null;
|
|
1225
1271
|
id?: string | null;
|
|
1226
1272
|
}[] | null;
|
|
1227
1273
|
discountAmount?: number | null;
|
|
@@ -1279,10 +1325,6 @@ interface Order {
|
|
|
1279
1325
|
integrationMetadata?: {
|
|
1280
1326
|
[k: string]: unknown;
|
|
1281
1327
|
} | unknown[] | string | number | boolean | null;
|
|
1282
|
-
/**
|
|
1283
|
-
* Internal admin notes (not visible to customers)
|
|
1284
|
-
*/
|
|
1285
|
-
adminNotes?: string | null;
|
|
1286
1328
|
source?: ('web' | 'app' | 'manual' | 'api' | 'import') | null;
|
|
1287
1329
|
tags?: (string | OrderTag)[] | null;
|
|
1288
1330
|
tagSlugs?: {
|
|
@@ -1319,8 +1361,8 @@ interface Customer {
|
|
|
1319
1361
|
_customers_customers_order?: string | null;
|
|
1320
1362
|
_order?: string | null;
|
|
1321
1363
|
tenant?: (string | null) | Tenant;
|
|
1322
|
-
name: string;
|
|
1323
1364
|
email?: string | null;
|
|
1365
|
+
name: string;
|
|
1324
1366
|
phone?: string | null;
|
|
1325
1367
|
groups?: (string | CustomerGroup)[] | null;
|
|
1326
1368
|
/**
|
|
@@ -1850,7 +1892,7 @@ interface Product {
|
|
|
1850
1892
|
*/
|
|
1851
1893
|
generateSlug?: boolean | null;
|
|
1852
1894
|
/**
|
|
1853
|
-
* Slug used in product URLs.
|
|
1895
|
+
* Slug used in product URLs. It is fixed after creation.
|
|
1854
1896
|
*/
|
|
1855
1897
|
slug?: string | null;
|
|
1856
1898
|
/**
|
|
@@ -2935,7 +2977,7 @@ interface ShippingPolicy {
|
|
|
2935
2977
|
*/
|
|
2936
2978
|
baseAmount?: number | null;
|
|
2937
2979
|
/**
|
|
2938
|
-
* Read-only rollout field. Set up free shipping with an order-amount rate row priced at 0, or with an automatic free_shipping discount that sets a minimum order amount. When you use a rate row,
|
|
2980
|
+
* Read-only rollout field. Set up free shipping with an order-amount rate row priced at 0, or with an automatic free_shipping discount that sets a minimum order amount. When you use a rate row, change the existing paid row's Condition to Order amount and cap it with a Max order amount below the free-shipping threshold so both rows never apply together.
|
|
2939
2981
|
*/
|
|
2940
2982
|
freeShippingMinAmount?: number | null;
|
|
2941
2983
|
rates?: {
|
|
@@ -3204,6 +3246,10 @@ interface Checkout {
|
|
|
3204
3246
|
usageReserved: boolean;
|
|
3205
3247
|
priority?: number | null;
|
|
3206
3248
|
inputOrder?: number | null;
|
|
3249
|
+
conditionDigest?: string | null;
|
|
3250
|
+
customerEligibilityEvidence?: {
|
|
3251
|
+
[k: string]: unknown;
|
|
3252
|
+
} | unknown[] | string | number | boolean | null;
|
|
3207
3253
|
id?: string | null;
|
|
3208
3254
|
}[] | null;
|
|
3209
3255
|
discountAmount?: number | null;
|
|
@@ -4092,6 +4138,22 @@ interface EventRegistration {
|
|
|
4092
4138
|
answer?: string | null;
|
|
4093
4139
|
id?: string | null;
|
|
4094
4140
|
}[] | null;
|
|
4141
|
+
/**
|
|
4142
|
+
* How this registration was created. Existing registrations may be empty and cannot be changed.
|
|
4143
|
+
*/
|
|
4144
|
+
creationChannel?: ('public_registration' | 'commerce_materialization' | 'operator') | null;
|
|
4145
|
+
/**
|
|
4146
|
+
* User who added this registration in Console.
|
|
4147
|
+
*/
|
|
4148
|
+
createdByOperator?: (string | null) | User;
|
|
4149
|
+
/**
|
|
4150
|
+
* Admission basis for an operator-added registration. It stores no price or payment evidence.
|
|
4151
|
+
*/
|
|
4152
|
+
operatorAdmissionBasis?: ('standard' | 'complimentary' | 'external_sale_reported') | null;
|
|
4153
|
+
/**
|
|
4154
|
+
* Whether to send confirmation notifications for an operator-added registration. Applies to later transitions to going.
|
|
4155
|
+
*/
|
|
4156
|
+
confirmationNotificationPolicy?: ('send' | 'suppress') | null;
|
|
4095
4157
|
/**
|
|
4096
4158
|
* Manual approval data, including approval time, approver, and internal note.
|
|
4097
4159
|
*/
|
|
@@ -4184,6 +4246,8 @@ interface EventAdmissionHold {
|
|
|
4184
4246
|
admissionType: string | EventAdmissionType;
|
|
4185
4247
|
checkout?: (string | null) | Checkout;
|
|
4186
4248
|
checkoutItem?: (string | null) | CheckoutItem;
|
|
4249
|
+
ticketPurchase?: (string | null) | EventTicketPurchase;
|
|
4250
|
+
paymentKernelObligation?: (string | null) | PaymentKernelObligation;
|
|
4187
4251
|
quantity: number;
|
|
4188
4252
|
status: 'held' | 'bound' | 'expired' | 'confirmed' | 'released';
|
|
4189
4253
|
expiresAt?: string | null;
|
|
@@ -4195,6 +4259,91 @@ interface EventAdmissionHold {
|
|
|
4195
4259
|
createdAt: string;
|
|
4196
4260
|
deletedAt?: string | null;
|
|
4197
4261
|
}
|
|
4262
|
+
/**
|
|
4263
|
+
* This interface was referenced by `Config`'s JSON-Schema
|
|
4264
|
+
* via the `definition` "event-ticket-purchases".
|
|
4265
|
+
*/
|
|
4266
|
+
interface EventTicketPurchase {
|
|
4267
|
+
id: string;
|
|
4268
|
+
tenant?: (string | null) | Tenant;
|
|
4269
|
+
idempotencyKey: string;
|
|
4270
|
+
principalMinor: number;
|
|
4271
|
+
currency: string;
|
|
4272
|
+
components: {
|
|
4273
|
+
[k: string]: unknown;
|
|
4274
|
+
} | unknown[] | string | number | boolean | null;
|
|
4275
|
+
resultEntries: {
|
|
4276
|
+
[k: string]: unknown;
|
|
4277
|
+
} | unknown[] | string | number | boolean | null;
|
|
4278
|
+
refundEntries: {
|
|
4279
|
+
[k: string]: unknown;
|
|
4280
|
+
} | unknown[] | string | number | boolean | null;
|
|
4281
|
+
updatedAt: string;
|
|
4282
|
+
createdAt: string;
|
|
4283
|
+
deletedAt?: string | null;
|
|
4284
|
+
}
|
|
4285
|
+
/**
|
|
4286
|
+
* This interface was referenced by `Config`'s JSON-Schema
|
|
4287
|
+
* via the `definition` "payment-kernel-obligations".
|
|
4288
|
+
*/
|
|
4289
|
+
interface PaymentKernelObligation {
|
|
4290
|
+
id: string;
|
|
4291
|
+
tenant?: (string | null) | Tenant;
|
|
4292
|
+
ownerIdentity: string | PaymentKernelOwnerIdentity;
|
|
4293
|
+
ownerKind: 'commerce_checkout' | 'event_ticket_purchase';
|
|
4294
|
+
ownerId: string;
|
|
4295
|
+
ownerCommandKind: string;
|
|
4296
|
+
ownerIdempotencyKey: string;
|
|
4297
|
+
requestFingerprint: string;
|
|
4298
|
+
amount: number;
|
|
4299
|
+
currency: string;
|
|
4300
|
+
executionOwner: 'console_managed' | 'integration_managed';
|
|
4301
|
+
provider: string;
|
|
4302
|
+
providerAccountKey: string;
|
|
4303
|
+
environment: 'test' | 'live';
|
|
4304
|
+
providerConnection?: (string | null) | PaymentKernelProviderConnection;
|
|
4305
|
+
externalIntegration?: (string | null) | PaymentKernelExternalIntegration;
|
|
4306
|
+
updatedAt: string;
|
|
4307
|
+
createdAt: string;
|
|
4308
|
+
}
|
|
4309
|
+
/**
|
|
4310
|
+
* This interface was referenced by `Config`'s JSON-Schema
|
|
4311
|
+
* via the `definition` "payment-kernel-owner-identities".
|
|
4312
|
+
*/
|
|
4313
|
+
interface PaymentKernelOwnerIdentity {
|
|
4314
|
+
id: string;
|
|
4315
|
+
tenant?: (string | null) | Tenant;
|
|
4316
|
+
ownerKind: 'commerce_checkout' | 'event_ticket_purchase';
|
|
4317
|
+
ownerId: string;
|
|
4318
|
+
updatedAt: string;
|
|
4319
|
+
createdAt: string;
|
|
4320
|
+
}
|
|
4321
|
+
/**
|
|
4322
|
+
* This interface was referenced by `Config`'s JSON-Schema
|
|
4323
|
+
* via the `definition` "payment-kernel-provider-connections".
|
|
4324
|
+
*/
|
|
4325
|
+
interface PaymentKernelProviderConnection {
|
|
4326
|
+
id: string;
|
|
4327
|
+
tenant?: (string | null) | Tenant;
|
|
4328
|
+
provider: string;
|
|
4329
|
+
providerAccountKey: string;
|
|
4330
|
+
environment: 'test' | 'live';
|
|
4331
|
+
updatedAt: string;
|
|
4332
|
+
createdAt: string;
|
|
4333
|
+
}
|
|
4334
|
+
/**
|
|
4335
|
+
* This interface was referenced by `Config`'s JSON-Schema
|
|
4336
|
+
* via the `definition` "payment-kernel-external-integrations".
|
|
4337
|
+
*/
|
|
4338
|
+
interface PaymentKernelExternalIntegration {
|
|
4339
|
+
id: string;
|
|
4340
|
+
tenant?: (string | null) | Tenant;
|
|
4341
|
+
integrationKey: string;
|
|
4342
|
+
actorId: string;
|
|
4343
|
+
actorNamespace: string;
|
|
4344
|
+
updatedAt: string;
|
|
4345
|
+
createdAt: string;
|
|
4346
|
+
}
|
|
4198
4347
|
/**
|
|
4199
4348
|
* This interface was referenced by `Config`'s JSON-Schema
|
|
4200
4349
|
* via the `definition` "fulfillment-orders".
|
|
@@ -4494,7 +4643,7 @@ interface PersonalAccessToken {
|
|
|
4494
4643
|
lastUsedIp?: string | null;
|
|
4495
4644
|
revokedAt?: string | null;
|
|
4496
4645
|
/**
|
|
4497
|
-
* User who revoked the PAT
|
|
4646
|
+
* User who revoked the PAT, retained as the revocation actor for audit traceability.
|
|
4498
4647
|
*/
|
|
4499
4648
|
revokedBy?: (string | null) | User;
|
|
4500
4649
|
/**
|
|
@@ -4683,13 +4832,13 @@ interface Webhook {
|
|
|
4683
4832
|
*/
|
|
4684
4833
|
secretRotatedBy?: (string | null) | User;
|
|
4685
4834
|
/**
|
|
4686
|
-
* Collections to subscribe to. Leaving this empty is a wildcard for ordinary collection create/update events only;
|
|
4835
|
+
* Collections to subscribe to. Leaving this empty is a wildcard for ordinary collection create/update events only. Generic collections receive raw create/update; shaped-only entries receive semantic commerce notifications only. Commerce notifications for orders, fulfillments, returns, and customer-memberships require explicit selection.
|
|
4687
4836
|
*/
|
|
4688
4837
|
subscriptions?: {
|
|
4689
4838
|
/**
|
|
4690
4839
|
* Receives create/update events for this collection, plus commerce notifications whose source is this collection.
|
|
4691
4840
|
*/
|
|
4692
|
-
collection: 'tenant-metadata' | 'tenant-logos' | 'images' | 'products' | 'product-variants' | 'product-options' | 'product-option-values' | 'product-categories' | 'product-tags' | 'product-collections' | 'markets' | 'brands' | 'brand-logos' | 'orders' | 'order-items' | 'transactions' | 'fulfillment-orders' | 'fulfillment-order-items' | 'fulfillments' | 'fulfillment-items' | 'returns' | 'return-items' | 'carts' | 'cart-items' | 'discounts' | 'shipping-policies' | 'shipping-zones' | 'customers' | 'customer-profiles' | 'customer-addresses' | 'playlists' | 'playlist-categories' | 'playlist-tags' | 'tracks' | 'track-categories' | 'track-tags' | 'galleries' | 'gallery-items' | 'gallery-categories' | 'gallery-tags' | 'links' | 'link-categories' | 'link-tags' | 'forms' | 'form-submissions' | 'articles' | 'article-authors' | 'article-categories' | 'article-tags' | 'documents' | 'document-categories' | 'document-types' | 'canvases' | 'canvas-node-types' | 'canvas-edge-types' | 'canvas-categories' | 'canvas-tags' | 'videos' | 'video-categories' | 'video-tags' | 'live-streams' | 'posts' | 'comments' | 'reactions' | 'reaction-types' | 'bookmarks' | 'post-categories' | 'post-tags' | 'customer-profile-stats' | 'customer-profile-lists' | 'event-calendars' | 'events' | 'event-categories' | 'event-occurrences' | 'event-tags' | 'membership-plans' | 'membership-plan-prices' | 'canvas-nodes' | 'canvas-edges' | 'payment-sessions' | 'payment-refund-attempts';
|
|
4841
|
+
collection: 'tenant-metadata' | 'tenant-logos' | 'images' | 'products' | 'product-variants' | 'product-options' | 'product-option-values' | 'product-categories' | 'product-tags' | 'product-collections' | 'markets' | 'brands' | 'brand-logos' | 'orders' | 'order-items' | 'transactions' | 'fulfillment-orders' | 'fulfillment-order-items' | 'fulfillments' | 'fulfillment-items' | 'returns' | 'return-items' | 'carts' | 'cart-items' | 'discounts' | 'shipping-policies' | 'shipping-zones' | 'customers' | 'customer-profiles' | 'customer-addresses' | 'playlists' | 'playlist-categories' | 'playlist-tags' | 'tracks' | 'track-categories' | 'track-tags' | 'galleries' | 'gallery-items' | 'gallery-categories' | 'gallery-tags' | 'links' | 'link-categories' | 'link-tags' | 'forms' | 'form-submissions' | 'articles' | 'article-authors' | 'article-categories' | 'article-tags' | 'documents' | 'document-categories' | 'document-types' | 'canvases' | 'canvas-node-types' | 'canvas-edge-types' | 'canvas-categories' | 'canvas-tags' | 'videos' | 'video-categories' | 'video-tags' | 'live-streams' | 'posts' | 'comments' | 'reactions' | 'reaction-types' | 'bookmarks' | 'post-categories' | 'post-tags' | 'customer-profile-stats' | 'customer-profile-lists' | 'event-calendars' | 'events' | 'event-categories' | 'event-occurrences' | 'event-tags' | 'membership-plans' | 'membership-plan-prices' | 'canvas-nodes' | 'canvas-edges' | 'payment-sessions' | 'payment-refund-attempts' | 'customer-memberships';
|
|
4693
4842
|
id?: string | null;
|
|
4694
4843
|
}[] | null;
|
|
4695
4844
|
isActive?: boolean | null;
|
|
@@ -5030,6 +5179,10 @@ interface TenantEntitlement {
|
|
|
5030
5179
|
*/
|
|
5031
5180
|
interface Subscription {
|
|
5032
5181
|
id: string;
|
|
5182
|
+
/**
|
|
5183
|
+
* Project billing scope. The existing Live tenant relation remains the compatibility and evidence anchor.
|
|
5184
|
+
*/
|
|
5185
|
+
project?: (string | null) | Project;
|
|
5033
5186
|
tenant: string | Tenant;
|
|
5034
5187
|
plan: 'starter' | 'basic' | 'pro';
|
|
5035
5188
|
billingModel: 'flat' | 'usage';
|
|
@@ -5291,6 +5444,10 @@ interface UsageInvoice {
|
|
|
5291
5444
|
interface ApiUsage {
|
|
5292
5445
|
id: string;
|
|
5293
5446
|
tenant?: (string | null) | Tenant;
|
|
5447
|
+
project?: (string | null) | Project;
|
|
5448
|
+
environmentKind: 'tenant' | 'live' | 'sandbox';
|
|
5449
|
+
environmentGeneration: number;
|
|
5450
|
+
billable: boolean;
|
|
5294
5451
|
/**
|
|
5295
5452
|
* YYYY-MM format
|
|
5296
5453
|
*/
|
|
@@ -5932,44 +6089,6 @@ interface CommercePaymentWebhookRoute {
|
|
|
5932
6089
|
updatedAt: string;
|
|
5933
6090
|
createdAt: string;
|
|
5934
6091
|
}
|
|
5935
|
-
/**
|
|
5936
|
-
* This interface was referenced by `Config`'s JSON-Schema
|
|
5937
|
-
* via the `definition` "payment-kernel-external-integrations".
|
|
5938
|
-
*/
|
|
5939
|
-
interface PaymentKernelExternalIntegration {
|
|
5940
|
-
id: string;
|
|
5941
|
-
tenant?: (string | null) | Tenant;
|
|
5942
|
-
integrationKey: string;
|
|
5943
|
-
actorId: string;
|
|
5944
|
-
actorNamespace: string;
|
|
5945
|
-
updatedAt: string;
|
|
5946
|
-
createdAt: string;
|
|
5947
|
-
}
|
|
5948
|
-
/**
|
|
5949
|
-
* This interface was referenced by `Config`'s JSON-Schema
|
|
5950
|
-
* via the `definition` "payment-kernel-owner-identities".
|
|
5951
|
-
*/
|
|
5952
|
-
interface PaymentKernelOwnerIdentity {
|
|
5953
|
-
id: string;
|
|
5954
|
-
tenant?: (string | null) | Tenant;
|
|
5955
|
-
ownerKind: 'commerce_checkout' | 'event_ticket_purchase';
|
|
5956
|
-
ownerId: string;
|
|
5957
|
-
updatedAt: string;
|
|
5958
|
-
createdAt: string;
|
|
5959
|
-
}
|
|
5960
|
-
/**
|
|
5961
|
-
* This interface was referenced by `Config`'s JSON-Schema
|
|
5962
|
-
* via the `definition` "payment-kernel-provider-connections".
|
|
5963
|
-
*/
|
|
5964
|
-
interface PaymentKernelProviderConnection {
|
|
5965
|
-
id: string;
|
|
5966
|
-
tenant?: (string | null) | Tenant;
|
|
5967
|
-
provider: string;
|
|
5968
|
-
providerAccountKey: string;
|
|
5969
|
-
environment: 'test' | 'live';
|
|
5970
|
-
updatedAt: string;
|
|
5971
|
-
createdAt: string;
|
|
5972
|
-
}
|
|
5973
6092
|
/**
|
|
5974
6093
|
* This interface was referenced by `Config`'s JSON-Schema
|
|
5975
6094
|
* via the `definition` "payment-kernel-credential-generations".
|
|
@@ -5997,30 +6116,6 @@ interface PaymentKernelProviderObjectIdentity {
|
|
|
5997
6116
|
updatedAt: string;
|
|
5998
6117
|
createdAt: string;
|
|
5999
6118
|
}
|
|
6000
|
-
/**
|
|
6001
|
-
* This interface was referenced by `Config`'s JSON-Schema
|
|
6002
|
-
* via the `definition` "payment-kernel-obligations".
|
|
6003
|
-
*/
|
|
6004
|
-
interface PaymentKernelObligation {
|
|
6005
|
-
id: string;
|
|
6006
|
-
tenant?: (string | null) | Tenant;
|
|
6007
|
-
ownerIdentity: string | PaymentKernelOwnerIdentity;
|
|
6008
|
-
ownerKind: 'commerce_checkout' | 'event_ticket_purchase';
|
|
6009
|
-
ownerId: string;
|
|
6010
|
-
ownerCommandKind: string;
|
|
6011
|
-
ownerIdempotencyKey: string;
|
|
6012
|
-
requestFingerprint: string;
|
|
6013
|
-
amount: number;
|
|
6014
|
-
currency: string;
|
|
6015
|
-
executionOwner: 'console_managed' | 'integration_managed';
|
|
6016
|
-
provider: string;
|
|
6017
|
-
providerAccountKey: string;
|
|
6018
|
-
environment: 'test' | 'live';
|
|
6019
|
-
providerConnection?: (string | null) | PaymentKernelProviderConnection;
|
|
6020
|
-
externalIntegration?: (string | null) | PaymentKernelExternalIntegration;
|
|
6021
|
-
updatedAt: string;
|
|
6022
|
-
createdAt: string;
|
|
6023
|
-
}
|
|
6024
6119
|
/**
|
|
6025
6120
|
* This interface was referenced by `Config`'s JSON-Schema
|
|
6026
6121
|
* via the `definition` "payment-kernel-operations".
|
|
@@ -6500,6 +6595,26 @@ interface CustomerProfileList {
|
|
|
6500
6595
|
createdAt: string;
|
|
6501
6596
|
deletedAt?: string | null;
|
|
6502
6597
|
}
|
|
6598
|
+
/**
|
|
6599
|
+
* This interface was referenced by `Config`'s JSON-Schema
|
|
6600
|
+
* via the `definition` "customer-group-grants".
|
|
6601
|
+
*/
|
|
6602
|
+
interface CustomerGroupGrant {
|
|
6603
|
+
id: string;
|
|
6604
|
+
tenant?: (string | null) | Tenant;
|
|
6605
|
+
customer: string | Customer;
|
|
6606
|
+
group: string | CustomerGroup;
|
|
6607
|
+
grantedAt: string;
|
|
6608
|
+
grantedByType: 'operator' | 'server-credential' | 'system' | 'migration';
|
|
6609
|
+
grantedById: string;
|
|
6610
|
+
reason?: string | null;
|
|
6611
|
+
revokedAt?: string | null;
|
|
6612
|
+
revokedByType?: ('operator' | 'server-credential' | 'system' | 'migration') | null;
|
|
6613
|
+
revokedById?: string | null;
|
|
6614
|
+
revision: number;
|
|
6615
|
+
updatedAt: string;
|
|
6616
|
+
createdAt: string;
|
|
6617
|
+
}
|
|
6503
6618
|
/**
|
|
6504
6619
|
* This interface was referenced by `Config`'s JSON-Schema
|
|
6505
6620
|
* via the `definition` "draft-orders".
|
|
@@ -6698,6 +6813,9 @@ interface Article {
|
|
|
6698
6813
|
* When enabled, the slug will auto-generate from the title field on save and autosave.
|
|
6699
6814
|
*/
|
|
6700
6815
|
generateSlug?: boolean | null;
|
|
6816
|
+
/**
|
|
6817
|
+
* Slug used in article URLs. It is fixed after creation.
|
|
6818
|
+
*/
|
|
6701
6819
|
slug?: string | null;
|
|
6702
6820
|
status?: ('draft' | 'published' | 'archived') | null;
|
|
6703
6821
|
thumbnail?: (string | null) | Image;
|
|
@@ -8348,6 +8466,21 @@ interface EventCalendar {
|
|
|
8348
8466
|
createdAt: string;
|
|
8349
8467
|
deletedAt?: string | null;
|
|
8350
8468
|
}
|
|
8469
|
+
/**
|
|
8470
|
+
* This interface was referenced by `Config`'s JSON-Schema
|
|
8471
|
+
* via the `definition` "event-ticket-purchase-prices".
|
|
8472
|
+
*/
|
|
8473
|
+
interface EventTicketPurchasePrice {
|
|
8474
|
+
id: string;
|
|
8475
|
+
tenant?: (string | null) | Tenant;
|
|
8476
|
+
admissionType: string | EventAdmissionType;
|
|
8477
|
+
occurrence?: (string | null) | EventOccurrence;
|
|
8478
|
+
amountMinor: number;
|
|
8479
|
+
currency: string;
|
|
8480
|
+
updatedAt: string;
|
|
8481
|
+
createdAt: string;
|
|
8482
|
+
deletedAt?: string | null;
|
|
8483
|
+
}
|
|
8351
8484
|
/**
|
|
8352
8485
|
* Manage paid membership plans and benefit groups.
|
|
8353
8486
|
*
|
|
@@ -8452,15 +8585,8 @@ interface CustomerPaymentMethod {
|
|
|
8452
8585
|
/**
|
|
8453
8586
|
* Pinned at issuance; the cron resolves the adapter from this
|
|
8454
8587
|
*/
|
|
8455
|
-
mode: '
|
|
8456
|
-
/**
|
|
8457
|
-
* Encrypted payment token (written in P2)
|
|
8458
|
-
*/
|
|
8459
|
-
token?: string | null;
|
|
8588
|
+
mode: 'delegated';
|
|
8460
8589
|
customerRef?: string | null;
|
|
8461
|
-
connectedAccountRef?: string | null;
|
|
8462
|
-
submallRef?: string | null;
|
|
8463
|
-
channelRef?: string | null;
|
|
8464
8590
|
card?: {
|
|
8465
8591
|
last4?: string | null;
|
|
8466
8592
|
brand?: string | null;
|
|
@@ -8553,6 +8679,8 @@ interface MembershipCharge {
|
|
|
8553
8679
|
pgPaymentId?: string | null;
|
|
8554
8680
|
pgRefundId?: string | null;
|
|
8555
8681
|
pgProvider?: string | null;
|
|
8682
|
+
terminalDeclinePolicyVersion?: string | null;
|
|
8683
|
+
terminalDeclineReason?: string | null;
|
|
8556
8684
|
periodStart: string;
|
|
8557
8685
|
periodEnd: string;
|
|
8558
8686
|
paidAt?: string | null;
|
|
@@ -8568,13 +8696,7 @@ interface TenantPaymentCredential {
|
|
|
8568
8696
|
id: string;
|
|
8569
8697
|
tenant?: (string | null) | Tenant;
|
|
8570
8698
|
provider: string;
|
|
8571
|
-
mode: '
|
|
8572
|
-
connectedAccountRef?: string | null;
|
|
8573
|
-
submallRef?: string | null;
|
|
8574
|
-
secretKey?: string | null;
|
|
8575
|
-
clientKey?: string | null;
|
|
8576
|
-
storeId?: string | null;
|
|
8577
|
-
channelKey?: string | null;
|
|
8699
|
+
mode: 'delegated';
|
|
8578
8700
|
webhookSecret?: string | null;
|
|
8579
8701
|
delegateChargeUrl?: string | null;
|
|
8580
8702
|
isActive?: boolean | null;
|
|
@@ -9242,12 +9364,29 @@ interface WebhookOutboxDeliveriesSelect<T extends boolean = true> {
|
|
|
9242
9364
|
updatedAt?: T;
|
|
9243
9365
|
createdAt?: T;
|
|
9244
9366
|
}
|
|
9367
|
+
/**
|
|
9368
|
+
* This interface was referenced by `Config`'s JSON-Schema
|
|
9369
|
+
* via the `definition` "projects_select".
|
|
9370
|
+
*/
|
|
9371
|
+
interface ProjectsSelect<T extends boolean = true> {
|
|
9372
|
+
name?: T;
|
|
9373
|
+
slug?: T;
|
|
9374
|
+
status?: T;
|
|
9375
|
+
authorityMode?: T;
|
|
9376
|
+
updatedAt?: T;
|
|
9377
|
+
createdAt?: T;
|
|
9378
|
+
}
|
|
9245
9379
|
/**
|
|
9246
9380
|
* This interface was referenced by `Config`'s JSON-Schema
|
|
9247
9381
|
* via the `definition` "tenants_select".
|
|
9248
9382
|
*/
|
|
9249
9383
|
interface TenantsSelect<T extends boolean = true> {
|
|
9250
9384
|
webhookPurgeFencedAt?: T;
|
|
9385
|
+
project?: T;
|
|
9386
|
+
environmentKind?: T;
|
|
9387
|
+
environmentGeneration?: T;
|
|
9388
|
+
environmentState?: T;
|
|
9389
|
+
environmentIsCurrent?: T;
|
|
9251
9390
|
name?: T;
|
|
9252
9391
|
tenantPurpose?: T;
|
|
9253
9392
|
testExpiresAt?: T;
|
|
@@ -9421,6 +9560,7 @@ interface TenantPurgeJobsSelect<T extends boolean = true> {
|
|
|
9421
9560
|
* via the `definition` "subscriptions_select".
|
|
9422
9561
|
*/
|
|
9423
9562
|
interface SubscriptionsSelect<T extends boolean = true> {
|
|
9563
|
+
project?: T;
|
|
9424
9564
|
tenant?: T;
|
|
9425
9565
|
plan?: T;
|
|
9426
9566
|
billingModel?: T;
|
|
@@ -9852,6 +9992,10 @@ interface AnalyticsEventSchemasSelect<T extends boolean = true> {
|
|
|
9852
9992
|
*/
|
|
9853
9993
|
interface ApiUsageSelect<T extends boolean = true> {
|
|
9854
9994
|
tenant?: T;
|
|
9995
|
+
project?: T;
|
|
9996
|
+
environmentKind?: T;
|
|
9997
|
+
environmentGeneration?: T;
|
|
9998
|
+
billable?: T;
|
|
9855
9999
|
month?: T;
|
|
9856
10000
|
apiCallCount?: T;
|
|
9857
10001
|
plan?: T;
|
|
@@ -10294,6 +10438,7 @@ interface OrdersSelect<T extends boolean = true> {
|
|
|
10294
10438
|
id?: T;
|
|
10295
10439
|
};
|
|
10296
10440
|
customerNote?: T;
|
|
10441
|
+
adminNotes?: T;
|
|
10297
10442
|
transactions?: T;
|
|
10298
10443
|
financialStatus?: T;
|
|
10299
10444
|
reconciliationStatus?: T;
|
|
@@ -10320,6 +10465,8 @@ interface OrdersSelect<T extends boolean = true> {
|
|
|
10320
10465
|
usageReserved?: T;
|
|
10321
10466
|
priority?: T;
|
|
10322
10467
|
inputOrder?: T;
|
|
10468
|
+
conditionDigest?: T;
|
|
10469
|
+
customerEligibilityEvidence?: T;
|
|
10323
10470
|
id?: T;
|
|
10324
10471
|
};
|
|
10325
10472
|
discountAmount?: T;
|
|
@@ -10348,7 +10495,6 @@ interface OrdersSelect<T extends boolean = true> {
|
|
|
10348
10495
|
};
|
|
10349
10496
|
clientReferenceId?: T;
|
|
10350
10497
|
integrationMetadata?: T;
|
|
10351
|
-
adminNotes?: T;
|
|
10352
10498
|
source?: T;
|
|
10353
10499
|
tags?: T;
|
|
10354
10500
|
tagSlugs?: T | {
|
|
@@ -11339,8 +11485,8 @@ interface CustomersSelect<T extends boolean = true> {
|
|
|
11339
11485
|
_customers_customers_order?: T;
|
|
11340
11486
|
_order?: T;
|
|
11341
11487
|
tenant?: T;
|
|
11342
|
-
name?: T;
|
|
11343
11488
|
email?: T;
|
|
11489
|
+
name?: T;
|
|
11344
11490
|
phone?: T;
|
|
11345
11491
|
groups?: T;
|
|
11346
11492
|
note?: T;
|
|
@@ -11558,6 +11704,25 @@ interface CustomerGroupsSelect<T extends boolean = true> {
|
|
|
11558
11704
|
createdAt?: T;
|
|
11559
11705
|
deletedAt?: T;
|
|
11560
11706
|
}
|
|
11707
|
+
/**
|
|
11708
|
+
* This interface was referenced by `Config`'s JSON-Schema
|
|
11709
|
+
* via the `definition` "customer-group-grants_select".
|
|
11710
|
+
*/
|
|
11711
|
+
interface CustomerGroupGrantsSelect<T extends boolean = true> {
|
|
11712
|
+
tenant?: T;
|
|
11713
|
+
customer?: T;
|
|
11714
|
+
group?: T;
|
|
11715
|
+
grantedAt?: T;
|
|
11716
|
+
grantedByType?: T;
|
|
11717
|
+
grantedById?: T;
|
|
11718
|
+
reason?: T;
|
|
11719
|
+
revokedAt?: T;
|
|
11720
|
+
revokedByType?: T;
|
|
11721
|
+
revokedById?: T;
|
|
11722
|
+
revision?: T;
|
|
11723
|
+
updatedAt?: T;
|
|
11724
|
+
createdAt?: T;
|
|
11725
|
+
}
|
|
11561
11726
|
/**
|
|
11562
11727
|
* This interface was referenced by `Config`'s JSON-Schema
|
|
11563
11728
|
* via the `definition` "carts_select".
|
|
@@ -11736,6 +11901,8 @@ interface CheckoutsSelect<T extends boolean = true> {
|
|
|
11736
11901
|
usageReserved?: T;
|
|
11737
11902
|
priority?: T;
|
|
11738
11903
|
inputOrder?: T;
|
|
11904
|
+
conditionDigest?: T;
|
|
11905
|
+
customerEligibilityEvidence?: T;
|
|
11739
11906
|
id?: T;
|
|
11740
11907
|
};
|
|
11741
11908
|
discountAmount?: T;
|
|
@@ -13028,6 +13195,8 @@ interface EventAdmissionHoldsSelect<T extends boolean = true> {
|
|
|
13028
13195
|
admissionType?: T;
|
|
13029
13196
|
checkout?: T;
|
|
13030
13197
|
checkoutItem?: T;
|
|
13198
|
+
ticketPurchase?: T;
|
|
13199
|
+
paymentKernelObligation?: T;
|
|
13031
13200
|
quantity?: T;
|
|
13032
13201
|
status?: T;
|
|
13033
13202
|
expiresAt?: T;
|
|
@@ -13057,6 +13226,36 @@ interface EventAdmissionTypesSelect<T extends boolean = true> {
|
|
|
13057
13226
|
createdAt?: T;
|
|
13058
13227
|
deletedAt?: T;
|
|
13059
13228
|
}
|
|
13229
|
+
/**
|
|
13230
|
+
* This interface was referenced by `Config`'s JSON-Schema
|
|
13231
|
+
* via the `definition` "event-ticket-purchases_select".
|
|
13232
|
+
*/
|
|
13233
|
+
interface EventTicketPurchasesSelect<T extends boolean = true> {
|
|
13234
|
+
tenant?: T;
|
|
13235
|
+
idempotencyKey?: T;
|
|
13236
|
+
principalMinor?: T;
|
|
13237
|
+
currency?: T;
|
|
13238
|
+
components?: T;
|
|
13239
|
+
resultEntries?: T;
|
|
13240
|
+
refundEntries?: T;
|
|
13241
|
+
updatedAt?: T;
|
|
13242
|
+
createdAt?: T;
|
|
13243
|
+
deletedAt?: T;
|
|
13244
|
+
}
|
|
13245
|
+
/**
|
|
13246
|
+
* This interface was referenced by `Config`'s JSON-Schema
|
|
13247
|
+
* via the `definition` "event-ticket-purchase-prices_select".
|
|
13248
|
+
*/
|
|
13249
|
+
interface EventTicketPurchasePricesSelect<T extends boolean = true> {
|
|
13250
|
+
tenant?: T;
|
|
13251
|
+
admissionType?: T;
|
|
13252
|
+
occurrence?: T;
|
|
13253
|
+
amountMinor?: T;
|
|
13254
|
+
currency?: T;
|
|
13255
|
+
updatedAt?: T;
|
|
13256
|
+
createdAt?: T;
|
|
13257
|
+
deletedAt?: T;
|
|
13258
|
+
}
|
|
13060
13259
|
/**
|
|
13061
13260
|
* This interface was referenced by `Config`'s JSON-Schema
|
|
13062
13261
|
* via the `definition` "event-categories_select".
|
|
@@ -13153,6 +13352,10 @@ interface EventRegistrationsSelect<T extends boolean = true> {
|
|
|
13153
13352
|
answer?: T;
|
|
13154
13353
|
id?: T;
|
|
13155
13354
|
};
|
|
13355
|
+
creationChannel?: T;
|
|
13356
|
+
createdByOperator?: T;
|
|
13357
|
+
operatorAdmissionBasis?: T;
|
|
13358
|
+
confirmationNotificationPolicy?: T;
|
|
13156
13359
|
approval?: T | {
|
|
13157
13360
|
approvedAt?: T;
|
|
13158
13361
|
approvedBy?: T;
|
|
@@ -13227,11 +13430,7 @@ interface CustomerPaymentMethodsSelect<T extends boolean = true> {
|
|
|
13227
13430
|
customer?: T;
|
|
13228
13431
|
provider?: T;
|
|
13229
13432
|
mode?: T;
|
|
13230
|
-
token?: T;
|
|
13231
13433
|
customerRef?: T;
|
|
13232
|
-
connectedAccountRef?: T;
|
|
13233
|
-
submallRef?: T;
|
|
13234
|
-
channelRef?: T;
|
|
13235
13434
|
card?: T | {
|
|
13236
13435
|
last4?: T;
|
|
13237
13436
|
brand?: T;
|
|
@@ -13293,6 +13492,8 @@ interface MembershipChargesSelect<T extends boolean = true> {
|
|
|
13293
13492
|
pgPaymentId?: T;
|
|
13294
13493
|
pgRefundId?: T;
|
|
13295
13494
|
pgProvider?: T;
|
|
13495
|
+
terminalDeclinePolicyVersion?: T;
|
|
13496
|
+
terminalDeclineReason?: T;
|
|
13296
13497
|
periodStart?: T;
|
|
13297
13498
|
periodEnd?: T;
|
|
13298
13499
|
paidAt?: T;
|
|
@@ -13308,12 +13509,6 @@ interface TenantPaymentCredentialsSelect<T extends boolean = true> {
|
|
|
13308
13509
|
tenant?: T;
|
|
13309
13510
|
provider?: T;
|
|
13310
13511
|
mode?: T;
|
|
13311
|
-
connectedAccountRef?: T;
|
|
13312
|
-
submallRef?: T;
|
|
13313
|
-
secretKey?: T;
|
|
13314
|
-
clientKey?: T;
|
|
13315
|
-
storeId?: T;
|
|
13316
|
-
channelKey?: T;
|
|
13317
13512
|
webhookSecret?: T;
|
|
13318
13513
|
delegateChargeUrl?: T;
|
|
13319
13514
|
isActive?: T;
|