@infosoftas/s4-orders-js-sdk 0.0.1-alpha2c → 0.0.1-alpha2c.3
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/.release-it.json +8 -5
- package/package.json +8 -6
- package/src/App.tsx +20 -3
- package/src/components/OrderForm/OrderForm.tsx +5 -0
- package/src/types/general.ts +1 -0
- package/src/utils/order.helper.ts +7 -0
- package/__azurite_db_blob__.json +0 -1
- package/__azurite_db_blob_extent__.json +0 -1
- package/__azurite_db_queue__.json +0 -1
- package/__azurite_db_queue_extent__.json +0 -1
- package/__azurite_db_table__.json +0 -1
- package/__blobstorage__/6814b4e2-aa0c-49d2-9ea5-e8893c0aa38d +0 -43
package/.release-it.json
CHANGED
package/package.json
CHANGED
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@infosoftas/s4-orders-js-sdk",
|
|
3
|
-
"version": "0.0.1-alpha2c",
|
|
3
|
+
"version": "0.0.1-alpha2c.3",
|
|
4
4
|
"scripts": {
|
|
5
|
-
"build": "rimraf lib && webpack --env mode=production"
|
|
5
|
+
"build": "rimraf lib && webpack --env mode=production",
|
|
6
|
+
"release": "release-it"
|
|
6
7
|
},
|
|
7
8
|
"eslintConfig": {
|
|
8
9
|
"extends": [
|
|
@@ -23,20 +24,21 @@
|
|
|
23
24
|
"@types/react": "^18.0.17",
|
|
24
25
|
"@types/react-dom": "^18.0.6",
|
|
25
26
|
"babel-loader": "^8.3.0",
|
|
26
|
-
"css-loader": "^7.1.2",
|
|
27
27
|
"copy-webpack-plugin": "^12.0.2",
|
|
28
|
+
"css-loader": "^7.1.2",
|
|
28
29
|
"dotenv-webpack": "^8.1.0",
|
|
29
30
|
"mini-css-extract-plugin": "^2.9.1",
|
|
31
|
+
"release-it": "^17.10.0",
|
|
32
|
+
"rimraf": "^6.0.1",
|
|
30
33
|
"sass": "^1.79.2",
|
|
31
34
|
"sass-loader": "^16.0.1",
|
|
32
35
|
"style-loader": "^4.0.0",
|
|
33
36
|
"ts-loader": "^9.5.1",
|
|
34
37
|
"typescript": "^5.6.2",
|
|
35
38
|
"webpack": "^5.95.0",
|
|
36
|
-
"webpack-cli": "^5.1.4"
|
|
37
|
-
"rimraf": "^6.0.1"
|
|
39
|
+
"webpack-cli": "^5.1.4"
|
|
38
40
|
},
|
|
39
41
|
"publishConfig": {
|
|
40
|
-
"access": "
|
|
42
|
+
"access": "public"
|
|
41
43
|
}
|
|
42
44
|
}
|
package/src/App.tsx
CHANGED
|
@@ -13,7 +13,11 @@ import Loader from './components/Loader/Loader';
|
|
|
13
13
|
import MainIframe from './components/MainIframe/MainIframe';
|
|
14
14
|
import Alert from './components/Alert/Alert';
|
|
15
15
|
import { ConfigType, ErrorsMsg } from './types/general';
|
|
16
|
-
import {
|
|
16
|
+
import {
|
|
17
|
+
CompleteOrderParamsType,
|
|
18
|
+
OrderInfoType,
|
|
19
|
+
OrderFormInputsType,
|
|
20
|
+
} from './types/order';
|
|
17
21
|
import { orderComplete, orderDelete } from './api/OrdersApi';
|
|
18
22
|
import { prepareErrorMessage, prepareErrorsArrayMessage } from './utils/helper';
|
|
19
23
|
|
|
@@ -22,6 +26,7 @@ import ErrorBoundary from './ErrorBoundary';
|
|
|
22
26
|
import './App.scss';
|
|
23
27
|
|
|
24
28
|
const App: FC<ConfigType> = ({
|
|
29
|
+
submitStartCallback,
|
|
25
30
|
moduleTitle,
|
|
26
31
|
apiKey,
|
|
27
32
|
apiUrl,
|
|
@@ -45,7 +50,9 @@ const App: FC<ConfigType> = ({
|
|
|
45
50
|
backButtonText: 'Back',
|
|
46
51
|
verifyButtonText: 'Verify',
|
|
47
52
|
organizationNumberLabel: 'CVR',
|
|
53
|
+
paymentMethodLabel: '',
|
|
48
54
|
glnLabel: 'GLN',
|
|
55
|
+
orderDefaultValues: undefined,
|
|
49
56
|
},
|
|
50
57
|
}) => {
|
|
51
58
|
const [loading, setLoading] = useState<boolean>(false);
|
|
@@ -58,6 +65,9 @@ const App: FC<ConfigType> = ({
|
|
|
58
65
|
const [errorsMsg, setErrorsMsg] = useState<string[]>([]);
|
|
59
66
|
const [orderInfo, setOrderInfo] = useState<OrderInfoType | null>(null);
|
|
60
67
|
const [formType, setFormType] = useState(FormTypeEnum.ORDER);
|
|
68
|
+
const [orderFormValues, setOrderFormValues] = useState(
|
|
69
|
+
settings?.orderDefaultValues
|
|
70
|
+
);
|
|
61
71
|
|
|
62
72
|
useEffect(() => {
|
|
63
73
|
if (apiKey) {
|
|
@@ -190,6 +200,9 @@ const App: FC<ConfigType> = ({
|
|
|
190
200
|
setIsFailed(false);
|
|
191
201
|
setOrderId(data?.orderId || null);
|
|
192
202
|
setOrderInfo(data || null);
|
|
203
|
+
if (data) {
|
|
204
|
+
setOrderFormValues(data as unknown as OrderFormInputsType);
|
|
205
|
+
}
|
|
193
206
|
if (window === top) {
|
|
194
207
|
top.postMessage(
|
|
195
208
|
{
|
|
@@ -222,7 +235,10 @@ const App: FC<ConfigType> = ({
|
|
|
222
235
|
return;
|
|
223
236
|
}
|
|
224
237
|
|
|
225
|
-
|
|
238
|
+
setTimeout(() => {
|
|
239
|
+
window.location.href = url;
|
|
240
|
+
}, 300);
|
|
241
|
+
|
|
226
242
|
return;
|
|
227
243
|
}
|
|
228
244
|
|
|
@@ -288,6 +304,7 @@ const App: FC<ConfigType> = ({
|
|
|
288
304
|
formType !== FormTypeEnum.EHF && (
|
|
289
305
|
<OrderForm
|
|
290
306
|
callback={handleForm}
|
|
307
|
+
submitStartCallback={submitStartCallback}
|
|
291
308
|
templatePackageId={templatePackageId}
|
|
292
309
|
subscriberId={subscriberId}
|
|
293
310
|
userId={userId}
|
|
@@ -307,7 +324,7 @@ const App: FC<ConfigType> = ({
|
|
|
307
324
|
errorInvalidPhoneMsg={
|
|
308
325
|
settings?.errorInvalidPhoneMsg
|
|
309
326
|
}
|
|
310
|
-
defaultValues={
|
|
327
|
+
defaultValues={orderFormValues}
|
|
311
328
|
redirectUrl={redirectUrl}
|
|
312
329
|
showIframe={showIframe}
|
|
313
330
|
paymentMethodsOptions={
|
|
@@ -31,6 +31,7 @@ import './orderForm.scss';
|
|
|
31
31
|
|
|
32
32
|
type Props = {
|
|
33
33
|
callback: (url: string | null, orderInfo?: OrderInfoType | null) => void;
|
|
34
|
+
submitStartCallback?: (id: string) => void;
|
|
34
35
|
templatePackageId: string;
|
|
35
36
|
subscriberId?: string;
|
|
36
37
|
userId?: string;
|
|
@@ -70,6 +71,7 @@ const initialData = {
|
|
|
70
71
|
|
|
71
72
|
const OrderForm: FC<Props> = ({
|
|
72
73
|
callback,
|
|
74
|
+
submitStartCallback,
|
|
73
75
|
templatePackageId,
|
|
74
76
|
subscriberId,
|
|
75
77
|
userId,
|
|
@@ -143,6 +145,8 @@ const OrderForm: FC<Props> = ({
|
|
|
143
145
|
}
|
|
144
146
|
}
|
|
145
147
|
|
|
148
|
+
submitStartCallback?.(id as string);
|
|
149
|
+
|
|
146
150
|
if (id) {
|
|
147
151
|
const paymentMethod =
|
|
148
152
|
data.paymentMethod || PAYMENT_METHOD_DEFAULT;
|
|
@@ -183,6 +187,7 @@ const OrderForm: FC<Props> = ({
|
|
|
183
187
|
orderReference: data.orderReference || undefined,
|
|
184
188
|
});
|
|
185
189
|
callback(responseOrder.terminalRedirectUrl, {
|
|
190
|
+
...(data || {}),
|
|
186
191
|
orderId: responseOrder.id,
|
|
187
192
|
subscriberId: id,
|
|
188
193
|
paymentMethod: paymentMethod,
|
package/src/types/general.ts
CHANGED
|
@@ -29,6 +29,7 @@ export const prepareAgreementModel = ({
|
|
|
29
29
|
};
|
|
30
30
|
const existUrl = new URL(window.location.href);
|
|
31
31
|
const journey = existUrl.searchParams.get('journey');
|
|
32
|
+
const hashToken = existUrl.searchParams.get('hashToken');
|
|
32
33
|
const url = showIframe
|
|
33
34
|
? window.location.href.split('?')[0]
|
|
34
35
|
: redirectUrl || window.location.href;
|
|
@@ -37,6 +38,9 @@ export const prepareAgreementModel = ({
|
|
|
37
38
|
if (journey) {
|
|
38
39
|
cancelUrl.searchParams.append('journey', journey);
|
|
39
40
|
}
|
|
41
|
+
if (hashToken) {
|
|
42
|
+
cancelUrl.searchParams.append('hashToken', hashToken);
|
|
43
|
+
}
|
|
40
44
|
const confirmUrl = new URL(url);
|
|
41
45
|
confirmUrl.searchParams.append(
|
|
42
46
|
'action',
|
|
@@ -45,6 +49,9 @@ export const prepareAgreementModel = ({
|
|
|
45
49
|
if (journey) {
|
|
46
50
|
confirmUrl.searchParams.append('journey', journey);
|
|
47
51
|
}
|
|
52
|
+
if (hashToken) {
|
|
53
|
+
confirmUrl.searchParams.append('hashToken', hashToken);
|
|
54
|
+
}
|
|
48
55
|
|
|
49
56
|
if (paymentMethod === PaymentMethodEnum.SwedbankPay) {
|
|
50
57
|
model.swedbankPay = {
|
package/__azurite_db_blob__.json
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"filename":"C:\\Code\\repos\\s4-orders-js-sdk\\orders-module\\__azurite_db_blob__.json","collections":[{"name":"$SERVICES_COLLECTION$","data":[],"idIndex":null,"binaryIndices":{},"constraints":null,"uniqueNames":["accountName"],"transforms":{},"objType":"$SERVICES_COLLECTION$","dirty":false,"cachedIndex":null,"cachedBinaryIndex":null,"cachedData":null,"adaptiveBinaryIndices":true,"transactional":false,"cloneObjects":false,"cloneMethod":"parse-stringify","asyncListeners":false,"disableMeta":false,"disableChangesApi":true,"disableDeltaChangesApi":true,"autoupdate":false,"serializableIndices":true,"disableFreeze":true,"ttl":null,"maxId":0,"DynamicViews":[],"events":{"insert":[],"update":[],"pre-insert":[],"pre-update":[],"close":[],"flushbuffer":[],"error":[],"delete":[null],"warning":[null]},"changes":[],"dirtyIds":[]},{"name":"$CONTAINERS_COLLECTION$","data":[{"accountName":"devstoreaccount1","name":"azure-webjobs-secrets","properties":{"etag":"\"0x241ECCC639EC420\"","lastModified":"2024-12-05T13:29:00.197Z","leaseStatus":"unlocked","leaseState":"available","hasImmutabilityPolicy":false,"hasLegalHold":false},"meta":{"revision":0,"created":1733405340199,"version":0},"$loki":1},{"accountName":"devstoreaccount1","name":"azure-webjobs-hosts","properties":{"etag":"\"0x21BCE1F25F7DC40\"","lastModified":"2024-12-05T13:29:06.224Z","leaseStatus":"unlocked","leaseState":"available","hasImmutabilityPolicy":false,"hasLegalHold":false},"meta":{"revision":0,"created":1733405346225,"version":0},"$loki":2}],"idIndex":null,"binaryIndices":{"accountName":{"name":"accountName","dirty":false,"values":[1,0]},"name":{"name":"name","dirty":false,"values":[1,0]}},"constraints":null,"uniqueNames":[],"transforms":{},"objType":"$CONTAINERS_COLLECTION$","dirty":false,"cachedIndex":null,"cachedBinaryIndex":null,"cachedData":null,"adaptiveBinaryIndices":true,"transactional":false,"cloneObjects":false,"cloneMethod":"parse-stringify","asyncListeners":false,"disableMeta":false,"disableChangesApi":true,"disableDeltaChangesApi":true,"autoupdate":false,"serializableIndices":true,"disableFreeze":true,"ttl":null,"maxId":2,"DynamicViews":[],"events":{"insert":[],"update":[],"pre-insert":[],"pre-update":[],"close":[],"flushbuffer":[],"error":[],"delete":[null],"warning":[null]},"changes":[],"dirtyIds":[]},{"name":"$BLOBS_COLLECTION$","data":[{"deleted":false,"accountName":"devstoreaccount1","containerName":"azure-webjobs-secrets","name":"esbbach1-505371708/host.json","properties":{"creationTime":"2024-12-05T13:29:00.786Z","lastModified":"2024-12-05T13:29:00.786Z","etag":"\"0x1F3C1FE0A326700\"","contentLength":632,"contentType":"application/octet-stream","contentMD5":{"type":"Buffer","data":[105,188,18,11,16,253,127,42,77,4,114,189,122,185,129,100]},"blobType":"BlockBlob","leaseStatus":"unlocked","leaseState":"available","serverEncrypted":true,"accessTier":"Hot","accessTierInferred":true,"accessTierChangeTime":"2024-12-05T13:29:00.786Z"},"snapshot":"","isCommitted":true,"persistency":{"id":"6814b4e2-aa0c-49d2-9ea5-e8893c0aa38d","offset":474,"count":632},"meta":{"revision":0,"created":1733405340791,"version":0},"$loki":2},{"deleted":false,"metadata":{"FunctionInstance":"000000000000000000000000ECDCC010"},"accountName":"devstoreaccount1","containerName":"azure-webjobs-hosts","name":"locks/esbbach1-505371708/host","properties":{"creationTime":"2024-12-05T13:29:27.810Z","lastModified":"2024-12-05T13:29:27.935Z","etag":"\"0x24F90CC989B1D40\"","contentLength":0,"contentType":"application/octet-stream","contentMD5":{"type":"Buffer","data":[212,29,140,217,143,0,178,4,233,128,9,152,236,248,66,126]},"blobType":"BlockBlob","leaseStatus":"locked","leaseState":"leased","serverEncrypted":true,"accessTier":"Hot","accessTierInferred":true,"accessTierChangeTime":"2024-12-05T13:29:27.810Z","leaseDuration":"fixed"},"snapshot":"","isCommitted":true,"persistency":{"id":"6814b4e2-aa0c-49d2-9ea5-e8893c0aa38d","offset":1106,"count":0},"meta":{"revision":9,"created":1733405367813,"version":0,"updated":1733405451971},"$loki":3,"leaseId":"000000000000000000000000ECDCC010","leaseExpireTime":"2024-12-05T13:31:06.970Z","leaseDurationSeconds":15}],"idIndex":[2,3],"binaryIndices":{"accountName":{"name":"accountName","dirty":false,"values":[1,0]},"containerName":{"name":"containerName","dirty":false,"values":[1,0]},"name":{"name":"name","dirty":false,"values":[0,1]},"snapshot":{"name":"snapshot","dirty":false,"values":[1,0]}},"constraints":null,"uniqueNames":[],"transforms":{},"objType":"$BLOBS_COLLECTION$","dirty":false,"cachedIndex":null,"cachedBinaryIndex":null,"cachedData":null,"adaptiveBinaryIndices":true,"transactional":false,"cloneObjects":false,"cloneMethod":"parse-stringify","asyncListeners":false,"disableMeta":false,"disableChangesApi":true,"disableDeltaChangesApi":true,"autoupdate":false,"serializableIndices":true,"disableFreeze":true,"ttl":null,"maxId":3,"DynamicViews":[],"events":{"insert":[],"update":[],"pre-insert":[],"pre-update":[],"close":[],"flushbuffer":[],"error":[],"delete":[null],"warning":[null]},"changes":[],"dirtyIds":[]},{"name":"$BLOCKS_COLLECTION$","data":[],"idIndex":null,"binaryIndices":{"accountName":{"name":"accountName","dirty":false,"values":[]},"containerName":{"name":"containerName","dirty":false,"values":[]},"blobName":{"name":"blobName","dirty":false,"values":[]},"name":{"name":"name","dirty":false,"values":[]}},"constraints":null,"uniqueNames":[],"transforms":{},"objType":"$BLOCKS_COLLECTION$","dirty":false,"cachedIndex":null,"cachedBinaryIndex":null,"cachedData":null,"adaptiveBinaryIndices":true,"transactional":false,"cloneObjects":false,"cloneMethod":"parse-stringify","asyncListeners":false,"disableMeta":false,"disableChangesApi":true,"disableDeltaChangesApi":true,"autoupdate":false,"serializableIndices":true,"disableFreeze":true,"ttl":null,"maxId":0,"DynamicViews":[],"events":{"insert":[],"update":[],"pre-insert":[],"pre-update":[],"close":[],"flushbuffer":[],"error":[],"delete":[null],"warning":[null]},"changes":[],"dirtyIds":[]}],"databaseVersion":1.5,"engineVersion":1.5,"autosave":true,"autosaveInterval":5000,"autosaveHandle":null,"throttledSaves":true,"options":{"persistenceMethod":"fs","autosave":true,"autosaveInterval":5000,"serializationMethod":"normal","destructureDelimiter":"$<\n"},"persistenceMethod":"fs","persistenceAdapter":null,"verbose":false,"events":{"init":[null],"loaded":[],"flushChanges":[],"close":[],"changes":[],"warning":[]},"ENV":"NODEJS"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"filename":"C:\\Code\\repos\\s4-orders-js-sdk\\orders-module\\__azurite_db_blob_extent__.json","collections":[{"name":"$EXTENTS_COLLECTION$","data":[{"id":"6814b4e2-aa0c-49d2-9ea5-e8893c0aa38d","locationId":"Default","path":"6814b4e2-aa0c-49d2-9ea5-e8893c0aa38d","size":1106,"lastModifiedInMS":1733405340529,"meta":{"revision":2,"created":1733405340529,"version":0,"updated":1733405367812},"$loki":1,"LastModifyInMS":1733405367812}],"idIndex":[1],"binaryIndices":{"id":{"name":"id","dirty":false,"values":[0]}},"constraints":null,"uniqueNames":[],"transforms":{},"objType":"$EXTENTS_COLLECTION$","dirty":false,"cachedIndex":null,"cachedBinaryIndex":null,"cachedData":null,"adaptiveBinaryIndices":true,"transactional":false,"cloneObjects":false,"cloneMethod":"parse-stringify","asyncListeners":false,"disableMeta":false,"disableChangesApi":true,"disableDeltaChangesApi":true,"autoupdate":false,"serializableIndices":true,"disableFreeze":true,"ttl":null,"maxId":1,"DynamicViews":[],"events":{"insert":[],"update":[],"pre-insert":[],"pre-update":[],"close":[],"flushbuffer":[],"error":[],"delete":[null],"warning":[null]},"changes":[],"dirtyIds":[]}],"databaseVersion":1.5,"engineVersion":1.5,"autosave":true,"autosaveInterval":5000,"autosaveHandle":null,"throttledSaves":true,"options":{"persistenceMethod":"fs","autosave":true,"autosaveInterval":5000,"serializationMethod":"normal","destructureDelimiter":"$<\n"},"persistenceMethod":"fs","persistenceAdapter":null,"verbose":false,"events":{"init":[null],"loaded":[],"flushChanges":[],"close":[],"changes":[],"warning":[]},"ENV":"NODEJS"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"filename":"C:\\Code\\repos\\s4-orders-js-sdk\\orders-module\\__azurite_db_queue__.json","collections":[{"name":"$SERVICES_COLLECTION$","data":[],"idIndex":null,"binaryIndices":{},"constraints":null,"uniqueNames":["accountName"],"transforms":{},"objType":"$SERVICES_COLLECTION$","dirty":false,"cachedIndex":null,"cachedBinaryIndex":null,"cachedData":null,"adaptiveBinaryIndices":true,"transactional":false,"cloneObjects":false,"cloneMethod":"parse-stringify","asyncListeners":false,"disableMeta":false,"disableChangesApi":true,"disableDeltaChangesApi":true,"autoupdate":false,"serializableIndices":true,"disableFreeze":true,"ttl":null,"maxId":0,"DynamicViews":[],"events":{"insert":[],"update":[],"pre-insert":[],"pre-update":[],"close":[],"flushbuffer":[],"error":[],"delete":[null],"warning":[null]},"changes":[],"dirtyIds":[]},{"name":"$QUEUES_COLLECTION$","data":[],"idIndex":null,"binaryIndices":{"accountName":{"name":"accountName","dirty":false,"values":[]},"name":{"name":"name","dirty":false,"values":[]}},"constraints":null,"uniqueNames":[],"transforms":{},"objType":"$QUEUES_COLLECTION$","dirty":false,"cachedIndex":null,"cachedBinaryIndex":null,"cachedData":null,"adaptiveBinaryIndices":true,"transactional":false,"cloneObjects":false,"cloneMethod":"parse-stringify","asyncListeners":false,"disableMeta":false,"disableChangesApi":true,"disableDeltaChangesApi":true,"autoupdate":false,"serializableIndices":true,"disableFreeze":true,"ttl":null,"maxId":0,"DynamicViews":[],"events":{"insert":[],"update":[],"pre-insert":[],"pre-update":[],"close":[],"flushbuffer":[],"error":[],"delete":[null],"warning":[null]},"changes":[],"dirtyIds":[]},{"name":"$MESSAGES_COLLECTION$","data":[],"idIndex":null,"binaryIndices":{"accountName":{"name":"accountName","dirty":false,"values":[]},"queueName":{"name":"queueName","dirty":false,"values":[]},"messageId":{"name":"messageId","dirty":false,"values":[]},"visibleTime":{"name":"visibleTime","dirty":false,"values":[]}},"constraints":null,"uniqueNames":[],"transforms":{},"objType":"$MESSAGES_COLLECTION$","dirty":false,"cachedIndex":null,"cachedBinaryIndex":null,"cachedData":null,"adaptiveBinaryIndices":true,"transactional":false,"cloneObjects":false,"cloneMethod":"parse-stringify","asyncListeners":false,"disableMeta":false,"disableChangesApi":true,"disableDeltaChangesApi":true,"autoupdate":false,"serializableIndices":true,"disableFreeze":true,"ttl":null,"maxId":0,"DynamicViews":[],"events":{"insert":[],"update":[],"pre-insert":[],"pre-update":[],"close":[],"flushbuffer":[],"error":[],"delete":[null],"warning":[null]},"changes":[],"dirtyIds":[]}],"databaseVersion":1.5,"engineVersion":1.5,"autosave":true,"autosaveInterval":5000,"autosaveHandle":null,"throttledSaves":true,"options":{"persistenceMethod":"fs","autosave":true,"autosaveInterval":5000,"serializationMethod":"normal","destructureDelimiter":"$<\n"},"persistenceMethod":"fs","persistenceAdapter":null,"verbose":false,"events":{"init":[null],"loaded":[],"flushChanges":[],"close":[],"changes":[],"warning":[]},"ENV":"NODEJS"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"filename":"C:\\Code\\repos\\s4-orders-js-sdk\\orders-module\\__azurite_db_queue_extent__.json","collections":[{"name":"$EXTENTS_COLLECTION$","data":[],"idIndex":null,"binaryIndices":{"id":{"name":"id","dirty":false,"values":[]}},"constraints":null,"uniqueNames":[],"transforms":{},"objType":"$EXTENTS_COLLECTION$","dirty":false,"cachedIndex":null,"cachedBinaryIndex":null,"cachedData":null,"adaptiveBinaryIndices":true,"transactional":false,"cloneObjects":false,"cloneMethod":"parse-stringify","asyncListeners":false,"disableMeta":false,"disableChangesApi":true,"disableDeltaChangesApi":true,"autoupdate":false,"serializableIndices":true,"disableFreeze":true,"ttl":null,"maxId":0,"DynamicViews":[],"events":{"insert":[],"update":[],"pre-insert":[],"pre-update":[],"close":[],"flushbuffer":[],"error":[],"delete":[null],"warning":[null]},"changes":[],"dirtyIds":[]}],"databaseVersion":1.5,"engineVersion":1.5,"autosave":true,"autosaveInterval":5000,"autosaveHandle":null,"throttledSaves":true,"options":{"persistenceMethod":"fs","autosave":true,"autosaveInterval":5000,"serializationMethod":"normal","destructureDelimiter":"$<\n"},"persistenceMethod":"fs","persistenceAdapter":null,"verbose":false,"events":{"init":[null],"loaded":[],"flushChanges":[],"close":[],"changes":[],"warning":[]},"ENV":"NODEJS"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"filename":"C:\\Code\\repos\\s4-orders-js-sdk\\orders-module\\__azurite_db_table__.json","collections":[{"name":"$TABLES_COLLECTION$","data":[],"idIndex":null,"binaryIndices":{"account":{"name":"account","dirty":false,"values":[]},"table":{"name":"table","dirty":false,"values":[]}},"constraints":null,"uniqueNames":[],"transforms":{},"objType":"$TABLES_COLLECTION$","dirty":false,"cachedIndex":null,"cachedBinaryIndex":null,"cachedData":null,"adaptiveBinaryIndices":true,"transactional":false,"cloneObjects":false,"cloneMethod":"parse-stringify","asyncListeners":false,"disableMeta":false,"disableChangesApi":true,"disableDeltaChangesApi":true,"autoupdate":false,"serializableIndices":true,"disableFreeze":true,"ttl":null,"maxId":0,"DynamicViews":[],"events":{"insert":[],"update":[],"pre-insert":[],"pre-update":[],"close":[],"flushbuffer":[],"error":[],"delete":[null],"warning":[null]},"changes":[],"dirtyIds":[]},{"name":"$SERVICES_COLLECTION$","data":[],"idIndex":null,"binaryIndices":{},"constraints":null,"uniqueNames":["accountName"],"transforms":{},"objType":"$SERVICES_COLLECTION$","dirty":false,"cachedIndex":null,"cachedBinaryIndex":null,"cachedData":null,"adaptiveBinaryIndices":true,"transactional":false,"cloneObjects":false,"cloneMethod":"parse-stringify","asyncListeners":false,"disableMeta":false,"disableChangesApi":true,"disableDeltaChangesApi":true,"autoupdate":false,"serializableIndices":true,"disableFreeze":true,"ttl":null,"maxId":0,"DynamicViews":[],"events":{"insert":[],"update":[],"pre-insert":[],"pre-update":[],"close":[],"flushbuffer":[],"error":[],"delete":[null],"warning":[null]},"changes":[],"dirtyIds":[]}],"databaseVersion":1.5,"engineVersion":1.5,"autosave":true,"autosaveInterval":5000,"autosaveHandle":null,"throttledSaves":true,"options":{"persistenceMethod":"fs","autosave":true,"autosaveInterval":5000,"serializationMethod":"normal","destructureDelimiter":"$<\n"},"persistenceMethod":"fs","persistenceAdapter":null,"verbose":false,"events":{"init":[null],"loaded":[],"flushChanges":[],"close":[],"changes":[],"warning":[]},"ENV":"NODEJS"}
|
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"masterKey": {
|
|
3
|
-
"name": "master",
|
|
4
|
-
"value": "7wseiRzKpd7oQ1yO5r--CLVrm5sMbjHltVxtApzUCDoGAzFuC9p3Og==",
|
|
5
|
-
"encrypted": false
|
|
6
|
-
},
|
|
7
|
-
"functionKeys": [
|
|
8
|
-
{
|
|
9
|
-
"name": "default",
|
|
10
|
-
"value": "lvuTAIZSep4sDwZXlWqQklWBsEVhwCKbC3msSvs4C-TZAzFu_mt4Yg==",
|
|
11
|
-
"encrypted": false
|
|
12
|
-
}
|
|
13
|
-
],
|
|
14
|
-
"systemKeys": [],
|
|
15
|
-
"hostName": "localhost:7161",
|
|
16
|
-
"instanceId": "000000000000000000000000ECDCC010",
|
|
17
|
-
"source": "runtime",
|
|
18
|
-
"decryptionKeyId": ""
|
|
19
|
-
}{
|
|
20
|
-
"masterKey": {
|
|
21
|
-
"name": "master",
|
|
22
|
-
"value": "7wseiRzKpd7oQ1yO5r--CLVrm5sMbjHltVxtApzUCDoGAzFuC9p3Og==",
|
|
23
|
-
"encrypted": false
|
|
24
|
-
},
|
|
25
|
-
"functionKeys": [
|
|
26
|
-
{
|
|
27
|
-
"name": "default",
|
|
28
|
-
"value": "lvuTAIZSep4sDwZXlWqQklWBsEVhwCKbC3msSvs4C-TZAzFu_mt4Yg==",
|
|
29
|
-
"encrypted": false
|
|
30
|
-
}
|
|
31
|
-
],
|
|
32
|
-
"systemKeys": [
|
|
33
|
-
{
|
|
34
|
-
"name": "eventgrid_extension",
|
|
35
|
-
"value": "daOhefCvoXVARuY2Ho-3bfGYK21hNkbpzVVio4deylC6AzFu4jvTMA==",
|
|
36
|
-
"encrypted": false
|
|
37
|
-
}
|
|
38
|
-
],
|
|
39
|
-
"hostName": "localhost:7161",
|
|
40
|
-
"instanceId": "000000000000000000000000ECDCC010",
|
|
41
|
-
"source": "runtime",
|
|
42
|
-
"decryptionKeyId": ""
|
|
43
|
-
}
|