@vindentech/api-client 2.0.0-next.10 → 2.0.0-next.12
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.
|
@@ -11390,6 +11390,11 @@ export interface ExportedProfileDto {
|
|
|
11390
11390
|
deletedAt: string | null;
|
|
11391
11391
|
/** @nullable */
|
|
11392
11392
|
forgottenAt: string | null;
|
|
11393
|
+
/**
|
|
11394
|
+
* The personnummer, null when none is held. Absent when `notIncluded` lists `personal_identity_number`: the tenant has no credential to read it with.
|
|
11395
|
+
* @nullable
|
|
11396
|
+
*/
|
|
11397
|
+
personalIdentityNumber?: string | null;
|
|
11393
11398
|
}
|
|
11394
11399
|
export interface ExportedMembershipDto {
|
|
11395
11400
|
organizationId: string;
|
|
@@ -11441,6 +11446,204 @@ export interface ExportedConsentDto {
|
|
|
11441
11446
|
consentVersion: string;
|
|
11442
11447
|
acceptedAt: string;
|
|
11443
11448
|
}
|
|
11449
|
+
export type ExportedOrdersDtoOrderGroupsItem = {
|
|
11450
|
+
[key: string]: unknown;
|
|
11451
|
+
};
|
|
11452
|
+
export type ExportedOrdersDtoSalesOrdersItem = {
|
|
11453
|
+
[key: string]: unknown;
|
|
11454
|
+
};
|
|
11455
|
+
export type ExportedOrdersDtoEstimatesItem = {
|
|
11456
|
+
[key: string]: unknown;
|
|
11457
|
+
};
|
|
11458
|
+
export type ExportedOrdersDtoProductsItem = {
|
|
11459
|
+
[key: string]: unknown;
|
|
11460
|
+
};
|
|
11461
|
+
export type ExportedOrdersDtoMerchandiseItem = {
|
|
11462
|
+
[key: string]: unknown;
|
|
11463
|
+
};
|
|
11464
|
+
export type ExportedOrdersDtoTransportLegsItem = {
|
|
11465
|
+
[key: string]: unknown;
|
|
11466
|
+
};
|
|
11467
|
+
export type ExportedOrdersDtoCarrierBookingsItem = {
|
|
11468
|
+
[key: string]: unknown;
|
|
11469
|
+
};
|
|
11470
|
+
export type ExportedOrdersDtoWarehouseOrdersItem = {
|
|
11471
|
+
[key: string]: unknown;
|
|
11472
|
+
};
|
|
11473
|
+
export type ExportedOrdersDtoWarehouseOrderProductsItem = {
|
|
11474
|
+
[key: string]: unknown;
|
|
11475
|
+
};
|
|
11476
|
+
export type ExportedOrdersDtoWarehouseOrderContainersItem = {
|
|
11477
|
+
[key: string]: unknown;
|
|
11478
|
+
};
|
|
11479
|
+
export interface ExportedOrdersDto {
|
|
11480
|
+
/** `public.order_group` rows, live and soft-deleted. */
|
|
11481
|
+
orderGroups: ExportedOrdersDtoOrderGroupsItem[];
|
|
11482
|
+
/** `public.sales_order` rows, live and soft-deleted. */
|
|
11483
|
+
salesOrders: ExportedOrdersDtoSalesOrdersItem[];
|
|
11484
|
+
/** `public.sales_order_estimate` rows, live and soft-deleted. */
|
|
11485
|
+
estimates: ExportedOrdersDtoEstimatesItem[];
|
|
11486
|
+
/** `public.sales_order_product` rows, live and soft-deleted. */
|
|
11487
|
+
products: ExportedOrdersDtoProductsItem[];
|
|
11488
|
+
/** `public.sales_order_merchandise` rows, live and soft-deleted. */
|
|
11489
|
+
merchandise: ExportedOrdersDtoMerchandiseItem[];
|
|
11490
|
+
/** `public.order_transport_leg` rows, live and soft-deleted. */
|
|
11491
|
+
transportLegs: ExportedOrdersDtoTransportLegsItem[];
|
|
11492
|
+
/** `public.carrier_booking` rows, live and soft-deleted. */
|
|
11493
|
+
carrierBookings: ExportedOrdersDtoCarrierBookingsItem[];
|
|
11494
|
+
/** `public.warehouse_order` rows, live and soft-deleted. */
|
|
11495
|
+
warehouseOrders: ExportedOrdersDtoWarehouseOrdersItem[];
|
|
11496
|
+
/** `public.warehouse_order_product` rows, live and soft-deleted. */
|
|
11497
|
+
warehouseOrderProducts: ExportedOrdersDtoWarehouseOrderProductsItem[];
|
|
11498
|
+
/** `public.warehouse_order_container` rows, live and soft-deleted. */
|
|
11499
|
+
warehouseOrderContainers: ExportedOrdersDtoWarehouseOrderContainersItem[];
|
|
11500
|
+
}
|
|
11501
|
+
export type ExportedCartsDtoCartsItem = {
|
|
11502
|
+
[key: string]: unknown;
|
|
11503
|
+
};
|
|
11504
|
+
export type ExportedCartsDtoProductsItem = {
|
|
11505
|
+
[key: string]: unknown;
|
|
11506
|
+
};
|
|
11507
|
+
export type ExportedCartsDtoMerchandiseItem = {
|
|
11508
|
+
[key: string]: unknown;
|
|
11509
|
+
};
|
|
11510
|
+
export interface ExportedCartsDto {
|
|
11511
|
+
/** `public.cart` rows, placed or not, live and soft-deleted. */
|
|
11512
|
+
carts: ExportedCartsDtoCartsItem[];
|
|
11513
|
+
/** `public.cart_product` rows, live and soft-deleted. */
|
|
11514
|
+
products: ExportedCartsDtoProductsItem[];
|
|
11515
|
+
/** `public.cart_merchandise` rows, live and soft-deleted. */
|
|
11516
|
+
merchandise: ExportedCartsDtoMerchandiseItem[];
|
|
11517
|
+
}
|
|
11518
|
+
export type ExportedStoredGoodsDtoProductsItem = {
|
|
11519
|
+
[key: string]: unknown;
|
|
11520
|
+
};
|
|
11521
|
+
export type ExportedStoredGoodsDtoProductImagesItem = {
|
|
11522
|
+
[key: string]: unknown;
|
|
11523
|
+
};
|
|
11524
|
+
export type ExportedStoredGoodsDtoItemsItem = {
|
|
11525
|
+
[key: string]: unknown;
|
|
11526
|
+
};
|
|
11527
|
+
export type ExportedStoredGoodsDtoPodsItem = {
|
|
11528
|
+
[key: string]: unknown;
|
|
11529
|
+
};
|
|
11530
|
+
export type ExportedStoredGoodsDtoDamageReportsItem = {
|
|
11531
|
+
[key: string]: unknown;
|
|
11532
|
+
};
|
|
11533
|
+
export type ExportedStoredGoodsDtoDamageReportImagesItem = {
|
|
11534
|
+
[key: string]: unknown;
|
|
11535
|
+
};
|
|
11536
|
+
export type ExportedStoredGoodsDtoFileAssetsItem = {
|
|
11537
|
+
[key: string]: unknown;
|
|
11538
|
+
};
|
|
11539
|
+
export type ExportedStoredGoodsDtoFileLinksItem = {
|
|
11540
|
+
[key: string]: unknown;
|
|
11541
|
+
};
|
|
11542
|
+
export interface ExportedStoredGoodsDto {
|
|
11543
|
+
/** `public.product` rows, live and soft-deleted. */
|
|
11544
|
+
products: ExportedStoredGoodsDtoProductsItem[];
|
|
11545
|
+
/** `public.product_image` rows the customer can see, live and soft-deleted. Files are storage keys, served by `GET /v1/images`. */
|
|
11546
|
+
productImages: ExportedStoredGoodsDtoProductImagesItem[];
|
|
11547
|
+
/** `public.item` rows, live and soft-deleted. */
|
|
11548
|
+
items: ExportedStoredGoodsDtoItemsItem[];
|
|
11549
|
+
/** `public.pod` rows, live and soft-deleted. */
|
|
11550
|
+
pods: ExportedStoredGoodsDtoPodsItem[];
|
|
11551
|
+
/** `public.damage_report` rows, live and soft-deleted. */
|
|
11552
|
+
damageReports: ExportedStoredGoodsDtoDamageReportsItem[];
|
|
11553
|
+
/** `public.damage_report_image` rows, live and soft-deleted. */
|
|
11554
|
+
damageReportImages: ExportedStoredGoodsDtoDamageReportImagesItem[];
|
|
11555
|
+
/** `public.file_asset` rows, live and soft-deleted. */
|
|
11556
|
+
fileAssets: ExportedStoredGoodsDtoFileAssetsItem[];
|
|
11557
|
+
/** `public.entity_file` rows: which record each file asset is attached to. */
|
|
11558
|
+
fileLinks: ExportedStoredGoodsDtoFileLinksItem[];
|
|
11559
|
+
}
|
|
11560
|
+
export type ExportedBillingDtoBillingAccountsItem = {
|
|
11561
|
+
[key: string]: unknown;
|
|
11562
|
+
};
|
|
11563
|
+
export type ExportedBillingDtoInvoicesItem = {
|
|
11564
|
+
[key: string]: unknown;
|
|
11565
|
+
};
|
|
11566
|
+
export type ExportedBillingDtoInvoiceRowsItem = {
|
|
11567
|
+
[key: string]: unknown;
|
|
11568
|
+
};
|
|
11569
|
+
export type ExportedBillingDtoPaymentInstrumentsItem = {
|
|
11570
|
+
[key: string]: unknown;
|
|
11571
|
+
};
|
|
11572
|
+
export type ExportedBillingDtoSubscriptionConfigsItem = {
|
|
11573
|
+
[key: string]: unknown;
|
|
11574
|
+
};
|
|
11575
|
+
export type ExportedBillingDtoContractsItem = {
|
|
11576
|
+
[key: string]: unknown;
|
|
11577
|
+
};
|
|
11578
|
+
export type ExportedBillingDtoAccountCreditsItem = {
|
|
11579
|
+
[key: string]: unknown;
|
|
11580
|
+
};
|
|
11581
|
+
export type ExportedBillingDtoCouponRedemptionsItem = {
|
|
11582
|
+
[key: string]: unknown;
|
|
11583
|
+
};
|
|
11584
|
+
export interface ExportedBillingDto {
|
|
11585
|
+
/** `billing.billing_account` rows, live and soft-deleted. */
|
|
11586
|
+
billingAccounts: ExportedBillingDtoBillingAccountsItem[];
|
|
11587
|
+
/** `billing.invoice` rows, credit notes included (`invoiceType` `credit_note`, naming the invoice in `correctsInvoiceId`). */
|
|
11588
|
+
invoices: ExportedBillingDtoInvoicesItem[];
|
|
11589
|
+
/** `billing.invoice_row` rows, live and soft-deleted. */
|
|
11590
|
+
invoiceRows: ExportedBillingDtoInvoiceRowsItem[];
|
|
11591
|
+
/** `billing.payment_instrument` rows: saved cards, as brand, last four digits and expiry. */
|
|
11592
|
+
paymentInstruments: ExportedBillingDtoPaymentInstrumentsItem[];
|
|
11593
|
+
/** `billing.customer_subscription_config` rows, live and soft-deleted. */
|
|
11594
|
+
subscriptionConfigs: ExportedBillingDtoSubscriptionConfigsItem[];
|
|
11595
|
+
/** `public.organization_contract` rows, live and soft-deleted. */
|
|
11596
|
+
contracts: ExportedBillingDtoContractsItem[];
|
|
11597
|
+
/** `billing.account_credit` rows, live and soft-deleted. */
|
|
11598
|
+
accountCredits: ExportedBillingDtoAccountCreditsItem[];
|
|
11599
|
+
/** `billing.coupon_redemption` rows, live and soft-deleted. */
|
|
11600
|
+
couponRedemptions: ExportedBillingDtoCouponRedemptionsItem[];
|
|
11601
|
+
}
|
|
11602
|
+
/**
|
|
11603
|
+
* The `public.organization` row. Its `personalIdentityNumber` is absent when `notIncluded` lists `personal_identity_number`.
|
|
11604
|
+
* @nullable
|
|
11605
|
+
*/
|
|
11606
|
+
export type ExportedPersonalOrganizationDtoOrganization = {
|
|
11607
|
+
[key: string]: unknown;
|
|
11608
|
+
} | null;
|
|
11609
|
+
export type ExportedPersonalOrganizationDtoContactsItem = {
|
|
11610
|
+
[key: string]: unknown;
|
|
11611
|
+
};
|
|
11612
|
+
export type ExportedPersonalOrganizationDtoAddressesItem = {
|
|
11613
|
+
[key: string]: unknown;
|
|
11614
|
+
};
|
|
11615
|
+
export interface ExportedPersonalOrganizationDto {
|
|
11616
|
+
/**
|
|
11617
|
+
* The `public.organization` row. Its `personalIdentityNumber` is absent when `notIncluded` lists `personal_identity_number`.
|
|
11618
|
+
* @nullable
|
|
11619
|
+
*/
|
|
11620
|
+
organization: ExportedPersonalOrganizationDtoOrganization;
|
|
11621
|
+
/** `public.organization_contact` rows, live and soft-deleted. */
|
|
11622
|
+
contacts: ExportedPersonalOrganizationDtoContactsItem[];
|
|
11623
|
+
/** `public.address` rows, live and soft-deleted. */
|
|
11624
|
+
addresses: ExportedPersonalOrganizationDtoAddressesItem[];
|
|
11625
|
+
orders: ExportedOrdersDto;
|
|
11626
|
+
carts: ExportedCartsDto;
|
|
11627
|
+
storedGoods: ExportedStoredGoodsDto;
|
|
11628
|
+
billing: ExportedBillingDto;
|
|
11629
|
+
}
|
|
11630
|
+
export type ExportedMessagingDtoDispatchesItem = {
|
|
11631
|
+
[key: string]: unknown;
|
|
11632
|
+
};
|
|
11633
|
+
export type ExportedMessagingDtoPreferencesItem = {
|
|
11634
|
+
[key: string]: unknown;
|
|
11635
|
+
};
|
|
11636
|
+
export type ExportedMessagingDtoSuppressionsItem = {
|
|
11637
|
+
[key: string]: unknown;
|
|
11638
|
+
};
|
|
11639
|
+
export interface ExportedMessagingDto {
|
|
11640
|
+
/** `messaging.notification_dispatch` rows sent to a personal organization's own people (the customer, a recipient they entered, an organization contact), or to the target's own email from any organization; never staff alerts or tenant mailboxes. The profile phone is not matched: it is not verified. Only what the 13-month retention keeps. Each row carries `bodyRetained`: `renderedBody` follows the dispatch log's rule and is null when the tenant does not store bodies or the dispatch is older than 90 days. */
|
|
11641
|
+
dispatches: ExportedMessagingDtoDispatchesItem[];
|
|
11642
|
+
/** `messaging.notification_preference` rows by the target's sub or email. */
|
|
11643
|
+
preferences: ExportedMessagingDtoPreferencesItem[];
|
|
11644
|
+
/** `messaging.suppression` rows on the target's email. */
|
|
11645
|
+
suppressions: ExportedMessagingDtoSuppressionsItem[];
|
|
11646
|
+
}
|
|
11444
11647
|
export interface ExportUserDataResultDto {
|
|
11445
11648
|
/** The exported user's Keycloak subject. */
|
|
11446
11649
|
sub: string;
|
|
@@ -11451,7 +11654,10 @@ export interface ExportUserDataResultDto {
|
|
|
11451
11654
|
employeeAssignments: ExportedAssignmentDto[];
|
|
11452
11655
|
externalIdentities: ExportedExternalIdentityDto[];
|
|
11453
11656
|
consents: ExportedConsentDto[];
|
|
11454
|
-
/**
|
|
11657
|
+
/** One entry per personal organization of the target's. Empty for a person with none, such as a staff member. */
|
|
11658
|
+
personalOrganizations: ExportedPersonalOrganizationDto[];
|
|
11659
|
+
messaging: ExportedMessagingDto;
|
|
11660
|
+
/** Personal data categories this export does NOT include: audit history, the records business organizations hold about the target, and the notes staff write for staff. Staff identifiers are left out too: they are other people's data. `personal_identity_number` is listed when the tenant has no credential to read the personnummer on the profile and the personal organizations; the billing accounts' and invoices' are included either way, as are the RUT identity numbers on carts and orders. */
|
|
11455
11661
|
notIncluded: string[];
|
|
11456
11662
|
}
|
|
11457
11663
|
export type EmployeeAssignmentDtoKind = typeof EmployeeAssignmentDtoKind[keyof typeof EmployeeAssignmentDtoKind];
|