@digital8/lighting-illusions-ts-sdk 0.0.2357 → 0.0.2358
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/.openapi-generator/FILES +14 -136
- package/README.md +9 -98
- package/dist/apis/CustomersApi.d.ts +0 -102
- package/dist/apis/CustomersApi.js +0 -374
- package/dist/apis/ProductClassApi.d.ts +34 -0
- package/dist/apis/ProductClassApi.js +139 -0
- package/dist/apis/index.d.ts +1 -4
- package/dist/apis/index.js +1 -4
- package/dist/models/AddressFrontendResource.d.ts +1 -1
- package/dist/models/AddressFrontendResource.js +1 -3
- package/dist/models/AddressResource.d.ts +2 -2
- package/dist/models/AddressResource.js +4 -4
- package/dist/models/AddressType.d.ts +0 -2
- package/dist/models/AddressType.js +1 -3
- package/dist/models/AdminNoteResource.d.ts +3 -3
- package/dist/models/AdminNoteResource.js +3 -3
- package/dist/models/AdminOrderResource.d.ts +5 -6
- package/dist/models/AdminOrderResource.js +5 -6
- package/dist/models/AdminUserLiteResource.d.ts +1 -1
- package/dist/models/AdminUserLiteResource.js +1 -3
- package/dist/models/AppliedCouponResource.d.ts +50 -0
- package/dist/models/{CartCouponResource.js → AppliedCouponResource.js} +13 -13
- package/dist/models/AppliedCouponResourceArrayResponse.d.ts +33 -0
- package/dist/models/AppliedCouponResourceArrayResponse.js +50 -0
- package/dist/models/CartListResource.d.ts +6 -0
- package/dist/models/CartListResource.js +4 -0
- package/dist/models/CartResource.d.ts +3 -3
- package/dist/models/CartResource.js +3 -3
- package/dist/models/CategoryAutomationFieldType.d.ts +2 -0
- package/dist/models/CategoryAutomationFieldType.js +3 -1
- package/dist/models/CreateCustomerRequest.d.ts +6 -24
- package/dist/models/CreateCustomerRequest.js +6 -12
- package/dist/models/CreatePageComponentRequest.d.ts +4 -4
- package/dist/models/CreatePageComponentRequest.js +4 -4
- package/dist/models/CreateProductCategoryRequestAutomationRulesInner.d.ts +2 -0
- package/dist/models/CreateProductCategoryRequestAutomationRulesInner.js +3 -1
- package/dist/models/CreateSupplierRequest.d.ts +6 -0
- package/dist/models/CreateSupplierRequest.js +2 -0
- package/dist/models/CustomerListResource.d.ts +8 -27
- package/dist/models/CustomerListResource.js +13 -24
- package/dist/models/CustomerResource.d.ts +10 -43
- package/dist/models/CustomerResource.js +16 -33
- package/dist/models/FrontendCartResource.d.ts +18 -0
- package/dist/models/FrontendCartResource.js +12 -0
- package/dist/models/FrontendOrderResource.d.ts +3 -3
- package/dist/models/FrontendOrderResource.js +3 -3
- package/dist/models/OrderFulfillmentResource.d.ts +3 -3
- package/dist/models/OrderFulfillmentResource.js +6 -4
- package/dist/models/OrderStatusWithCountResource.d.ts +12 -0
- package/dist/models/OrderStatusWithCountResource.js +8 -0
- package/dist/models/PaginatedProductClassLiteResourceResponse.d.ts +40 -0
- package/dist/models/PaginatedProductClassLiteResourceResponse.js +57 -0
- package/dist/models/ProductClassLiteResource.d.ts +44 -0
- package/dist/models/ProductClassLiteResource.js +57 -0
- package/dist/models/ProductClassLiteResourceArrayResponse.d.ts +33 -0
- package/dist/models/ProductClassLiteResourceArrayResponse.js +50 -0
- package/dist/models/ProductClassResource.d.ts +2 -2
- package/dist/models/SearchAllOrdersRequest.d.ts +6 -0
- package/dist/models/SearchAllOrdersRequest.js +2 -0
- package/dist/models/SearchAllProductClassesRequest.d.ts +78 -0
- package/dist/models/{SearchAllPermissionsRequest.js → SearchAllProductClassesRequest.js} +17 -20
- package/dist/models/SearchCustomersRequest.d.ts +3 -31
- package/dist/models/SearchCustomersRequest.js +3 -15
- package/dist/models/SearchOrdersRequest.d.ts +6 -0
- package/dist/models/SearchOrdersRequest.js +2 -0
- package/dist/models/StoreFrontendResource.d.ts +2 -2
- package/dist/models/StoreFrontendResource.js +4 -4
- package/dist/models/StoreResource.d.ts +1 -1
- package/dist/models/StoreResource.js +1 -3
- package/dist/models/SupplierFrontendResource.d.ts +6 -0
- package/dist/models/SupplierFrontendResource.js +4 -0
- package/dist/models/SupplierResource.d.ts +6 -0
- package/dist/models/SupplierResource.js +4 -0
- package/dist/models/UpdatePageComponentRequest.d.ts +4 -4
- package/dist/models/UpdatePageComponentRequest.js +4 -4
- package/dist/models/UpdateSupplierRequest.d.ts +6 -0
- package/dist/models/UpdateSupplierRequest.js +2 -0
- package/dist/models/index.d.ts +6 -64
- package/dist/models/index.js +6 -64
- package/docs/AdminNoteResource.md +1 -1
- package/docs/AdminOrderResource.md +2 -2
- package/docs/{CartCouponResource.md → AppliedCouponResource.md} +4 -4
- package/docs/{AdminLiteResourceArrayResponse.md → AppliedCouponResourceArrayResponse.md} +5 -5
- package/docs/CartListResource.md +2 -0
- package/docs/CartResource.md +1 -1
- package/docs/CreateCustomerRequest.md +4 -10
- package/docs/CreatePageComponentRequest.md +2 -2
- package/docs/CreateSupplierRequest.md +2 -0
- package/docs/CustomerListResource.md +8 -14
- package/docs/CustomerResource.md +9 -19
- package/docs/CustomersApi.md +0 -411
- package/docs/FrontendCartResource.md +6 -0
- package/docs/FrontendOrderResource.md +1 -1
- package/docs/OrderStatusWithCountResource.md +4 -0
- package/docs/{PaginatedPermissionLiteResourceResponse.md → PaginatedProductClassLiteResourceResponse.md} +5 -5
- package/docs/ProductClassApi.md +74 -0
- package/docs/{PermissionListResource.md → ProductClassLiteResource.md} +6 -6
- package/docs/{NetsuiteSyncLiteResourceArrayResponse.md → ProductClassLiteResourceArrayResponse.md} +5 -5
- package/docs/ProductClassResource.md +1 -1
- package/docs/SearchAllOrdersRequest.md +2 -0
- package/docs/{SearchAllAdminUsersRequest.md → SearchAllProductClassesRequest.md} +4 -6
- package/docs/SearchCustomersRequest.md +0 -8
- package/docs/SearchOrdersRequest.md +2 -0
- package/docs/SupplierFrontendResource.md +2 -0
- package/docs/SupplierResource.md +2 -0
- package/docs/UpdatePageComponentRequest.md +2 -2
- package/docs/UpdateSupplierRequest.md +2 -0
- package/package.json +1 -1
- package/src/apis/CustomersApi.ts +0 -354
- package/src/apis/ProductClassApi.ts +76 -0
- package/src/apis/index.ts +1 -4
- package/src/models/AddressFrontendResource.ts +2 -3
- package/src/models/AddressResource.ts +5 -5
- package/src/models/AddressType.ts +1 -3
- package/src/models/AdminNoteResource.ts +10 -10
- package/src/models/AdminOrderResource.ts +15 -22
- package/src/models/AdminUserLiteResource.ts +2 -3
- package/src/models/{CartCouponResource.ts → AppliedCouponResource.ts} +14 -14
- package/src/models/AppliedCouponResourceArrayResponse.ts +73 -0
- package/src/models/CartListResource.ts +9 -0
- package/src/models/CartResource.ts +10 -10
- package/src/models/CategoryAutomationFieldType.ts +3 -1
- package/src/models/CreateCustomerRequest.ts +11 -35
- package/src/models/CreatePageComponentRequest.ts +8 -8
- package/src/models/CreateProductCategoryRequestAutomationRulesInner.ts +3 -1
- package/src/models/CreateSupplierRequest.ts +8 -0
- package/src/models/CustomerListResource.ts +20 -53
- package/src/models/CustomerResource.ts +29 -92
- package/src/models/FrontendCartResource.ts +27 -0
- package/src/models/FrontendOrderResource.ts +11 -11
- package/src/models/OrderFulfillmentResource.ts +8 -7
- package/src/models/OrderStatusWithCountResource.ts +18 -0
- package/src/models/PaginatedProductClassLiteResourceResponse.ts +90 -0
- package/src/models/ProductClassLiteResource.ts +83 -0
- package/src/models/ProductClassLiteResourceArrayResponse.ts +73 -0
- package/src/models/ProductClassResource.ts +2 -2
- package/src/models/SearchAllOrdersRequest.ts +8 -0
- package/src/models/SearchAllProductClassesRequest.ts +125 -0
- package/src/models/SearchCustomersRequest.ts +3 -39
- package/src/models/SearchOrdersRequest.ts +8 -0
- package/src/models/StoreFrontendResource.ts +5 -5
- package/src/models/StoreResource.ts +2 -3
- package/src/models/SupplierFrontendResource.ts +9 -0
- package/src/models/SupplierResource.ts +9 -0
- package/src/models/UpdatePageComponentRequest.ts +8 -8
- package/src/models/UpdateSupplierRequest.ts +8 -0
- package/src/models/index.ts +6 -64
- package/dist/apis/AdminsApi.d.ts +0 -149
- package/dist/apis/AdminsApi.js +0 -565
- package/dist/apis/AuthApi.d.ts +0 -92
- package/dist/apis/AuthApi.js +0 -369
- package/dist/apis/PermissionsApi.d.ts +0 -67
- package/dist/apis/PermissionsApi.js +0 -259
- package/dist/apis/RolesApi.d.ts +0 -182
- package/dist/apis/RolesApi.js +0 -690
- package/dist/models/AdminListResource.d.ts +0 -52
- package/dist/models/AdminListResource.js +0 -63
- package/dist/models/AdminListResourceArrayResponse.d.ts +0 -33
- package/dist/models/AdminListResourceArrayResponse.js +0 -50
- package/dist/models/AdminLiteResource.d.ts +0 -39
- package/dist/models/AdminLiteResource.js +0 -56
- package/dist/models/AdminLiteResourceArrayResponse.d.ts +0 -33
- package/dist/models/AdminLiteResourceArrayResponse.js +0 -50
- package/dist/models/AdminLoginResponseResource.d.ts +0 -39
- package/dist/models/AdminLoginResponseResource.js +0 -56
- package/dist/models/AdminLoginResponseResourceArrayResponse.d.ts +0 -33
- package/dist/models/AdminLoginResponseResourceArrayResponse.js +0 -50
- package/dist/models/AdminResource.d.ts +0 -64
- package/dist/models/AdminResource.js +0 -69
- package/dist/models/AdminResourceArrayResponse.d.ts +0 -33
- package/dist/models/AdminResourceArrayResponse.js +0 -50
- package/dist/models/AttachAdminsToRoleRequest.d.ts +0 -32
- package/dist/models/AttachAdminsToRoleRequest.js +0 -51
- package/dist/models/AttachPermissionsToRoleRequest.d.ts +0 -32
- package/dist/models/AttachPermissionsToRoleRequest.js +0 -51
- package/dist/models/AttachRolesToAdminRequest.d.ts +0 -32
- package/dist/models/AttachRolesToAdminRequest.js +0 -51
- package/dist/models/CartCouponResource.d.ts +0 -50
- package/dist/models/CartCouponResourceArrayResponse.d.ts +0 -33
- package/dist/models/CartCouponResourceArrayResponse.js +0 -50
- package/dist/models/CheckEmailFrontendResource.d.ts +0 -38
- package/dist/models/CheckEmailFrontendResource.js +0 -53
- package/dist/models/CheckEmailFrontendResourceArrayResponse.d.ts +0 -33
- package/dist/models/CheckEmailFrontendResourceArrayResponse.js +0 -50
- package/dist/models/CreateAdminUserRequest.d.ts +0 -56
- package/dist/models/CreateAdminUserRequest.js +0 -65
- package/dist/models/CreateCustomerAddressRequest.d.ts +0 -90
- package/dist/models/CreateCustomerAddressRequest.js +0 -83
- package/dist/models/CreateRoleRequest.d.ts +0 -38
- package/dist/models/CreateRoleRequest.js +0 -55
- package/dist/models/CustomerAuthResponseResource.d.ts +0 -39
- package/dist/models/CustomerAuthResponseResource.js +0 -56
- package/dist/models/CustomerAuthResponseResourceArrayResponse.d.ts +0 -33
- package/dist/models/CustomerAuthResponseResourceArrayResponse.js +0 -50
- package/dist/models/CustomerFrontendResource.d.ts +0 -70
- package/dist/models/CustomerFrontendResource.js +0 -75
- package/dist/models/CustomerFrontendResourceArrayResponse.d.ts +0 -33
- package/dist/models/CustomerFrontendResourceArrayResponse.js +0 -50
- package/dist/models/CustomerSocialLinkableResource.d.ts +0 -38
- package/dist/models/CustomerSocialLinkableResource.js +0 -55
- package/dist/models/CustomerSocialLinkableResourceArrayResponse.d.ts +0 -33
- package/dist/models/CustomerSocialLinkableResourceArrayResponse.js +0 -50
- package/dist/models/CustomerType.d.ts +0 -25
- package/dist/models/CustomerType.js +0 -51
- package/dist/models/ForgotPasswordAdminRequest.d.ts +0 -32
- package/dist/models/ForgotPasswordAdminRequest.js +0 -51
- package/dist/models/LoginAdminRequest.d.ts +0 -38
- package/dist/models/LoginAdminRequest.js +0 -55
- package/dist/models/NetsuiteSyncLiteResource.d.ts +0 -44
- package/dist/models/NetsuiteSyncLiteResource.js +0 -59
- package/dist/models/NetsuiteSyncLiteResourceArrayResponse.d.ts +0 -33
- package/dist/models/NetsuiteSyncLiteResourceArrayResponse.js +0 -50
- package/dist/models/PaginatedAdminListResourceResponse.d.ts +0 -40
- package/dist/models/PaginatedAdminListResourceResponse.js +0 -57
- package/dist/models/PaginatedAdminLiteResourceResponse.d.ts +0 -40
- package/dist/models/PaginatedAdminLiteResourceResponse.js +0 -57
- package/dist/models/PaginatedPermissionListResourceResponse.d.ts +0 -40
- package/dist/models/PaginatedPermissionListResourceResponse.js +0 -57
- package/dist/models/PaginatedPermissionLiteResourceResponse.d.ts +0 -40
- package/dist/models/PaginatedPermissionLiteResourceResponse.js +0 -57
- package/dist/models/PaginatedRoleListResourceResponse.d.ts +0 -40
- package/dist/models/PaginatedRoleListResourceResponse.js +0 -57
- package/dist/models/PaginatedRoleLiteResourceResponse.d.ts +0 -40
- package/dist/models/PaginatedRoleLiteResourceResponse.js +0 -57
- package/dist/models/PermissionListResource.d.ts +0 -44
- package/dist/models/PermissionListResource.js +0 -55
- package/dist/models/PermissionListResourceArrayResponse.d.ts +0 -33
- package/dist/models/PermissionListResourceArrayResponse.js +0 -50
- package/dist/models/PermissionLiteResource.d.ts +0 -38
- package/dist/models/PermissionLiteResource.js +0 -53
- package/dist/models/PermissionLiteResourceArrayResponse.d.ts +0 -33
- package/dist/models/PermissionLiteResourceArrayResponse.js +0 -50
- package/dist/models/PermissionResource.d.ts +0 -56
- package/dist/models/PermissionResource.js +0 -61
- package/dist/models/PermissionResourceArrayResponse.d.ts +0 -33
- package/dist/models/PermissionResourceArrayResponse.js +0 -50
- package/dist/models/ResetPasswordAdminRequest.d.ts +0 -44
- package/dist/models/ResetPasswordAdminRequest.js +0 -59
- package/dist/models/RoleListResource.d.ts +0 -74
- package/dist/models/RoleListResource.js +0 -73
- package/dist/models/RoleListResourceArrayResponse.d.ts +0 -33
- package/dist/models/RoleListResourceArrayResponse.js +0 -50
- package/dist/models/RoleLiteResource.d.ts +0 -44
- package/dist/models/RoleLiteResource.js +0 -57
- package/dist/models/RoleLiteResourceArrayResponse.d.ts +0 -33
- package/dist/models/RoleLiteResourceArrayResponse.js +0 -50
- package/dist/models/RoleResource.d.ts +0 -82
- package/dist/models/RoleResource.js +0 -79
- package/dist/models/RoleResourceArrayResponse.d.ts +0 -33
- package/dist/models/RoleResourceArrayResponse.js +0 -50
- package/dist/models/SearchAdminUsersRequest.d.ts +0 -112
- package/dist/models/SearchAdminUsersRequest.js +0 -88
- package/dist/models/SearchAllAdminUsersRequest.d.ts +0 -88
- package/dist/models/SearchAllAdminUsersRequest.js +0 -80
- package/dist/models/SearchAllCustomersRequest.d.ts +0 -103
- package/dist/models/SearchAllCustomersRequest.js +0 -87
- package/dist/models/SearchAllPermissionsRequest.d.ts +0 -85
- package/dist/models/SearchAllRolesRequest.d.ts +0 -92
- package/dist/models/SearchAllRolesRequest.js +0 -80
- package/dist/models/SearchPermissionsRequest.d.ts +0 -97
- package/dist/models/SearchPermissionsRequest.js +0 -81
- package/dist/models/SearchRolesRequest.d.ts +0 -104
- package/dist/models/SearchRolesRequest.js +0 -84
- package/dist/models/SignUpType.d.ts +0 -29
- package/dist/models/SignUpType.js +0 -55
- package/dist/models/SocialProvider.d.ts +0 -26
- package/dist/models/SocialProvider.js +0 -52
- package/dist/models/UpdateAdminUserRequest.d.ts +0 -56
- package/dist/models/UpdateAdminUserRequest.js +0 -63
- package/dist/models/UpdateCustomerAddressRequest.d.ts +0 -90
- package/dist/models/UpdateCustomerAddressRequest.js +0 -83
- package/dist/models/UpdateCustomerRequest.d.ts +0 -68
- package/dist/models/UpdateCustomerRequest.js +0 -67
- package/dist/models/UpdateRoleRequest.d.ts +0 -38
- package/dist/models/UpdateRoleRequest.js +0 -55
- package/dist/models/UserLiteResource.d.ts +0 -62
- package/dist/models/UserLiteResource.js +0 -69
- package/dist/models/UserLiteResourceArrayResponse.d.ts +0 -33
- package/dist/models/UserLiteResourceArrayResponse.js +0 -50
- package/dist/models/UserType.d.ts +0 -25
- package/dist/models/UserType.js +0 -51
- package/docs/AdminListResource.md +0 -40
- package/docs/AdminListResourceArrayResponse.md +0 -34
- package/docs/AdminLiteResource.md +0 -36
- package/docs/AdminLoginResponseResource.md +0 -36
- package/docs/AdminLoginResponseResourceArrayResponse.md +0 -34
- package/docs/AdminResource.md +0 -44
- package/docs/AdminResourceArrayResponse.md +0 -34
- package/docs/AdminsApi.md +0 -545
- package/docs/AttachAdminsToRoleRequest.md +0 -34
- package/docs/AttachPermissionsToRoleRequest.md +0 -34
- package/docs/AttachRolesToAdminRequest.md +0 -34
- package/docs/AuthApi.md +0 -322
- package/docs/CartCouponResourceArrayResponse.md +0 -34
- package/docs/CheckEmailFrontendResource.md +0 -36
- package/docs/CheckEmailFrontendResourceArrayResponse.md +0 -34
- package/docs/CreateAdminUserRequest.md +0 -42
- package/docs/CreateCustomerAddressRequest.md +0 -50
- package/docs/CreateRoleRequest.md +0 -36
- package/docs/CustomerAuthResponseResource.md +0 -36
- package/docs/CustomerAuthResponseResourceArrayResponse.md +0 -34
- package/docs/CustomerFrontendResource.md +0 -46
- package/docs/CustomerFrontendResourceArrayResponse.md +0 -34
- package/docs/CustomerSocialLinkableResource.md +0 -36
- package/docs/CustomerSocialLinkableResourceArrayResponse.md +0 -34
- package/docs/CustomerType.md +0 -32
- package/docs/ForgotPasswordAdminRequest.md +0 -34
- package/docs/LoginAdminRequest.md +0 -36
- package/docs/NetsuiteSyncLiteResource.md +0 -38
- package/docs/PaginatedAdminListResourceResponse.md +0 -36
- package/docs/PaginatedAdminLiteResourceResponse.md +0 -36
- package/docs/PaginatedPermissionListResourceResponse.md +0 -36
- package/docs/PaginatedRoleListResourceResponse.md +0 -36
- package/docs/PaginatedRoleLiteResourceResponse.md +0 -36
- package/docs/PermissionListResourceArrayResponse.md +0 -34
- package/docs/PermissionLiteResource.md +0 -36
- package/docs/PermissionLiteResourceArrayResponse.md +0 -34
- package/docs/PermissionResource.md +0 -42
- package/docs/PermissionResourceArrayResponse.md +0 -34
- package/docs/PermissionsApi.md +0 -206
- package/docs/ResetPasswordAdminRequest.md +0 -38
- package/docs/RoleListResource.md +0 -48
- package/docs/RoleListResourceArrayResponse.md +0 -34
- package/docs/RoleLiteResource.md +0 -38
- package/docs/RoleLiteResourceArrayResponse.md +0 -34
- package/docs/RoleResource.md +0 -50
- package/docs/RoleResourceArrayResponse.md +0 -34
- package/docs/RolesApi.md +0 -683
- package/docs/SearchAdminUsersRequest.md +0 -54
- package/docs/SearchAllCustomersRequest.md +0 -50
- package/docs/SearchAllPermissionsRequest.md +0 -46
- package/docs/SearchAllRolesRequest.md +0 -48
- package/docs/SearchPermissionsRequest.md +0 -50
- package/docs/SearchRolesRequest.md +0 -52
- package/docs/SignUpType.md +0 -32
- package/docs/SocialProvider.md +0 -32
- package/docs/UpdateAdminUserRequest.md +0 -42
- package/docs/UpdateCustomerAddressRequest.md +0 -50
- package/docs/UpdateCustomerRequest.md +0 -46
- package/docs/UpdateRoleRequest.md +0 -36
- package/docs/UserLiteResource.md +0 -44
- package/docs/UserLiteResourceArrayResponse.md +0 -34
- package/docs/UserType.md +0 -32
- package/src/apis/AdminsApi.ts +0 -461
- package/src/apis/AuthApi.ts +0 -258
- package/src/apis/PermissionsApi.ts +0 -184
- package/src/apis/RolesApi.ts +0 -577
- package/src/models/AdminListResource.ts +0 -107
- package/src/models/AdminListResourceArrayResponse.ts +0 -73
- package/src/models/AdminLiteResource.ts +0 -83
- package/src/models/AdminLiteResourceArrayResponse.ts +0 -73
- package/src/models/AdminLoginResponseResource.ts +0 -83
- package/src/models/AdminLoginResponseResourceArrayResponse.ts +0 -73
- package/src/models/AdminResource.ts +0 -124
- package/src/models/AdminResourceArrayResponse.ts +0 -73
- package/src/models/AttachAdminsToRoleRequest.ts +0 -66
- package/src/models/AttachPermissionsToRoleRequest.ts +0 -66
- package/src/models/AttachRolesToAdminRequest.ts +0 -66
- package/src/models/CartCouponResourceArrayResponse.ts +0 -73
- package/src/models/CheckEmailFrontendResource.ts +0 -74
- package/src/models/CheckEmailFrontendResourceArrayResponse.ts +0 -73
- package/src/models/CreateAdminUserRequest.ts +0 -101
- package/src/models/CreateCustomerAddressRequest.ts +0 -146
- package/src/models/CreateRoleRequest.ts +0 -75
- package/src/models/CustomerAuthResponseResource.ts +0 -83
- package/src/models/CustomerAuthResponseResourceArrayResponse.ts +0 -73
- package/src/models/CustomerFrontendResource.ts +0 -134
- package/src/models/CustomerFrontendResourceArrayResponse.ts +0 -73
- package/src/models/CustomerSocialLinkableResource.ts +0 -75
- package/src/models/CustomerSocialLinkableResourceArrayResponse.ts +0 -73
- package/src/models/CustomerType.ts +0 -53
- package/src/models/ForgotPasswordAdminRequest.ts +0 -66
- package/src/models/LoginAdminRequest.ts +0 -75
- package/src/models/NetsuiteSyncLiteResource.ts +0 -84
- package/src/models/NetsuiteSyncLiteResourceArrayResponse.ts +0 -73
- package/src/models/PaginatedAdminListResourceResponse.ts +0 -90
- package/src/models/PaginatedAdminLiteResourceResponse.ts +0 -90
- package/src/models/PaginatedPermissionListResourceResponse.ts +0 -90
- package/src/models/PaginatedPermissionLiteResourceResponse.ts +0 -90
- package/src/models/PaginatedRoleListResourceResponse.ts +0 -90
- package/src/models/PaginatedRoleLiteResourceResponse.ts +0 -90
- package/src/models/PermissionListResource.ts +0 -82
- package/src/models/PermissionListResourceArrayResponse.ts +0 -73
- package/src/models/PermissionLiteResource.ts +0 -74
- package/src/models/PermissionLiteResourceArrayResponse.ts +0 -73
- package/src/models/PermissionResource.ts +0 -99
- package/src/models/PermissionResourceArrayResponse.ts +0 -73
- package/src/models/ResetPasswordAdminRequest.ts +0 -84
- package/src/models/RoleListResource.ts +0 -126
- package/src/models/RoleListResourceArrayResponse.ts +0 -73
- package/src/models/RoleLiteResource.ts +0 -83
- package/src/models/RoleLiteResourceArrayResponse.ts +0 -73
- package/src/models/RoleResource.ts +0 -150
- package/src/models/RoleResourceArrayResponse.ts +0 -73
- package/src/models/SearchAdminUsersRequest.ts +0 -169
- package/src/models/SearchAllAdminUsersRequest.ts +0 -137
- package/src/models/SearchAllCustomersRequest.ts +0 -156
- package/src/models/SearchAllPermissionsRequest.ts +0 -134
- package/src/models/SearchAllRolesRequest.ts +0 -143
- package/src/models/SearchPermissionsRequest.ts +0 -150
- package/src/models/SearchRolesRequest.ts +0 -159
- package/src/models/SignUpType.ts +0 -57
- package/src/models/SocialProvider.ts +0 -54
- package/src/models/UpdateAdminUserRequest.ts +0 -100
- package/src/models/UpdateCustomerAddressRequest.ts +0 -146
- package/src/models/UpdateCustomerRequest.ts +0 -116
- package/src/models/UpdateRoleRequest.ts +0 -75
- package/src/models/UserLiteResource.ts +0 -110
- package/src/models/UserLiteResourceArrayResponse.ts +0 -73
- package/src/models/UserType.ts +0 -53
package/docs/CustomersApi.md
CHANGED
|
@@ -4,216 +4,12 @@ All URIs are relative to *http://localhost/api*
|
|
|
4
4
|
|
|
5
5
|
| Method | HTTP request | Description |
|
|
6
6
|
|------------- | ------------- | -------------|
|
|
7
|
-
| [**destroyCustomer**](CustomersApi.md#destroycustomer) | **DELETE** /admin-api/customers/{customer}/delete | Auto-generated: destroyCustomer |
|
|
8
|
-
| [**destroyCustomerAddress**](CustomersApi.md#destroycustomeraddress) | **DELETE** /admin-api/customers/{customer}/addresses/{address} | Auto-generated: destroyCustomerAddress |
|
|
9
|
-
| [**getAllCustomer**](CustomersApi.md#getallcustomer) | **POST** /admin-api/customers/all | Auto-generated: getAllCustomer |
|
|
10
7
|
| [**indexCustomer**](CustomersApi.md#indexcustomer) | **POST** /admin-api/customers/list | Auto-generated: indexCustomer |
|
|
11
8
|
| [**showCustomer**](CustomersApi.md#showcustomer) | **GET** /admin-api/customers/{customer} | Auto-generated: showCustomer |
|
|
12
9
|
| [**storeCustomer**](CustomersApi.md#storecustomer) | **POST** /admin-api/customers/create | Auto-generated: storeCustomer |
|
|
13
|
-
| [**storeCustomerAddress**](CustomersApi.md#storecustomeraddress) | **POST** /admin-api/customers/{customer}/addresses | Auto-generated: storeCustomerAddress |
|
|
14
|
-
| [**updateCustomer**](CustomersApi.md#updatecustomeroperation) | **PUT** /admin-api/customers/{customer}/update | Auto-generated: updateCustomer |
|
|
15
|
-
| [**updateCustomerAddress**](CustomersApi.md#updatecustomeraddressoperation) | **PUT** /admin-api/customers/{customer}/addresses/{address} | Auto-generated: updateCustomerAddress |
|
|
16
10
|
|
|
17
11
|
|
|
18
12
|
|
|
19
|
-
## destroyCustomer
|
|
20
|
-
|
|
21
|
-
> GenericResponse destroyCustomer(customer)
|
|
22
|
-
|
|
23
|
-
Auto-generated: destroyCustomer
|
|
24
|
-
|
|
25
|
-
### Example
|
|
26
|
-
|
|
27
|
-
```ts
|
|
28
|
-
import {
|
|
29
|
-
Configuration,
|
|
30
|
-
CustomersApi,
|
|
31
|
-
} from '@digital8/lighting-illusions-ts-sdk';
|
|
32
|
-
import type { DestroyCustomerRequest } from '@digital8/lighting-illusions-ts-sdk';
|
|
33
|
-
|
|
34
|
-
async function example() {
|
|
35
|
-
console.log("🚀 Testing @digital8/lighting-illusions-ts-sdk SDK...");
|
|
36
|
-
const api = new CustomersApi();
|
|
37
|
-
|
|
38
|
-
const body = {
|
|
39
|
-
// number | The id of the customer
|
|
40
|
-
customer: 56,
|
|
41
|
-
} satisfies DestroyCustomerRequest;
|
|
42
|
-
|
|
43
|
-
try {
|
|
44
|
-
const data = await api.destroyCustomer(body);
|
|
45
|
-
console.log(data);
|
|
46
|
-
} catch (error) {
|
|
47
|
-
console.error(error);
|
|
48
|
-
}
|
|
49
|
-
}
|
|
50
|
-
|
|
51
|
-
// Run the test
|
|
52
|
-
example().catch(console.error);
|
|
53
|
-
```
|
|
54
|
-
|
|
55
|
-
### Parameters
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
| Name | Type | Description | Notes |
|
|
59
|
-
|------------- | ------------- | ------------- | -------------|
|
|
60
|
-
| **customer** | `number` | The id of the customer | [Defaults to `undefined`] |
|
|
61
|
-
|
|
62
|
-
### Return type
|
|
63
|
-
|
|
64
|
-
[**GenericResponse**](GenericResponse.md)
|
|
65
|
-
|
|
66
|
-
### Authorization
|
|
67
|
-
|
|
68
|
-
No authorization required
|
|
69
|
-
|
|
70
|
-
### HTTP request headers
|
|
71
|
-
|
|
72
|
-
- **Content-Type**: Not defined
|
|
73
|
-
- **Accept**: `application/json`
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
### HTTP response details
|
|
77
|
-
| Status code | Description | Response headers |
|
|
78
|
-
|-------------|-------------|------------------|
|
|
79
|
-
| **200** | Generic JSON success | - |
|
|
80
|
-
|
|
81
|
-
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
## destroyCustomerAddress
|
|
85
|
-
|
|
86
|
-
> GenericResponse destroyCustomerAddress(customer, address)
|
|
87
|
-
|
|
88
|
-
Auto-generated: destroyCustomerAddress
|
|
89
|
-
|
|
90
|
-
### Example
|
|
91
|
-
|
|
92
|
-
```ts
|
|
93
|
-
import {
|
|
94
|
-
Configuration,
|
|
95
|
-
CustomersApi,
|
|
96
|
-
} from '@digital8/lighting-illusions-ts-sdk';
|
|
97
|
-
import type { DestroyCustomerAddressRequest } from '@digital8/lighting-illusions-ts-sdk';
|
|
98
|
-
|
|
99
|
-
async function example() {
|
|
100
|
-
console.log("🚀 Testing @digital8/lighting-illusions-ts-sdk SDK...");
|
|
101
|
-
const api = new CustomersApi();
|
|
102
|
-
|
|
103
|
-
const body = {
|
|
104
|
-
// number | The id of the customer
|
|
105
|
-
customer: 56,
|
|
106
|
-
// number | The id of the address
|
|
107
|
-
address: 56,
|
|
108
|
-
} satisfies DestroyCustomerAddressRequest;
|
|
109
|
-
|
|
110
|
-
try {
|
|
111
|
-
const data = await api.destroyCustomerAddress(body);
|
|
112
|
-
console.log(data);
|
|
113
|
-
} catch (error) {
|
|
114
|
-
console.error(error);
|
|
115
|
-
}
|
|
116
|
-
}
|
|
117
|
-
|
|
118
|
-
// Run the test
|
|
119
|
-
example().catch(console.error);
|
|
120
|
-
```
|
|
121
|
-
|
|
122
|
-
### Parameters
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
| Name | Type | Description | Notes |
|
|
126
|
-
|------------- | ------------- | ------------- | -------------|
|
|
127
|
-
| **customer** | `number` | The id of the customer | [Defaults to `undefined`] |
|
|
128
|
-
| **address** | `number` | The id of the address | [Defaults to `undefined`] |
|
|
129
|
-
|
|
130
|
-
### Return type
|
|
131
|
-
|
|
132
|
-
[**GenericResponse**](GenericResponse.md)
|
|
133
|
-
|
|
134
|
-
### Authorization
|
|
135
|
-
|
|
136
|
-
No authorization required
|
|
137
|
-
|
|
138
|
-
### HTTP request headers
|
|
139
|
-
|
|
140
|
-
- **Content-Type**: Not defined
|
|
141
|
-
- **Accept**: `application/json`
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
### HTTP response details
|
|
145
|
-
| Status code | Description | Response headers |
|
|
146
|
-
|-------------|-------------|------------------|
|
|
147
|
-
| **200** | \\JsonResponse<array{message: string}> | - |
|
|
148
|
-
|
|
149
|
-
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
## getAllCustomer
|
|
153
|
-
|
|
154
|
-
> CustomerLiteResourceArrayResponse getAllCustomer(searchAllCustomersRequest)
|
|
155
|
-
|
|
156
|
-
Auto-generated: getAllCustomer
|
|
157
|
-
|
|
158
|
-
### Example
|
|
159
|
-
|
|
160
|
-
```ts
|
|
161
|
-
import {
|
|
162
|
-
Configuration,
|
|
163
|
-
CustomersApi,
|
|
164
|
-
} from '@digital8/lighting-illusions-ts-sdk';
|
|
165
|
-
import type { GetAllCustomerRequest } from '@digital8/lighting-illusions-ts-sdk';
|
|
166
|
-
|
|
167
|
-
async function example() {
|
|
168
|
-
console.log("🚀 Testing @digital8/lighting-illusions-ts-sdk SDK...");
|
|
169
|
-
const api = new CustomersApi();
|
|
170
|
-
|
|
171
|
-
const body = {
|
|
172
|
-
// SearchAllCustomersRequest (optional)
|
|
173
|
-
searchAllCustomersRequest: ...,
|
|
174
|
-
} satisfies GetAllCustomerRequest;
|
|
175
|
-
|
|
176
|
-
try {
|
|
177
|
-
const data = await api.getAllCustomer(body);
|
|
178
|
-
console.log(data);
|
|
179
|
-
} catch (error) {
|
|
180
|
-
console.error(error);
|
|
181
|
-
}
|
|
182
|
-
}
|
|
183
|
-
|
|
184
|
-
// Run the test
|
|
185
|
-
example().catch(console.error);
|
|
186
|
-
```
|
|
187
|
-
|
|
188
|
-
### Parameters
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
| Name | Type | Description | Notes |
|
|
192
|
-
|------------- | ------------- | ------------- | -------------|
|
|
193
|
-
| **searchAllCustomersRequest** | [SearchAllCustomersRequest](SearchAllCustomersRequest.md) | | [Optional] |
|
|
194
|
-
|
|
195
|
-
### Return type
|
|
196
|
-
|
|
197
|
-
[**CustomerLiteResourceArrayResponse**](CustomerLiteResourceArrayResponse.md)
|
|
198
|
-
|
|
199
|
-
### Authorization
|
|
200
|
-
|
|
201
|
-
No authorization required
|
|
202
|
-
|
|
203
|
-
### HTTP request headers
|
|
204
|
-
|
|
205
|
-
- **Content-Type**: `application/json`
|
|
206
|
-
- **Accept**: `application/json`
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
### HTTP response details
|
|
210
|
-
| Status code | Description | Response headers |
|
|
211
|
-
|-------------|-------------|------------------|
|
|
212
|
-
| **200** | Successful resource response | - |
|
|
213
|
-
|
|
214
|
-
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
215
|
-
|
|
216
|
-
|
|
217
13
|
## indexCustomer
|
|
218
14
|
|
|
219
15
|
> PaginatedCustomerListResourceResponse indexCustomer(searchCustomersRequest)
|
|
@@ -408,210 +204,3 @@ No authorization required
|
|
|
408
204
|
|
|
409
205
|
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
410
206
|
|
|
411
|
-
|
|
412
|
-
## storeCustomerAddress
|
|
413
|
-
|
|
414
|
-
> AddressResource storeCustomerAddress(customer, createCustomerAddressRequest)
|
|
415
|
-
|
|
416
|
-
Auto-generated: storeCustomerAddress
|
|
417
|
-
|
|
418
|
-
### Example
|
|
419
|
-
|
|
420
|
-
```ts
|
|
421
|
-
import {
|
|
422
|
-
Configuration,
|
|
423
|
-
CustomersApi,
|
|
424
|
-
} from '@digital8/lighting-illusions-ts-sdk';
|
|
425
|
-
import type { StoreCustomerAddressRequest } from '@digital8/lighting-illusions-ts-sdk';
|
|
426
|
-
|
|
427
|
-
async function example() {
|
|
428
|
-
console.log("🚀 Testing @digital8/lighting-illusions-ts-sdk SDK...");
|
|
429
|
-
const api = new CustomersApi();
|
|
430
|
-
|
|
431
|
-
const body = {
|
|
432
|
-
// number | The id of the customer
|
|
433
|
-
customer: 56,
|
|
434
|
-
// CreateCustomerAddressRequest (optional)
|
|
435
|
-
createCustomerAddressRequest: ...,
|
|
436
|
-
} satisfies StoreCustomerAddressRequest;
|
|
437
|
-
|
|
438
|
-
try {
|
|
439
|
-
const data = await api.storeCustomerAddress(body);
|
|
440
|
-
console.log(data);
|
|
441
|
-
} catch (error) {
|
|
442
|
-
console.error(error);
|
|
443
|
-
}
|
|
444
|
-
}
|
|
445
|
-
|
|
446
|
-
// Run the test
|
|
447
|
-
example().catch(console.error);
|
|
448
|
-
```
|
|
449
|
-
|
|
450
|
-
### Parameters
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
| Name | Type | Description | Notes |
|
|
454
|
-
|------------- | ------------- | ------------- | -------------|
|
|
455
|
-
| **customer** | `number` | The id of the customer | [Defaults to `undefined`] |
|
|
456
|
-
| **createCustomerAddressRequest** | [CreateCustomerAddressRequest](CreateCustomerAddressRequest.md) | | [Optional] |
|
|
457
|
-
|
|
458
|
-
### Return type
|
|
459
|
-
|
|
460
|
-
[**AddressResource**](AddressResource.md)
|
|
461
|
-
|
|
462
|
-
### Authorization
|
|
463
|
-
|
|
464
|
-
No authorization required
|
|
465
|
-
|
|
466
|
-
### HTTP request headers
|
|
467
|
-
|
|
468
|
-
- **Content-Type**: `application/json`
|
|
469
|
-
- **Accept**: `application/json`
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
### HTTP response details
|
|
473
|
-
| Status code | Description | Response headers |
|
|
474
|
-
|-------------|-------------|------------------|
|
|
475
|
-
| **200** | Successful resource response | - |
|
|
476
|
-
|
|
477
|
-
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
## updateCustomer
|
|
481
|
-
|
|
482
|
-
> CustomerResource updateCustomer(customer, updateCustomerRequest)
|
|
483
|
-
|
|
484
|
-
Auto-generated: updateCustomer
|
|
485
|
-
|
|
486
|
-
### Example
|
|
487
|
-
|
|
488
|
-
```ts
|
|
489
|
-
import {
|
|
490
|
-
Configuration,
|
|
491
|
-
CustomersApi,
|
|
492
|
-
} from '@digital8/lighting-illusions-ts-sdk';
|
|
493
|
-
import type { UpdateCustomerOperationRequest } from '@digital8/lighting-illusions-ts-sdk';
|
|
494
|
-
|
|
495
|
-
async function example() {
|
|
496
|
-
console.log("🚀 Testing @digital8/lighting-illusions-ts-sdk SDK...");
|
|
497
|
-
const api = new CustomersApi();
|
|
498
|
-
|
|
499
|
-
const body = {
|
|
500
|
-
// number | The id of the customer
|
|
501
|
-
customer: 56,
|
|
502
|
-
// UpdateCustomerRequest (optional)
|
|
503
|
-
updateCustomerRequest: ...,
|
|
504
|
-
} satisfies UpdateCustomerOperationRequest;
|
|
505
|
-
|
|
506
|
-
try {
|
|
507
|
-
const data = await api.updateCustomer(body);
|
|
508
|
-
console.log(data);
|
|
509
|
-
} catch (error) {
|
|
510
|
-
console.error(error);
|
|
511
|
-
}
|
|
512
|
-
}
|
|
513
|
-
|
|
514
|
-
// Run the test
|
|
515
|
-
example().catch(console.error);
|
|
516
|
-
```
|
|
517
|
-
|
|
518
|
-
### Parameters
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
| Name | Type | Description | Notes |
|
|
522
|
-
|------------- | ------------- | ------------- | -------------|
|
|
523
|
-
| **customer** | `number` | The id of the customer | [Defaults to `undefined`] |
|
|
524
|
-
| **updateCustomerRequest** | [UpdateCustomerRequest](UpdateCustomerRequest.md) | | [Optional] |
|
|
525
|
-
|
|
526
|
-
### Return type
|
|
527
|
-
|
|
528
|
-
[**CustomerResource**](CustomerResource.md)
|
|
529
|
-
|
|
530
|
-
### Authorization
|
|
531
|
-
|
|
532
|
-
No authorization required
|
|
533
|
-
|
|
534
|
-
### HTTP request headers
|
|
535
|
-
|
|
536
|
-
- **Content-Type**: `application/json`
|
|
537
|
-
- **Accept**: `application/json`
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
### HTTP response details
|
|
541
|
-
| Status code | Description | Response headers |
|
|
542
|
-
|-------------|-------------|------------------|
|
|
543
|
-
| **200** | Successful resource response | - |
|
|
544
|
-
|
|
545
|
-
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
## updateCustomerAddress
|
|
549
|
-
|
|
550
|
-
> AddressResource updateCustomerAddress(customer, address, updateCustomerAddressRequest)
|
|
551
|
-
|
|
552
|
-
Auto-generated: updateCustomerAddress
|
|
553
|
-
|
|
554
|
-
### Example
|
|
555
|
-
|
|
556
|
-
```ts
|
|
557
|
-
import {
|
|
558
|
-
Configuration,
|
|
559
|
-
CustomersApi,
|
|
560
|
-
} from '@digital8/lighting-illusions-ts-sdk';
|
|
561
|
-
import type { UpdateCustomerAddressOperationRequest } from '@digital8/lighting-illusions-ts-sdk';
|
|
562
|
-
|
|
563
|
-
async function example() {
|
|
564
|
-
console.log("🚀 Testing @digital8/lighting-illusions-ts-sdk SDK...");
|
|
565
|
-
const api = new CustomersApi();
|
|
566
|
-
|
|
567
|
-
const body = {
|
|
568
|
-
// number | The id of the customer
|
|
569
|
-
customer: 56,
|
|
570
|
-
// number | The id of the address
|
|
571
|
-
address: 56,
|
|
572
|
-
// UpdateCustomerAddressRequest (optional)
|
|
573
|
-
updateCustomerAddressRequest: ...,
|
|
574
|
-
} satisfies UpdateCustomerAddressOperationRequest;
|
|
575
|
-
|
|
576
|
-
try {
|
|
577
|
-
const data = await api.updateCustomerAddress(body);
|
|
578
|
-
console.log(data);
|
|
579
|
-
} catch (error) {
|
|
580
|
-
console.error(error);
|
|
581
|
-
}
|
|
582
|
-
}
|
|
583
|
-
|
|
584
|
-
// Run the test
|
|
585
|
-
example().catch(console.error);
|
|
586
|
-
```
|
|
587
|
-
|
|
588
|
-
### Parameters
|
|
589
|
-
|
|
590
|
-
|
|
591
|
-
| Name | Type | Description | Notes |
|
|
592
|
-
|------------- | ------------- | ------------- | -------------|
|
|
593
|
-
| **customer** | `number` | The id of the customer | [Defaults to `undefined`] |
|
|
594
|
-
| **address** | `number` | The id of the address | [Defaults to `undefined`] |
|
|
595
|
-
| **updateCustomerAddressRequest** | [UpdateCustomerAddressRequest](UpdateCustomerAddressRequest.md) | | [Optional] |
|
|
596
|
-
|
|
597
|
-
### Return type
|
|
598
|
-
|
|
599
|
-
[**AddressResource**](AddressResource.md)
|
|
600
|
-
|
|
601
|
-
### Authorization
|
|
602
|
-
|
|
603
|
-
No authorization required
|
|
604
|
-
|
|
605
|
-
### HTTP request headers
|
|
606
|
-
|
|
607
|
-
- **Content-Type**: `application/json`
|
|
608
|
-
- **Accept**: `application/json`
|
|
609
|
-
|
|
610
|
-
|
|
611
|
-
### HTTP response details
|
|
612
|
-
| Status code | Description | Response headers |
|
|
613
|
-
|-------------|-------------|------------------|
|
|
614
|
-
| **200** | Successful resource response | - |
|
|
615
|
-
|
|
616
|
-
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
617
|
-
|
|
@@ -18,11 +18,14 @@ Name | Type
|
|
|
18
18
|
`lineItems` | [Array<FrontendLineItemResource>](FrontendLineItemResource.md)
|
|
19
19
|
`coupons` | [Array<FrontendCartResourceCouponsInner>](FrontendCartResourceCouponsInner.md)
|
|
20
20
|
`subtotal` | number
|
|
21
|
+
`subtotalAfterDiscounts` | number
|
|
21
22
|
`promotionalDiscount` | number
|
|
22
23
|
`couponSubtotalDiscount` | number
|
|
23
24
|
`couponShippingDiscount` | number
|
|
24
25
|
`shipping` | number
|
|
25
26
|
`transitInsurance` | number
|
|
27
|
+
`deliveryShippingQuote` | number
|
|
28
|
+
`transitInsuranceQuote` | number
|
|
26
29
|
`gst` | number
|
|
27
30
|
`grandTotal` | number
|
|
28
31
|
|
|
@@ -45,11 +48,14 @@ const example = {
|
|
|
45
48
|
"lineItems": null,
|
|
46
49
|
"coupons": null,
|
|
47
50
|
"subtotal": null,
|
|
51
|
+
"subtotalAfterDiscounts": null,
|
|
48
52
|
"promotionalDiscount": null,
|
|
49
53
|
"couponSubtotalDiscount": null,
|
|
50
54
|
"couponShippingDiscount": null,
|
|
51
55
|
"shipping": null,
|
|
52
56
|
"transitInsurance": null,
|
|
57
|
+
"deliveryShippingQuote": null,
|
|
58
|
+
"transitInsuranceQuote": null,
|
|
53
59
|
"gst": null,
|
|
54
60
|
"grandTotal": null,
|
|
55
61
|
} satisfies FrontendCartResource
|
|
@@ -19,7 +19,7 @@ Name | Type
|
|
|
19
19
|
`shippingAddress` | [AddressResource](AddressResource.md)
|
|
20
20
|
`billingAddress` | [AddressResource](AddressResource.md)
|
|
21
21
|
`lineItems` | [Array<FrontendLineItemResource>](FrontendLineItemResource.md)
|
|
22
|
-
`coupons` | [Array<
|
|
22
|
+
`coupons` | [Array<FrontendCartResourceCouponsInner>](FrontendCartResourceCouponsInner.md)
|
|
23
23
|
`subtotal` | number
|
|
24
24
|
`promotionalDiscount` | number
|
|
25
25
|
`couponSubtotalDiscount` | number
|
|
@@ -8,6 +8,8 @@ Name | Type
|
|
|
8
8
|
------------ | -------------
|
|
9
9
|
`id` | number
|
|
10
10
|
`name` | string
|
|
11
|
+
`shortName` | string
|
|
12
|
+
`displayOrder` | number
|
|
11
13
|
`isOrderNetsuiteSyncable` | boolean
|
|
12
14
|
`ordersCount` | number
|
|
13
15
|
|
|
@@ -20,6 +22,8 @@ import type { OrderStatusWithCountResource } from '@digital8/lighting-illusions-
|
|
|
20
22
|
const example = {
|
|
21
23
|
"id": null,
|
|
22
24
|
"name": null,
|
|
25
|
+
"shortName": null,
|
|
26
|
+
"displayOrder": null,
|
|
23
27
|
"isOrderNetsuiteSyncable": null,
|
|
24
28
|
"ordersCount": null,
|
|
25
29
|
} satisfies OrderStatusWithCountResource
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
|
|
2
|
-
#
|
|
2
|
+
# PaginatedProductClassLiteResourceResponse
|
|
3
3
|
|
|
4
4
|
|
|
5
5
|
## Properties
|
|
6
6
|
|
|
7
7
|
Name | Type
|
|
8
8
|
------------ | -------------
|
|
9
|
-
`data` | [Array<
|
|
9
|
+
`data` | [Array<ProductClassLiteResource>](ProductClassLiteResource.md)
|
|
10
10
|
`meta` | [PagingMetadata](PagingMetadata.md)
|
|
11
11
|
|
|
12
12
|
## Example
|
|
13
13
|
|
|
14
14
|
```typescript
|
|
15
|
-
import type {
|
|
15
|
+
import type { PaginatedProductClassLiteResourceResponse } from '@digital8/lighting-illusions-ts-sdk'
|
|
16
16
|
|
|
17
17
|
// TODO: Update the object below with actual values
|
|
18
18
|
const example = {
|
|
19
19
|
"data": null,
|
|
20
20
|
"meta": null,
|
|
21
|
-
} satisfies
|
|
21
|
+
} satisfies PaginatedProductClassLiteResourceResponse
|
|
22
22
|
|
|
23
23
|
console.log(example)
|
|
24
24
|
|
|
@@ -27,7 +27,7 @@ const exampleJSON: string = JSON.stringify(example)
|
|
|
27
27
|
console.log(exampleJSON)
|
|
28
28
|
|
|
29
29
|
// Parse the JSON string back to an object
|
|
30
|
-
const exampleParsed = JSON.parse(exampleJSON) as
|
|
30
|
+
const exampleParsed = JSON.parse(exampleJSON) as PaginatedProductClassLiteResourceResponse
|
|
31
31
|
console.log(exampleParsed)
|
|
32
32
|
```
|
|
33
33
|
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
# ProductClassApi
|
|
2
|
+
|
|
3
|
+
All URIs are relative to *http://localhost/api*
|
|
4
|
+
|
|
5
|
+
| Method | HTTP request | Description |
|
|
6
|
+
|------------- | ------------- | -------------|
|
|
7
|
+
| [**getAllProductClass**](ProductClassApi.md#getallproductclass) | **POST** /admin-api/product-class/all | Auto-generated: getAllProductClass |
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
## getAllProductClass
|
|
12
|
+
|
|
13
|
+
> ProductClassLiteResourceArrayResponse getAllProductClass(searchAllProductClassesRequest)
|
|
14
|
+
|
|
15
|
+
Auto-generated: getAllProductClass
|
|
16
|
+
|
|
17
|
+
### Example
|
|
18
|
+
|
|
19
|
+
```ts
|
|
20
|
+
import {
|
|
21
|
+
Configuration,
|
|
22
|
+
ProductClassApi,
|
|
23
|
+
} from '@digital8/lighting-illusions-ts-sdk';
|
|
24
|
+
import type { GetAllProductClassRequest } from '@digital8/lighting-illusions-ts-sdk';
|
|
25
|
+
|
|
26
|
+
async function example() {
|
|
27
|
+
console.log("🚀 Testing @digital8/lighting-illusions-ts-sdk SDK...");
|
|
28
|
+
const api = new ProductClassApi();
|
|
29
|
+
|
|
30
|
+
const body = {
|
|
31
|
+
// SearchAllProductClassesRequest (optional)
|
|
32
|
+
searchAllProductClassesRequest: ...,
|
|
33
|
+
} satisfies GetAllProductClassRequest;
|
|
34
|
+
|
|
35
|
+
try {
|
|
36
|
+
const data = await api.getAllProductClass(body);
|
|
37
|
+
console.log(data);
|
|
38
|
+
} catch (error) {
|
|
39
|
+
console.error(error);
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
// Run the test
|
|
44
|
+
example().catch(console.error);
|
|
45
|
+
```
|
|
46
|
+
|
|
47
|
+
### Parameters
|
|
48
|
+
|
|
49
|
+
|
|
50
|
+
| Name | Type | Description | Notes |
|
|
51
|
+
|------------- | ------------- | ------------- | -------------|
|
|
52
|
+
| **searchAllProductClassesRequest** | [SearchAllProductClassesRequest](SearchAllProductClassesRequest.md) | | [Optional] |
|
|
53
|
+
|
|
54
|
+
### Return type
|
|
55
|
+
|
|
56
|
+
[**ProductClassLiteResourceArrayResponse**](ProductClassLiteResourceArrayResponse.md)
|
|
57
|
+
|
|
58
|
+
### Authorization
|
|
59
|
+
|
|
60
|
+
No authorization required
|
|
61
|
+
|
|
62
|
+
### HTTP request headers
|
|
63
|
+
|
|
64
|
+
- **Content-Type**: `application/json`
|
|
65
|
+
- **Accept**: `application/json`
|
|
66
|
+
|
|
67
|
+
|
|
68
|
+
### HTTP response details
|
|
69
|
+
| Status code | Description | Response headers |
|
|
70
|
+
|-------------|-------------|------------------|
|
|
71
|
+
| **200** | Successful resource response | - |
|
|
72
|
+
|
|
73
|
+
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
74
|
+
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
|
|
2
|
-
#
|
|
2
|
+
# ProductClassLiteResource
|
|
3
3
|
|
|
4
4
|
|
|
5
5
|
## Properties
|
|
@@ -8,19 +8,19 @@ Name | Type
|
|
|
8
8
|
------------ | -------------
|
|
9
9
|
`id` | number
|
|
10
10
|
`name` | string
|
|
11
|
-
`
|
|
11
|
+
`pathString` | string
|
|
12
12
|
|
|
13
13
|
## Example
|
|
14
14
|
|
|
15
15
|
```typescript
|
|
16
|
-
import type {
|
|
16
|
+
import type { ProductClassLiteResource } from '@digital8/lighting-illusions-ts-sdk'
|
|
17
17
|
|
|
18
18
|
// TODO: Update the object below with actual values
|
|
19
19
|
const example = {
|
|
20
20
|
"id": null,
|
|
21
21
|
"name": null,
|
|
22
|
-
"
|
|
23
|
-
} satisfies
|
|
22
|
+
"pathString": null,
|
|
23
|
+
} satisfies ProductClassLiteResource
|
|
24
24
|
|
|
25
25
|
console.log(example)
|
|
26
26
|
|
|
@@ -29,7 +29,7 @@ const exampleJSON: string = JSON.stringify(example)
|
|
|
29
29
|
console.log(exampleJSON)
|
|
30
30
|
|
|
31
31
|
// Parse the JSON string back to an object
|
|
32
|
-
const exampleParsed = JSON.parse(exampleJSON) as
|
|
32
|
+
const exampleParsed = JSON.parse(exampleJSON) as ProductClassLiteResource
|
|
33
33
|
console.log(exampleParsed)
|
|
34
34
|
```
|
|
35
35
|
|
package/docs/{NetsuiteSyncLiteResourceArrayResponse.md → ProductClassLiteResourceArrayResponse.md}
RENAMED
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
|
|
2
|
-
#
|
|
2
|
+
# ProductClassLiteResourceArrayResponse
|
|
3
3
|
|
|
4
4
|
|
|
5
5
|
## Properties
|
|
6
6
|
|
|
7
7
|
Name | Type
|
|
8
8
|
------------ | -------------
|
|
9
|
-
`data` | [Array<
|
|
9
|
+
`data` | [Array<ProductClassLiteResource>](ProductClassLiteResource.md)
|
|
10
10
|
|
|
11
11
|
## Example
|
|
12
12
|
|
|
13
13
|
```typescript
|
|
14
|
-
import type {
|
|
14
|
+
import type { ProductClassLiteResourceArrayResponse } from '@digital8/lighting-illusions-ts-sdk'
|
|
15
15
|
|
|
16
16
|
// TODO: Update the object below with actual values
|
|
17
17
|
const example = {
|
|
18
18
|
"data": null,
|
|
19
|
-
} satisfies
|
|
19
|
+
} satisfies ProductClassLiteResourceArrayResponse
|
|
20
20
|
|
|
21
21
|
console.log(example)
|
|
22
22
|
|
|
@@ -25,7 +25,7 @@ const exampleJSON: string = JSON.stringify(example)
|
|
|
25
25
|
console.log(exampleJSON)
|
|
26
26
|
|
|
27
27
|
// Parse the JSON string back to an object
|
|
28
|
-
const exampleParsed = JSON.parse(exampleJSON) as
|
|
28
|
+
const exampleParsed = JSON.parse(exampleJSON) as ProductClassLiteResourceArrayResponse
|
|
29
29
|
console.log(exampleParsed)
|
|
30
30
|
```
|
|
31
31
|
|
|
@@ -16,6 +16,7 @@ Name | Type
|
|
|
16
16
|
`source` | Array<string>
|
|
17
17
|
`statusId` | Array<string>
|
|
18
18
|
`customerId` | Array<string>
|
|
19
|
+
`lineItemsLabelId` | Array<string>
|
|
19
20
|
|
|
20
21
|
## Example
|
|
21
22
|
|
|
@@ -34,6 +35,7 @@ const example = {
|
|
|
34
35
|
"source": null,
|
|
35
36
|
"statusId": null,
|
|
36
37
|
"customerId": null,
|
|
38
|
+
"lineItemsLabelId": null,
|
|
37
39
|
} satisfies SearchAllOrdersRequest
|
|
38
40
|
|
|
39
41
|
console.log(example)
|